Home
last modified time | relevance | path

Searched refs:moveBefore (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp103 WCAnd->moveBefore(WidenableBR); in widenWidenableBranch()
122 WCAnd->moveBefore(WidenableBR); in setWidenableBranchCond()
H A DCodeMoverUtils.cpp411 I.moveBefore(MovePos); in moveInstructionsToTheBeginning()
423 I.moveBefore(MovePos); in moveInstructionsToTheEnd()
H A DLoopRotationUtils.cpp430 Inst->moveBefore(LoopEntryBranch); in rotateLoop()
636 ExitSplit->moveBefore(Exit); in rotateLoop()
H A DLoopUnrollAndJam.cpp186 I->moveBefore(InsertLoc); in moveHeaderPhiOperandsToForeBlocks()
486 Phi->moveBefore(insertPoint); in UnrollAndJamLoop()
H A DCallPromotionUtils.cpp348 OrigInst->moveBefore(ElseTerm); in versionCallSite()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp145 SinkCandidate->moveBefore(*SinkTo, SinkTo->getFirstNonPhi()); in sinkScalarOperands()
226 ToMove.moveBefore(*Then2, Then2->getFirstNonPhi()); in mergeReplicateRegions()
251 Phi1ToMove.moveBefore(*Merge2, Merge2->begin()); in mergeReplicateRegions()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp280 DivInst->moveBefore(PredBB->getTerminator()); in optimizeDivRem()
283 RemInst->moveBefore(PredBB->getTerminator()); in optimizeDivRem()
349 DivInst->moveBefore(RemInst); in optimizeDivRem()
H A DLoopInterchange.cpp1368 InductionPHI->moveBefore(&InductionPHI->getParent()->front()); in transform()
1436 I.moveBefore(OuterLoopHeader->getTerminator()); in transform()
1554 P->moveBefore(InnerLatch->getFirstNonPHI()); in moveLCSSAPhis()
1559 P->moveBefore(InnerExit->getFirstNonPHI()); in moveLCSSAPhis()
1728 PHI->moveBefore(InnerLoopHeader->getFirstNonPHI()); in adjustLoopBranches()
1732 PHI->moveBefore(OuterLoopHeader->getFirstNonPHI()); in adjustLoopBranches()
H A DSpeculativeExecution.cpp319 Current->moveBefore(ToBlock.getTerminator()); in considerHoistingFromTo()
H A DSink.cpp175 Inst->moveBefore(&*SuccToSinkTo->getFirstInsertionPt()); in SinkInstruction()
H A DLoopSink.cpp267 I.moveBefore(&*MoveBB->getFirstInsertionPt()); in sinkInstruction()
H A DLICM.cpp806 HoistCommonSucc->moveBefore(TargetSucc); in getOrCreateHoistedBlock()
810 HoistTrueDest->moveBefore(HoistCommonSucc); in getOrCreateHoistedBlock()
814 HoistFalseDest->moveBefore(HoistCommonSucc); in getOrCreateHoistedBlock()
1564 I.moveBefore(&Dest); in moveInstructionBefore()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAllocaHoisting.cpp49 allocaInst->moveBefore(firstTerminatorInst); in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp97 void Instruction::moveBefore(Instruction *MovePos) { in moveBefore() function in Instruction
98 moveBefore(*MovePos->getParent(), MovePos->getIterator()); in moveBefore()
102 moveBefore(*MovePos->getParent(), ++MovePos->getIterator()); in moveAfter()
105 void Instruction::moveBefore(BasicBlock &BB, in moveBefore() function in Instruction
H A DBasicBlock.cpp133 void BasicBlock::moveBefore(BasicBlock *MovePos) { in moveBefore() function in BasicBlock
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp490 I->moveBefore(InsertPt); in ExtendSources()
582 Trunc->moveBefore(Call); in TruncateSinks()
593 Trunc->moveBefore(Switch); in TruncateSinks()
603 Trunc->moveBefore(I); in TruncateSinks()
H A DCodeGenPrepare.cpp1075 RelocatedBase->moveBefore(RI); in simplifyRelocatesOffABase()
2200 ExtVal->moveBefore(CI); in optimizeCallInst()
2674 Inst->moveBefore(Position); in insert()
2692 Inst->moveBefore(Before); in InstructionMoveBefore()
3011 void moveBefore(Instruction *Inst, Instruction *Before);
4426 TPT.moveBefore(ExtForOpnd, ExtOpnd); in promoteOperandForOther()
6824 TrueInst->moveBefore(TrueBranch); in optimizeSelectInst()
6834 FalseInst->moveBefore(FalseBranch); in optimizeSelectInst()
7757 UI->moveBefore(Branch); in optimizeBranch()
7770 UI->moveBefore(Branch); in optimizeBranch()
[all …]
H A DSjLjEHPrepare.cpp356 LPI->moveBefore(&UnwindBlock->front()); in lowerAcrossUnwindEdges()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp31 I->moveBefore(&*IP); in moveBeforeInsertPoint()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h137 void moveBefore(Instruction *MovePos);
142 void moveBefore(BasicBlock &BB, SymbolTableList<Instruction>::iterator I);
H A DBasicBlock.h227 void moveBefore(BasicBlock *MovePos);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSAUpdater.h130 void moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp157 MostEncompassingPTrue->moveBefore(BB, BB.getFirstInsertionPt()); in coalescePTrueIntrinsicCalls()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBlockPlacement.cpp191 BB->moveBefore(Before); in moveBasicBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp125 BBCurr->moveBefore(TargetBB, TargetBB.end()); in moveBBContents()
953 I->moveBefore(*OutputBB, OutputBB->end()); in replaceArgumentUses()
1174 Term->moveBefore(*ReturnBlock, ReturnBlock->end()); in createSwitchStatement()
1204 Term->moveBefore(*EndBB, EndBB->end()); in createSwitchStatement()

1234