Home
last modified time | relevance | path

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

1234

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DGuardUtils.cpp103 WCAnd->moveBefore(WidenableBR); in widenWidenableBranch()
122 WCAnd->moveBefore(WidenableBR); in setWidenableBranchCond()
DCodeMoverUtils.cpp411 I.moveBefore(MovePos); in moveInstructionsToTheBeginning()
423 I.moveBefore(MovePos); in moveInstructionsToTheEnd()
DLoopRotationUtils.cpp430 Inst->moveBefore(LoopEntryBranch); in rotateLoop()
636 ExitSplit->moveBefore(Exit); in rotateLoop()
DLoopUnrollAndJam.cpp186 I->moveBefore(InsertLoc); in moveHeaderPhiOperandsToForeBlocks()
486 Phi->moveBefore(insertPoint); in UnrollAndJamLoop()
DCallPromotionUtils.cpp348 OrigInst->moveBefore(ElseTerm); in versionCallSite()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp280 DivInst->moveBefore(PredBB->getTerminator()); in optimizeDivRem()
283 RemInst->moveBefore(PredBB->getTerminator()); in optimizeDivRem()
349 DivInst->moveBefore(RemInst); in optimizeDivRem()
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()
DSink.cpp175 Inst->moveBefore(&*SuccToSinkTo->getFirstInsertionPt()); in SinkInstruction()
DSpeculativeExecution.cpp319 Current->moveBefore(ToBlock.getTerminator()); in considerHoistingFromTo()
DLoopSink.cpp267 I.moveBefore(&*MoveBB->getFirstInsertionPt()); in sinkInstruction()
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-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
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-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXAllocaHoisting.cpp49 allocaInst->moveBefore(firstTerminatorInst); in runOnFunction()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
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
DBasicBlock.cpp133 void BasicBlock::moveBefore(BasicBlock *MovePos) { in moveBefore() function in BasicBlock
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
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()
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);
3073 void TypePromotionTransaction::moveBefore(Instruction *Inst, in moveBefore() function in TypePromotionTransaction
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()
[all …]
DSjLjEHPrepare.cpp356 LPI->moveBefore(&UnwindBlock->front()); in lowerAcrossUnwindEdges()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
DInstrumentation.cpp31 I->moveBefore(&*IP); in moveBeforeInsertPoint()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DInstruction.h137 void moveBefore(Instruction *MovePos);
142 void moveBefore(BasicBlock &BB, SymbolTableList<Instruction>::iterator I);
DBasicBlock.h227 void moveBefore(BasicBlock *MovePos);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DMemorySSAUpdater.h130 void moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DSVEIntrinsicOpts.cpp157 MostEncompassingPTrue->moveBefore(BB, BB.getFirstInsertionPt()); in coalescePTrueIntrinsicCalls()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMBlockPlacement.cpp191 BB->moveBefore(Before); in moveBasicBlock()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
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