Home
last modified time | relevance | path

Searched refs:MovePos (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp405 Instruction *MovePos = ToBB.getFirstNonPHIOrDbg(); in moveInstructionsToTheBeginning() local
410 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheBeginning()
411 I.moveBefore(MovePos); in moveInstructionsToTheBeginning()
419 Instruction *MovePos = ToBB.getTerminator(); in moveInstructionsToTheEnd() local
422 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheEnd()
423 I.moveBefore(MovePos); in moveInstructionsToTheEnd()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DBasicBlock.cpp133 void BasicBlock::moveBefore(BasicBlock *MovePos) { in moveBefore() argument
134 MovePos->getParent()->getBasicBlockList().splice( in moveBefore()
135 MovePos->getIterator(), getParent()->getBasicBlockList(), getIterator()); in moveBefore()
138 void BasicBlock::moveAfter(BasicBlock *MovePos) { in moveAfter() argument
139 MovePos->getParent()->getBasicBlockList().splice( in moveAfter()
140 ++MovePos->getIterator(), getParent()->getBasicBlockList(), in moveAfter()
H A DInstruction.cpp97 void Instruction::moveBefore(Instruction *MovePos) { in moveBefore() argument
98 moveBefore(*MovePos->getParent(), MovePos->getIterator()); in moveBefore()
101 void Instruction::moveAfter(Instruction *MovePos) { in moveAfter() argument
102 moveBefore(*MovePos->getParent(), ++MovePos->getIterator()); in moveAfter()
H A DCore.cpp2742 void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) { in LLVMMoveBasicBlockBefore() argument
2743 unwrap(BB)->moveBefore(unwrap(MovePos)); in LLVMMoveBasicBlockBefore()
2746 void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) { in LLVMMoveBasicBlockAfter() argument
2747 unwrap(BB)->moveAfter(unwrap(MovePos)); in LLVMMoveBasicBlockAfter()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DBasicBlock.h227 void moveBefore(BasicBlock *MovePos);
231 void moveAfter(BasicBlock *MovePos);
H A DInstruction.h137 void moveBefore(Instruction *MovePos);
146 void moveAfter(Instruction *MovePos);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineInstr.cpp153 void MachineInstr::moveBefore(MachineInstr *MovePos) { in moveBefore() argument
154 MovePos->getParent()->splice(MovePos, getParent(), getIterator()); in moveBefore()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/
H A DCore.h3078 void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos);
3085 void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineInstr.h290 void moveBefore(MachineInstr *MovePos);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVPlan.h689 void moveAfter(VPRecipeBase *MovePos);