Home
last modified time | relevance | path

Searched refs:getFirstNonPHI (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp174 dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI()); in calculateStateNumbersForInvokes()
196 Instruction *PadInst = InvokeUnwindDest->getFirstNonPHI(); in calculateStateNumbersForInvokes()
234 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers()
242 calculateCXXStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateCXXStateNumbers()
277 calculateCXXStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateCXXStateNumbers()
327 cast<CatchPadInst>((*CatchSwitch->handler_begin())->getFirstNonPHI()); in calculateSEHStateNumbers()
343 calculateSEHStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateSEHStateNumbers()
369 calculateSEHStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateSEHStateNumbers()
401 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateSEHStateNumbers()
419 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateWinCXXEHStateNumbers()
[all …]
/external/llvm/include/llvm/IR/
DBasicBlock.h128 Instruction* getFirstNonPHI();
129 const Instruction* getFirstNonPHI() const {
130 return const_cast<BasicBlock*>(this)->getFirstNonPHI();
306 bool isEHPad() const { return getFirstNonPHI()->isEHPad(); }
/external/llvm/lib/IR/
DBasicBlock.cpp165 Instruction* BasicBlock::getFirstNonPHI() { in getFirstNonPHI() function in BasicBlock
195 Instruction *FirstNonPHI = getFirstNonPHI(); in getFirstInsertionPt()
337 const Instruction *FirstNonPHI = getFirstNonPHI(); in canSplitPredecessors()
424 return isa<LandingPadInst>(getFirstNonPHI()); in isLandingPad()
429 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
432 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
DVerifier.cpp2992 Assert(BB->getFirstNonPHI() == &CPI, in visitCatchPadInst()
3017 Assert(BB->getFirstNonPHI() == &CPI, in visitCleanupPadInst()
3067 Assert(BB->getFirstNonPHI() == &CatchSwitch, in visitCatchSwitchInst()
3072 Instruction *I = UnwindDest->getFirstNonPHI(); in visitCatchSwitchInst()
3093 Instruction *I = UnwindDest->getFirstNonPHI(); in visitCleanupReturnInst()
/external/llvm/lib/Transforms/IPO/
DPartialInlining.cpp92 newReturnBlock->getFirstNonPHI()->getIterator()); in unswitchFunction()
101 Ins = newReturnBlock->getFirstNonPHI(); in unswitchFunction()
/external/llvm/lib/Target/AMDGPU/
DSILowerControlFlow.cpp207 BuildMI(MBB, MBB.getFirstNonPHI(), DL, in Else()
284 BuildMI(MBB, MBB.getFirstNonPHI(), DL, in EndCf()
563 BuildMI(MBB, MBB.getFirstNonPHI(), DebugLoc(), TII->get(AMDGPU::S_WQM_B64), in runOnMachineFunction()
593 MachineBasicBlock::iterator Start = MBB.getFirstNonPHI(); in runOnMachineFunction()
DSIFixSGPRLiveRanges.cpp207 BuildMI(*NCD, NCD->getFirstNonPHI(), DebugLoc(), in runOnMachineFunction()
/external/llvm/lib/Analysis/
DEHPersonalities.cpp75 Instruction *VisitingHead = Visiting->getFirstNonPHI(); in colorEHFunclets()
DLoopInfo.cpp242 auto *FirstNonPHI = II->getUnwindDest()->getFirstNonPHI(); in isSafeToClone()
/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp436 MachineBasicBlock::const_iterator I, E = B->getFirstNonPHI(); in computePhiCost()
779 auto NonPHI = WhereB->getFirstNonPHI(); in updatePhiNodes()
952 MachineBasicBlock::iterator I, NextI, NonPHI = B->getFirstNonPHI(); in eliminatePhis()
981 MachineBasicBlock::iterator P, N = SB->getFirstNonPHI(); in replacePhiEdges()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp499 BI->setDebugLoc(BB->getFirstNonPHI()->getDebugLoc()); in SplitBlockPredecessors()
562 BI1->setDebugLoc(OrigBB->getFirstNonPHI()->getDebugLoc()); in SplitLandingPadPredecessors()
603 BI2->setDebugLoc(OrigBB->getFirstNonPHI()->getDebugLoc()); in SplitLandingPadPredecessors()
DInlineFunction.cpp303 assert(UnwindDest->getFirstNonPHI()->isEHPad() && "unexpected BasicBlock!"); in HandleInlinedEHPad()
341 Instruction *I = BB->getFirstNonPHI(); in HandleInlinedEHPad()
1114 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction()
1460 Instruction *I = BB->getFirstNonPHI(); in InlineFunction()
1479 Instruction *FirstNonPHI = UnwindDest->getFirstNonPHI(); in InlineFunction()
DBreakCriticalEdges.cpp88 assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() || in createPHIsForSplitLoopExit()
DLoopUnrollRuntime.cpp192 FirstLoopBB->getFirstNonPHI()); in CloneLoopBlocks()
DSSAUpdater.cpp167 if (const Instruction *I = BB->getFirstNonPHI()) in GetValueInMiddleOfBlock()
DLowerSwitch.cpp171 IE = SuccBB->getFirstNonPHI()->getIterator(); in fixPhis()
DLoopSimplify.cpp382 BETerminator->setDebugLoc(Header->getFirstNonPHI()->getDebugLoc()); in insertUniqueBackedgeBlock()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp219 const Instruction *I = BB->getFirstNonPHI(); in set()
277 const Instruction *FNP = BB->getFirstNonPHI(); in set()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp334 Header->getFirstNonPHI()); in runOnLoop()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp427 dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI())) { in addStateStores()
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp1080 OuterLoopLatch->getFirstNonPHI(), DT, LI); in splitOuterLoopLatch()
1110 SplitBlock(InnerLoopHeader, InnerLoopHeader->getFirstNonPHI(), DT, LI); in splitInnerLoopHeader()
DRewriteStatepointsForGC.cpp1735 F.getEntryBlock().getFirstNonPHI()); in relocationViaAlloca()
1874 Store->insertBefore(NormalDest->getFirstNonPHI()); in relocationViaAlloca()
1978 new AllocaInst(V->getType(), "", F.getEntryBlock().getFirstNonPHI()); in splitVectorValues()
2730 const BasicBlock::iterator E(Succ->getFirstNonPHI()); in computeLiveOutSeed()
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h523 iterator getFirstNonPHI();
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp392 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in runOnFunction()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp421 PT->push_back(new AllocaInst(Tp, "A", BB->getFirstNonPHI())); in Act()

12