Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp417 Instruction *MovePos = ToBB.getFirstNonPHIOrDbg(); in moveInstructionsToTheBeginning() local
419 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheBeginning()
420 I.moveBefore(MovePos); in moveInstructionsToTheBeginning()
428 Instruction *MovePos = ToBB.getTerminator(); in moveInstructionsToTheEnd() local
431 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheEnd()
432 I.moveBefore(MovePos); in moveInstructionsToTheEnd()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DBasicBlock.cpp136 void BasicBlock::moveBefore(BasicBlock *MovePos) { in moveBefore() argument
137 MovePos->getParent()->splice(MovePos->getIterator(), getParent(), in moveBefore()
141 void BasicBlock::moveAfter(BasicBlock *MovePos) { in moveAfter() argument
142 MovePos->getParent()->splice(++MovePos->getIterator(), getParent(), in moveAfter()
H A DInstruction.cpp108 void Instruction::moveBefore(Instruction *MovePos) { in moveBefore() argument
109 moveBefore(*MovePos->getParent(), MovePos->getIterator()); in moveBefore()
112 void Instruction::moveAfter(Instruction *MovePos) { in moveAfter() argument
113 moveBefore(*MovePos->getParent(), ++MovePos->getIterator()); in moveAfter()
H A DCore.cpp2708 void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) { in LLVMMoveBasicBlockBefore() argument
2709 unwrap(BB)->moveBefore(unwrap(MovePos)); in LLVMMoveBasicBlockBefore()
2712 void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) { in LLVMMoveBasicBlockAfter() argument
2713 unwrap(BB)->moveAfter(unwrap(MovePos)); in LLVMMoveBasicBlockAfter()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DBasicBlock.h245 void moveBefore(BasicBlock *MovePos);
249 void moveAfter(BasicBlock *MovePos);
H A DInstruction.h138 void moveBefore(Instruction *MovePos);
147 void moveAfter(Instruction *MovePos);
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DMachineInstr.cpp139 void MachineInstr::moveBefore(MachineInstr *MovePos) { in moveBefore() argument
140 MovePos->getParent()->splice(MovePos, getParent(), getIterator()); in moveBefore()
/openbsd/gnu/llvm/llvm/include/llvm-c/
H A DCore.h3135 void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos);
3142 void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos);
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineInstr.h317 void moveBefore(MachineInstr *MovePos);
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlan.h703 void moveAfter(VPRecipeBase *MovePos);