/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 188 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 …]
|
D | WasmEHPrepare.cpp | 186 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/ |
D | WinEHPrepare.cpp | 179 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/ |
D | ProfileSummaryInfoTest.cpp | 124 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/ |
D | BasicBlock.cpp | 180 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/ |
D | BasicBlock.h | 137 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/ |
D | BasicBlock.h | 136 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/ |
D | BasicBlock.h | 131 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/ |
D | BasicBlock.h | 153 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/ |
D | BasicBlock.cpp | 130 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/ |
D | BasicBlock.cpp | 189 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/ |
D | PPCBranchCoalescing.cpp | 396 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/ |
D | PartialInlining.cpp | 98 newReturnBlock->getFirstNonPHI()->getIterator()); in unswitchFunction() 107 Ins = newReturnBlock->getFirstNonPHI(); in unswitchFunction()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | PartialInlining.cpp | 91 newReturnBlock->getFirstNonPHI()); in unswitchFunction() 100 Ins = newReturnBlock->getFirstNonPHI(); in unswitchFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 105 assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() || in createPHIsForSplitLoopExit() 364 Instruction *FirstNonPHI = Target->getFirstNonPHI(); in SplitIndirectBrCriticalEdges() 412 End = Target->getFirstNonPHI()->getIterator(); in SplitIndirectBrCriticalEdges()
|
D | InlineFunction.cpp | 246 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 …]
|
D | LoopUnrollRuntime.cpp | 87 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/ |
D | InlineFunction.cpp | 156 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/ |
D | LoopUnrollRuntime.cpp | 84 PrologExit->getFirstNonPHI()); in ConnectProlog() 234 NewExit->getFirstNonPHI()); in ConnectEpilog() 322 FirstLoopBB->getFirstNonPHI()); in CloneLoopBlocks() 658 Header->getFirstNonPHI()); in UnrollRuntimeLoopRemainder()
|
D | InlineFunction.cpp | 207 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/ |
D | EHPersonalities.cpp | 78 Instruction *VisitingHead = Visiting->getFirstNonPHI(); in colorEHFunclets()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | EHPersonalities.cpp | 105 Instruction *VisitingHead = Visiting->getFirstNonPHI(); in colorEHFunclets()
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 520 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/ |
D | X86WinEHState.cpp | 528 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/ |
D | SIWholeQuadMode.cpp | 382 auto II = MBB.getFirstNonPHI(), IE = MBB.end(); in processBlock() 482 MachineBasicBlock::iterator EntryMI = Entry.getFirstNonPHI(); in runOnMachineFunction()
|