Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp188 dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI()); in calculateStateNumbersForInvokes()
210 Instruction *PadInst = InvokeUnwindDest->getFirstNonPHI(); in calculateStateNumbersForInvokes()
248 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers()
256 calculateCXXStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateCXXStateNumbers()
303 calculateCXXStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateCXXStateNumbers()
353 cast<CatchPadInst>((*CatchSwitch->handler_begin())->getFirstNonPHI()); in calculateSEHStateNumbers()
369 calculateSEHStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateSEHStateNumbers()
405 calculateSEHStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateSEHStateNumbers()
437 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateSEHStateNumbers()
455 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateWinCXXEHStateNumbers()
[all …]
DWasmEHPrepare.cpp186 auto *Pad = BB.getFirstNonPHI(); in runOnFunction()
233 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI()); in runOnFunction()
271 auto *FPI = cast<FuncletPadInst>(BB->getFirstNonPHI()); in prepareEHPad()
338 const Instruction *Pad = BB.getFirstNonPHI(); in calculateWasmEHInfo()
348 const Instruction *UnwindPad = UnwindBB->getFirstNonPHI(); in calculateWasmEHInfo()
367 const Instruction *UnwindPad = UnwindBB->getFirstNonPHI(); in calculateWasmEHInfo()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp179 dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI()); in calculateStateNumbersForInvokes()
201 Instruction *PadInst = InvokeUnwindDest->getFirstNonPHI(); in calculateStateNumbersForInvokes()
239 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers()
247 calculateCXXStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateCXXStateNumbers()
293 calculateCXXStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateCXXStateNumbers()
343 cast<CatchPadInst>((*CatchSwitch->handler_begin())->getFirstNonPHI()); in calculateSEHStateNumbers()
359 calculateSEHStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateSEHStateNumbers()
395 calculateSEHStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateSEHStateNumbers()
427 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateSEHStateNumbers()
445 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateWinCXXEHStateNumbers()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DProfileSummaryInfoTest.cpp124 CallSite CS1(BB1->getFirstNonPHI()); in TEST_F()
164 CallSite CS1(BB1->getFirstNonPHI()); in TEST_F()
165 auto *CI2 = BB2->getFirstNonPHI(); in TEST_F()
196 CallSite CS1(BB1->getFirstNonPHI()); in TEST_F()
197 auto *CI2 = BB2->getFirstNonPHI(); in TEST_F()
/external/llvm/lib/IR/
DBasicBlock.cpp180 Instruction* BasicBlock::getFirstNonPHI() { in getFirstNonPHI() function in BasicBlock
210 Instruction *FirstNonPHI = getFirstNonPHI(); in getFirstInsertionPt()
352 const Instruction *FirstNonPHI = getFirstNonPHI(); in canSplitPredecessors()
437 return isa<LandingPadInst>(getFirstNonPHI()); in isLandingPad()
442 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
445 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DBasicBlock.h137 Instruction* getFirstNonPHI();
138 const Instruction* getFirstNonPHI() const { in getFirstNonPHI() function
139 return const_cast<BasicBlock*>(this)->getFirstNonPHI(); in getFirstNonPHI()
315 bool isEHPad() const { return getFirstNonPHI()->isEHPad(); } in isEHPad()
/external/llvm/include/llvm/IR/
DBasicBlock.h136 Instruction* getFirstNonPHI();
137 const Instruction* getFirstNonPHI() const {
138 return const_cast<BasicBlock*>(this)->getFirstNonPHI();
314 bool isEHPad() const { return getFirstNonPHI()->isEHPad(); }
/external/swiftshader/third_party/LLVM/include/llvm/
DBasicBlock.h131 Instruction* getFirstNonPHI();
132 const Instruction* getFirstNonPHI() const {
133 return const_cast<BasicBlock*>(this)->getFirstNonPHI();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DBasicBlock.h153 const Instruction* getFirstNonPHI() const;
154 Instruction* getFirstNonPHI() { in getFirstNonPHI() function
156 static_cast<const BasicBlock *>(this)->getFirstNonPHI()); in getFirstNonPHI()
394 bool isEHPad() const { return getFirstNonPHI()->isEHPad(); } in isEHPad()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DBasicBlock.cpp130 Instruction* BasicBlock::getFirstNonPHI() { in getFirstNonPHI() function in BasicBlock
171 iterator InsertPt = getFirstNonPHI(); in getFirstInsertionPt()
361 return isa<LandingPadInst>(getFirstNonPHI()); in isLandingPad()
367 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DBasicBlock.cpp189 const Instruction* BasicBlock::getFirstNonPHI() const { in getFirstNonPHI() function in BasicBlock
219 const Instruction *FirstNonPHI = getFirstNonPHI(); in getFirstInsertionPt()
366 const Instruction *FirstNonPHI = getFirstNonPHI(); in canSplitPredecessors()
462 return isa<LandingPadInst>(getFirstNonPHI()); in isLandingPad()
467 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp396 MachineBasicBlock::iterator ME = SourceMBB->getFirstNonPHI(); in moveAndUpdatePHIs()
541 E = SourceRegion.BranchBlock->getFirstNonPHI(); in canMerge()
565 I = SourceRegion.BranchBlock->getFirstNonPHI(), in canMerge()
657 SourceRegion.BranchBlock->getFirstNonPHI(); in mergeCandidates()
667 ? SourceRegion.BranchTargetBlock->getFirstNonPHI() in mergeCandidates()
/external/llvm/lib/Transforms/IPO/
DPartialInlining.cpp98 newReturnBlock->getFirstNonPHI()->getIterator()); in unswitchFunction()
107 Ins = newReturnBlock->getFirstNonPHI(); in unswitchFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPartialInlining.cpp91 newReturnBlock->getFirstNonPHI()); in unswitchFunction()
100 Ins = newReturnBlock->getFirstNonPHI(); in unswitchFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp105 assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() || in createPHIsForSplitLoopExit()
364 Instruction *FirstNonPHI = Target->getFirstNonPHI(); in SplitIndirectBrCriticalEdges()
412 End = Target->getFirstNonPHI()->getIterator(); in SplitIndirectBrCriticalEdges()
DInlineFunction.cpp246 UnwindDestToken = CatchSwitch->getUnwindDest()->getFirstNonPHI(); in getUnwindDestTokenHelper()
258 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper()
296 UnwindDestToken = RetUnwindDest->getFirstNonPHI(); in getUnwindDestTokenHelper()
303 ChildUnwindDestToken = Invoke->getUnwindDest()->getFirstNonPHI(); in getUnwindDestTokenHelper()
492 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken()
497 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken()
510 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken()
650 assert(UnwindDest->getFirstNonPHI()->isEHPad() && "unexpected BasicBlock!"); in HandleInlinedEHPad()
698 Instruction *I = BB->getFirstNonPHI(); in HandleInlinedEHPad()
1588 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction()
[all …]
DLoopUnrollRuntime.cpp87 PrologExit->getFirstNonPHI()); in ConnectProlog()
241 NewExit->getFirstNonPHI()); in ConnectEpilog()
343 FirstLoopBB->getFirstNonPHI()); in CloneLoopBlocks()
864 Header->getFirstNonPHI()); in UnrollRuntimeLoopRemainder()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DInlineFunction.cpp156 selector->moveBefore(lpad->getFirstNonPHI()); in findSelectorForLandingPad()
199 lpadSelector->insertBefore(lpad->getFirstNonPHI()); in findSelectorForLandingPad()
204 nonDominated->splitBasicBlock(nonDominated->getFirstNonPHI(), in findSelectorForLandingPad()
349 Instruction *splitPoint = exn->getParent()->getFirstNonPHI(); in getInnerUnwindDest()
936 if (!isa<LandingPadInst>(BB->getFirstNonPHI())) in InlineFunction()
938 const LandingPadInst *LP = cast<LandingPadInst>(BB->getFirstNonPHI()); in InlineFunction()
952 dyn_cast<LandingPadInst>(BB->getFirstNonPHI())) in InlineFunction()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp84 PrologExit->getFirstNonPHI()); in ConnectProlog()
234 NewExit->getFirstNonPHI()); in ConnectEpilog()
322 FirstLoopBB->getFirstNonPHI()); in CloneLoopBlocks()
658 Header->getFirstNonPHI()); in UnrollRuntimeLoopRemainder()
DInlineFunction.cpp207 UnwindDestToken = CatchSwitch->getUnwindDest()->getFirstNonPHI(); in getUnwindDestTokenHelper()
219 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper()
257 UnwindDestToken = RetUnwindDest->getFirstNonPHI(); in getUnwindDestTokenHelper()
264 ChildUnwindDestToken = Invoke->getUnwindDest()->getFirstNonPHI(); in getUnwindDestTokenHelper()
398 for (User *U : HandlerBlock->getFirstNonPHI()->users()) in getUnwindDestToken()
570 assert(UnwindDest->getFirstNonPHI()->isEHPad() && "unexpected BasicBlock!"); in HandleInlinedEHPad()
618 Instruction *I = BB->getFirstNonPHI(); in HandleInlinedEHPad()
1443 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction()
1778 Instruction *FirstNonPHI = UnwindDest->getFirstNonPHI(); in InlineFunction()
1835 Instruction *I = BB->getFirstNonPHI(); in InlineFunction()
/external/llvm/lib/Analysis/
DEHPersonalities.cpp78 Instruction *VisitingHead = Visiting->getFirstNonPHI(); in colorEHFunclets()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DEHPersonalities.cpp105 Instruction *VisitingHead = Visiting->getFirstNonPHI(); in colorEHFunclets()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp520 dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI())) { in getBaseStateForBB()
734 if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI())) in addStateStores()
776 bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI()); in addStateStores()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp528 dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI())) { in getBaseStateForBB()
742 if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI())) in addStateStores()
784 bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI()); in addStateStores()
/external/llvm/lib/Target/AMDGPU/
DSIWholeQuadMode.cpp382 auto II = MBB.getFirstNonPHI(), IE = MBB.end(); in processBlock()
482 MachineBasicBlock::iterator EntryMI = Entry.getFirstNonPHI(); in runOnMachineFunction()

123456