Home
last modified time | relevance | path

Searched refs:getFirstInsertionPt (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp112 new StoreInst(&I, Slot, Handler->getFirstInsertionPt()); in DemoteRegToStack()
116 InsertPt = II->getNormalDest()->getFirstInsertionPt(); in DemoteRegToStack()
119 new StoreInst(CBI, Slot, Succ->getFirstInsertionPt()); in DemoteRegToStack()
H A DScalarEvolutionExpander.cpp163 IP = MustDominate->getParent()->getFirstInsertionPt(); in findInsertPointAfter()
201 .getFirstInsertionPt(); in GetOptimalInsertionPointForCastOf()
1086 Value *StepV = expand(Step, L->getHeader()->getFirstInsertionPt()); in getAddRecExprPHILiterally()
1205 StepV = expand(Step, L->getHeader()->getFirstInsertionPt()); in expandAddRecExprLiterally()
1528 InsertPt = L->getHeader()->getFirstInsertionPt(); in expand()
1535 InsertPt = L->getHeader()->getFirstInsertionPt(); in expand()
1683 IP = PN->getParent()->getFirstInsertionPt(); in replaceCongruentIVInc()
1790 L->getHeader()->getFirstInsertionPt()); in replaceCongruentIVs()
H A DMoveAutoInit.cpp206 Job.first->moveBefore(*Job.second, Job.second->getFirstInsertionPt()); in runMoveAutoInit()
H A DEntryExitInstrumenter.cpp137 insertCall(F, EntryFunc, F.begin()->getFirstInsertionPt(), DL); in runOnFunction()
H A DCodeExtractor.cpp1611 newFuncRoot->getFirstInsertionPt()); in emitFunctionBody()
1616 AI->moveBefore(*newFuncRoot, newFuncRoot->getFirstInsertionPt()); in emitFunctionBody()
1775 InsertPt = InvokeI->getNormalDest()->getFirstInsertionPt(); in emitFunctionBody()
1777 InsertPt = Phi->getParent()->getFirstInsertionPt(); in emitFunctionBody()
1865 output->getName() + ".loc", AllocaBlock->getFirstInsertionPt()); in emitReplacerCall()
1873 "structArg", AllocaBlock->getFirstInsertionPt()); in emitReplacerCall()
H A DCallPromotionUtils.cpp613 DirectBBIns->insertInto(&DirectBB, DirectBB.getFirstInsertionPt()); in promoteCallWithIfThenElse()
617 IndirectBBIns->insertInto(&IndirectBB, IndirectBB.getFirstInsertionPt()); in promoteCallWithIfThenElse()
H A DAssumeBundleBuilder.cpp434 Assume, &*F.getEntryBlock().getFirstInsertionPt()) || in dropRedundantKnowledge()
435 Assume == &*F.getEntryBlock().getFirstInsertionPt()) { in dropRedundantKnowledge()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSink.cpp168 if (BB->getFirstInsertionPt() == BB->end()) { in findBBsToSinkInto()
255 IC->insertBefore(N->getFirstInsertionPt()); in sinkInstruction()
285 I.moveBefore(MoveBB->getFirstInsertionPt()); in sinkInstruction()
H A DSink.cpp169 Inst->moveBefore(SuccToSinkTo->getFirstInsertionPt()); in SinkInstruction()
H A DDFAJumpThreading.cpp221 NewBlock->getFirstInsertionPt()); in unfold()
238 EndBlock->getFirstInsertionPt()); in unfold()
302 NewBlockT->getFirstInsertionPt()); in unfold()
305 NewBlockF->getFirstInsertionPt()); in unfold()
H A DRewriteStatepointsForGC.cpp1879 Builder.SetInsertPoint(UnwindBlock, UnwindBlock->getFirstInsertionPt()); in makeStatepointExplicitImpl()
1894 Builder.SetInsertPoint(NormalDest, NormalDest->getFirstInsertionPt()); in makeStatepointExplicitImpl()
2125 InsertClobbersAt(II->getNormalDest()->getFirstInsertionPt()); in relocationViaAlloca()
2126 InsertClobbersAt(II->getUnwindDest()->getFirstInsertionPt()); in relocationViaAlloca()
2247 Func, Values, "", II->getNormalDest()->getFirstInsertionPt())); in insertUseHolderAfter()
2249 Func, Values, "", II->getUnwindDest()->getFirstInsertionPt())); in insertUseHolderAfter()
2584 Invoke->getNormalDest()->getFirstInsertionPt(); in rematerializeLiveValues()
2586 Invoke->getUnwindDest()->getFirstInsertionPt(); in rematerializeLiveValues()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DSuspendCrossingInfo.cpp177 assert(CE->getParent()->getFirstInsertionPt() == CE->getIterator() && in SuspendCrossingInfo()
195 assert(CSI->getParent()->getFirstInsertionPt() == CSI->getIterator() && in SuspendCrossingInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMergeRegionExitTargets.cpp152 F->begin()->getFirstInsertionPt()); in runOnConvergenceRegionNoRecurse()
179 B2.SetInsertPoint(Exit->getFirstInsertionPt()); in runOnConvergenceRegionNoRecurse()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DBasicBlock.h330 LLVM_ABI const_iterator getFirstInsertionPt() const;
331 iterator getFirstInsertionPt() { in getFirstInsertionPt() function
333 ->getFirstInsertionPt() in getFirstInsertionPt()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp71 EntryBB->getFirstInsertionPt()); in createStackMemory()
211 ? InsertPosition(BB.getFirstInsertionPt()) in findOrCreateSource()
254 auto IP = BB.getFirstInsertionPt(); in newSource()
H A DIRMutator.cpp155 return make_range(BB.getFirstInsertionPt(), End); in getInsertionRange()
242 for (auto I = BB->getFirstInsertionPt(), E = Inst.getIterator(); I != E; in mutate()
685 make_range(BB.getFirstInsertionPt(), in mutate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp274 if (isa<PHINode>(Inst) && BB->getFirstInsertionPt() == BB->end()) in foldIntegerTypedPHI()
318 InsertPos = BB->getFirstInsertionPt(); in foldIntegerTypedPHI()
323 InsertNewInstBefore(CI, InsertBB->getFirstInsertionPt()); in foldIntegerTypedPHI()
1142 if (Pred->getFirstInsertionPt() == Pred->end()) in SliceUpIllegalIntegerPHI()
1376 auto InsertPt = BB->getFirstInsertionPt(); in simplifyUsingControlFlow()
1424 Builder.SetInsertPoint(&*BB, BB->getFirstInsertionPt()); in foldDependentIVs()
1461 PN.getParent()->getFirstInsertionPt() != PN.getParent()->end()) { in visitPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.cpp67 insertRVCall(DestBB->getFirstInsertionPt(), I); in insertAfterInvokes()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp101 BI = BB->getFirstInsertionPt(); in convertUsersOfConstantsToInstructions()
H A DIntrinsicInst.cpp893 auto *Call = CallInst::Create(Fn, "", BB.getFirstInsertionPt()); in CreateAnchor()
901 auto *Call = CallInst::Create(Fn, "", BB.getFirstInsertionPt()); in CreateEntry()
913 auto *Call = CallInst::Create(Fn, {}, {OB}, "", BB.getFirstInsertionPt()); in CreateLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp320 BasicBlock::iterator FirstInsertionPt = BB->getFirstInsertionPt(); in closeControlFlow()
326 FirstInsertionPt = SplitEdge(DefBB, BB, DT, LI)->getFirstInsertionPt(); in closeControlFlow()
H A DAMDGPUPromoteKernelArguments.cpp140 BasicBlock::iterator InsPt = BB.getFirstInsertionPt(); in getInsertPt()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp598 if (BB->getFirstInsertionPt() == BB->end()) in shouldInstrumentBlock()
782 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray()
834 BasicBlock::iterator IP = BB.getFirstInsertionPt(); in CreateGateBranch()
1038 BasicBlock::iterator IP = BB.getFirstInsertionPt(); in InjectCoverageAtBlock()
1194 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in createFunctionControlFlow()
H A DValueProfilePlugins.inc108 // `BasicBlock::getFirstInsertionPt`.
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp230 {Flag}, "", F.begin()->getFirstInsertionPt()); in runImpl()

1234