Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DBasicBlock.h151 iterator getFirstInsertionPt();
152 const_iterator getFirstInsertionPt() const {
153 return const_cast<BasicBlock*>(this)->getFirstInsertionPt();
/external/llvm/lib/Transforms/ObjCARC/
DPtrState.cpp259 InsertReverseInsertPt(&*BB->getFirstInsertionPt()); in HandlePotentialUse()
271 InsertReverseInsertPt(&*BB->getFirstInsertionPt()); in HandlePotentialUse()
/external/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp249 CallInst *OldEnd = dyn_cast<CallInst>(Parent->getFirstInsertionPt()); in handleLoopCondition()
318 CallInst::Create(EndCf, popSaved(), "", &*BB->getFirstInsertionPt()); in closeControlFlow()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1505 Builder.SetInsertPoint(&*UnwindBlock->getFirstInsertionPt()); in makeStatepointExplicitImpl()
1525 Builder.SetInsertPoint(&*NormalDest->getFirstInsertionPt()); in makeStatepointExplicitImpl()
1815 InsertClobbersAt(&*II->getNormalDest()->getFirstInsertionPt()); in relocationViaAlloca()
1816 InsertClobbersAt(&*II->getUnwindDest()->getFirstInsertionPt()); in relocationViaAlloca()
1934 Func, Values, "", &*II->getNormalDest()->getFirstInsertionPt())); in insertUseHolderAfter()
1936 Func, Values, "", &*II->getUnwindDest()->getFirstInsertionPt())); in insertUseHolderAfter()
2013 Instruction *IP = &*(NormalDest->getFirstInsertionPt()); in splitVectorValues()
2015 IP = &*(UnwindDest->getFirstInsertionPt()); in splitVectorValues()
2259 &*Invoke->getNormalDest()->getFirstInsertionPt(); in rematerializeLiveValues()
2261 &*Invoke->getUnwindDest()->getFirstInsertionPt(); in rematerializeLiveValues()
DSink.cpp288 Inst->moveBefore(&*SuccToSinkTo->getFirstInsertionPt()); in SinkInstruction()
DLICM.cpp573 ExitBlock.getInstList().insert(ExitBlock.getFirstInsertionPt(), New); in CloneInstructionInExitBlock()
970 InsertPts[i] = &*ExitBlocks[i]->getFirstInsertionPt(); in promoteLoopAccessesToScalars()
DMergedLoadStoreMotion.cpp473 BasicBlock::iterator InsertPt = BB->getFirstInsertionPt(); in sinkStore()
DLoopRerollPass.cpp469 IE = Header->getFirstInsertionPt(); I != IE; ++I) { in collectPossibleIVs()
544 IE = Header->getFirstInsertionPt(); I != IE; ++I) { in collectPossibleReductions()
DIndVarSimplify.cpp469 &*PN->getParent()->getFirstInsertionPt()); in handleFloatingPointIV()
1247 IRBuilder<> Builder(&*WidePhi->getParent()->getFirstInsertionPt()); in widenIVUse()
1998 Instruction *InsertPt = &*ExitBlock->getFirstInsertionPt(); in sinkUnusedInvariants()
DPlaceSafepoints.cpp931 Instruction *IP = &*(NormalDest->getFirstInsertionPt()); in ReplaceWithStatepoint()
DScalarizer.cpp662 Builder.SetInsertPoint(BB, BB->getFirstInsertionPt()); in finish()
DStructurizeCFG.cpp712 if (!NeedEmpty || Entry->getFirstInsertionPt() == Entry->end()) in needPrefix()
/external/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp97 InsertPt = II.getNormalDest()->getFirstInsertionPt(); in DemoteRegToStack()
DBasicBlockUtils.cpp622 NewBB1->getInstList().insert(NewBB1->getFirstInsertionPt(), Clone1); in SplitLandingPadPredecessors()
627 NewBB2->getInstList().insert(NewBB2->getFirstInsertionPt(), Clone2); in SplitLandingPadPredecessors()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp350 Instruction *InsPoint = &*Header->getFirstInsertionPt(); in runOnLoop()
396 PtrIP = &*PtrIP->getParent()->getFirstInsertionPt(); in runOnLoop()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp613 IRBuilder<> Builder(&*BB->getFirstInsertionPt()); in emitProfileArcs()
649 IRBuilder<> Builder(&*ComplexEdgePreds[i + 1]->getFirstInsertionPt()); in emitProfileArcs()
655 IRBuilder<> Builder(&*ComplexEdgeSuccs[i + 1]->getFirstInsertionPt()); in emitProfileArcs()
DSanitizerCoverage.cpp446 BasicBlock::iterator IP = BB.getFirstInsertionPt(); in InjectCoverageAtBlock()
DPGOInstrumentation.cpp326 IRBuilder<> Builder(InstrBB, InstrBB->getFirstInsertionPt()); in instrumentOneFunc()
DSafeStack.cpp726 IRBuilder<> IRB(&F.front(), F.begin()->getFirstInsertionPt()); in runOnFunction()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp102 IP = MustDominate->getFirstInsertionPt(); in findInsertPointAfter()
1617 InsertPt = &*L->getHeader()->getFirstInsertionPt(); in expand()
1624 InsertPt = &*L->getHeader()->getFirstInsertionPt(); in expand()
1797 IP = &*PN->getParent()->getFirstInsertionPt(); in replaceCongruentIVs()
1815 IRBuilder<> Builder(&*L->getHeader()->getFirstInsertionPt()); in replaceCongruentIVs()
DMemoryBuiltins.cpp757 Builder.SetInsertPoint(&*PHI.getIncomingBlock(i)->getFirstInsertionPt()); in visitPHINode()
/external/llvm/lib/IR/
DBasicBlock.cpp194 BasicBlock::iterator BasicBlock::getFirstInsertionPt() { in getFirstInsertionPt() function in BasicBlock
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp745 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt(); in SinkCast()
885 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt(); in SinkCmpExpression()
982 BasicBlock::iterator InsertPt = TruncUserBB->getFirstInsertionPt(); in SinkShiftAndTruncate()
993 BasicBlock::iterator TruncInsertPt = TruncUserBB->getFirstInsertionPt(); in SinkShiftAndTruncate()
1081 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt(); in OptimizeExtractBits()
2150 Instruction *Position = &*Point.BB->getFirstInsertionPt(); in insert()
4253 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt(); in optimizeExtUses()
4667 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt(); in optimizeShuffleVectorInst()
5260 DVI->insertBefore(&*VI->getParent()->getFirstInsertionPt()); in placeDbgValues()
DSjLjEHPrepare.cpp208 LPI->getParent()->getFirstInsertionPt()); in setupFunctionContext()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1459 GEP.getParent()->getFirstInsertionPt(), NewGEP); in visitGetElementPtrInst()
1478 GEP.getParent()->getFirstInsertionPt(), NewGEP); in visitGetElementPtrInst()
2720 BasicBlock::iterator InsertPos = DestBlock->getFirstInsertionPt(); in TryToSinkInstruction()
2851 InsertPos = InstParent->getFirstInsertionPt(); in run()

12