Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp103 WCAnd->moveBefore(WidenableBR); in widenWidenableBranch()
122 WCAnd->moveBefore(WidenableBR); in setWidenableBranchCond()
H A DCodeMoverUtils.cpp420 I.moveBefore(MovePos); in moveInstructionsToTheBeginning()
432 I.moveBefore(MovePos); in moveInstructionsToTheEnd()
H A DLoopRotationUtils.cpp431 Inst->moveBefore(LoopEntryBranch); in rotateLoop()
637 ExitSplit->moveBefore(Exit); in rotateLoop()
H A DLoopUnrollAndJam.cpp177 I->moveBefore(InsertLoc); in moveHeaderPhiOperandsToForeBlocks()
479 Phi->moveBefore(insertPoint); in UnrollAndJamLoop()
H A DCallPromotionUtils.cpp348 OrigInst->moveBefore(ElseTerm); in versionCallSite()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp301 DivInst->moveBefore(PredBB->getTerminator()); in optimizeDivRem()
304 RemInst->moveBefore(PredBB->getTerminator()); in optimizeDivRem()
370 DivInst->moveBefore(RemInst); in optimizeDivRem()
H A DLoopInterchange.cpp1384 I.moveBefore(OuterLoopHeader->getTerminator()); in transform()
1505 P->moveBefore(InnerLatch->getFirstNonPHI()); in moveLCSSAPhis()
1510 P->moveBefore(InnerExit->getFirstNonPHI()); in moveLCSSAPhis()
1676 PHI->moveBefore(InnerLoopHeader->getFirstNonPHI()); in adjustLoopBranches()
1681 PHI->moveBefore(OuterLoopHeader->getFirstNonPHI()); in adjustLoopBranches()
H A DSpeculativeExecution.cpp319 Current->moveBefore(ToBlock.getTerminator()); in considerHoistingFromTo()
H A DSink.cpp171 Inst->moveBefore(&*SuccToSinkTo->getFirstInsertionPt()); in SinkInstruction()
H A DMemCpyOptimizer.cpp666 I->moveBefore(P); in moveUp()
1081 GEP->moveBefore(C); in performCallSlotOptzn()
1135 SkippedLifetimeStart->moveBefore(C); in performCallSlotOptzn()
1136 MSSAU->moveBefore(MSSA->getMemoryAccess(SkippedLifetimeStart), in performCallSlotOptzn()
H A DLoopFuse.cpp1479 I->moveBefore(FC0.Preheader->getTerminator()); in movePreheaderInsts()
1484 I->moveBefore(&*FC1.ExitBlock->getFirstInsertionPt()); in movePreheaderInsts()
1668 PHI->moveBefore(&*FC0.Header->getFirstInsertionPt()); in performFusion()
1950 PHI->moveBefore(&*FC0.Header->getFirstInsertionPt()); in fuseGuardedLoops()
H A DLoopSink.cpp253 I.moveBefore(&*MoveBB->getFirstInsertionPt()); in sinkInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXAllocaHoisting.cpp49 allocaInst->moveBefore(firstTerminatorInst); in runOnFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp187 SinkCandidate->moveBefore(*SinkTo, SinkTo->getFirstNonPhi()); in sinkScalarOperands()
275 ToMove.moveBefore(*Then2, Then2->getFirstNonPhi()); in mergeReplicateRegionsIntoSuccessors()
298 Phi1ToMove.moveBefore(*Merge2, Merge2->begin()); in mergeReplicateRegionsIntoSuccessors()
328 R.moveBefore(*PredVPBB, PredVPBB->end()); in mergeBlocksIntoPredecessors()
/openbsd-src/gnu/llvm/llvm/examples/IRTransforms/
H A DSimplifyCFG.cpp288 I.moveBefore(Pred->getTerminator()); in mergeIntoSinglePredecessor_v1()
339 I.moveBefore(Pred->getTerminator()); in mergeIntoSinglePredecessor_v2()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DInstrumentation.cpp31 I->moveBefore(&*IP); in moveBeforeInsertPoint()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTypePromotion.cpp449 I->moveBefore(InsertPt); in ExtendSources()
547 Trunc->moveBefore(Call); in TruncateSinks()
558 Trunc->moveBefore(Switch); in TruncateSinks()
578 Trunc->moveBefore(I); in TruncateSinks()
H A DSelectOptimize.cpp441 DI->moveBefore(&*EndBlock->getFirstInsertionPt()); in convertProfitableSIGroups()
454 TrueInst->moveBefore(TrueBranch); in convertProfitableSIGroups()
462 FalseInst->moveBefore(FalseBranch); in convertProfitableSIGroups()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DInstruction.cpp108 void Instruction::moveBefore(Instruction *MovePos) { in moveBefore() function in Instruction
109 moveBefore(*MovePos->getParent(), MovePos->getIterator()); in moveBefore()
113 moveBefore(*MovePos->getParent(), ++MovePos->getIterator()); in moveAfter()
116 void Instruction::moveBefore(BasicBlock &BB, in moveBefore() function in Instruction
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstruction.h138 void moveBefore(Instruction *MovePos);
143 void moveBefore(BasicBlock &BB, SymbolTableList<Instruction>::iterator I);
H A DBasicBlock.h245 void moveBefore(BasicBlock *MovePos);
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemorySSAUpdater.h128 void moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where);
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMBlockPlacement.cpp258 BB->moveBefore(Before); in moveBasicBlock()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp100 ReplInst->moveBefore(User); in runLowerConstExpr()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp157 MostEncompassingPTrue->moveBefore(BB, BB.getFirstInsertionPt()); in coalescePTrueIntrinsicCalls()

1234