Searched refs:MovePos (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp132 /// insert it into the function that MovePos lives in, right before MovePos.
133 void BasicBlock::moveBefore(BasicBlock *MovePos) { argument
134 MovePos->getParent()->getBasicBlockList().splice(
135 MovePos->getIterator(), getParent()->getBasicBlockList(), getIterator());
139 /// insert it into the function that MovePos lives in, right after MovePos.
140 void BasicBlock::moveAfter(BasicBlock *MovePos) { argument
141 MovePos->getParent()->getBasicBlockList().splice(
142 ++MovePos
[all...]
H A DInstruction.cpp98 /// basic block that MovePos lives in, right before MovePos.
99 void Instruction::moveBefore(Instruction *MovePos) { argument
100 moveBefore(*MovePos->getParent(), MovePos->getIterator());
103 void Instruction::moveAfter(Instruction *MovePos) { argument
104 moveBefore(*MovePos->getParent(), ++MovePos->getIterator());
H A DCore.cpp2692 void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) {
2693 unwrap(BB)->moveBefore(unwrap(MovePos));
2696 void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) {
2697 unwrap(BB)->moveAfter(unwrap(MovePos));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp408 Instruction *MovePos = ToBB.getFirstNonPHIOrDbg();
413 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI))
414 I.moveBefore(MovePos);
422 Instruction *MovePos = ToBB.getTerminator();
425 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI))
426 I.moveBefore(MovePos);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DBasicBlock.h219 /// the function that \p MovePos lives in, right before \p MovePos.
220 void moveBefore(BasicBlock *MovePos);
223 /// right after \p MovePos in the function \p MovePos lives in.
224 void moveAfter(BasicBlock *MovePos);
H A DInstruction.h136 /// the basic block that MovePos lives in, right before MovePos.
137 void moveBefore(Instruction *MovePos);
145 /// the basic block that MovePos lives in, right after MovePos.
146 void moveAfter(Instruction *MovePos);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h3026 void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos);
3033 void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h661 /// the VPBasicBlock that MovePos lives in, right after MovePos.
662 void moveAfter(VPRecipeBase *MovePos);

Completed in 169 milliseconds