Searched refs:MovePos (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | BasicBlock.cpp | 136 void BasicBlock::moveBefore(BasicBlock *MovePos) { in moveBefore() argument 137 MovePos->getParent()->getBasicBlockList().splice( in moveBefore() 138 MovePos->getIterator(), getParent()->getBasicBlockList(), getIterator()); in moveBefore() 141 void BasicBlock::moveAfter(BasicBlock *MovePos) { in moveAfter() argument 142 MovePos->getParent()->getBasicBlockList().splice( in moveAfter() 143 ++MovePos->getIterator(), getParent()->getBasicBlockList(), in moveAfter()
|
| H A D | Instruction.cpp | 96 void Instruction::moveBefore(Instruction *MovePos) { in moveBefore() argument 97 moveBefore(*MovePos->getParent(), MovePos->getIterator()); in moveBefore() 100 void Instruction::moveAfter(Instruction *MovePos) { in moveAfter() argument 101 moveBefore(*MovePos->getParent(), ++MovePos->getIterator()); in moveAfter()
|
| H A D | Core.cpp | 2730 void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) { in LLVMMoveBasicBlockBefore() argument 2731 unwrap(BB)->moveBefore(unwrap(MovePos)); in LLVMMoveBasicBlockBefore() 2734 void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) { in LLVMMoveBasicBlockAfter() argument 2735 unwrap(BB)->moveAfter(unwrap(MovePos)); in LLVMMoveBasicBlockAfter()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 415 Instruction *MovePos = ToBB.getFirstNonPHIOrDbg(); in moveInstructionsToTheBeginning() local 417 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheBeginning() 418 I.moveBefore(MovePos); in moveInstructionsToTheBeginning() 426 Instruction *MovePos = ToBB.getTerminator(); in moveInstructionsToTheEnd() local 429 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheEnd() 430 I.moveBefore(MovePos); in moveInstructionsToTheEnd()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | BasicBlock.h | 228 void moveBefore(BasicBlock *MovePos); 232 void moveAfter(BasicBlock *MovePos);
|
| H A D | Instruction.h | 134 void moveBefore(Instruction *MovePos); 143 void moveAfter(Instruction *MovePos);
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineInstr.cpp | 136 void MachineInstr::moveBefore(MachineInstr *MovePos) { in moveBefore() argument 137 MovePos->getParent()->splice(MovePos, getParent(), getIterator()); in moveBefore()
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | Core.h | 3130 void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos); 3137 void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos);
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstr.h | 292 void moveBefore(MachineInstr *MovePos);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.h | 698 void moveAfter(VPRecipeBase *MovePos);
|