reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/EHPersonalities.cpp
  104     Instruction *VisitingHead = Visiting->getFirstNonPHI();
lib/Analysis/Loads.cpp
  208   Instruction *HeaderFirstNonPHI = L->getHeader()->getFirstNonPHI();
lib/CodeGen/GlobalMerge.cpp
  583       Instruction *Pad = BB.getFirstNonPHI();
lib/CodeGen/HardwareLoops.cpp
  433   IRBuilder<> Builder(Header->getFirstNonPHI());
lib/CodeGen/WasmEHPrepare.cpp
  210     auto *Pad = BB.getFirstNonPHI();
  256     auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI());
  280   auto *FPI = cast<FuncletPadInst>(BB->getFirstNonPHI());
lib/CodeGen/WinEHPrepare.cpp
  187         dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI());
  209       Instruction *PadInst = InvokeUnwindDest->getFirstNonPHI();
  697     if (DemoteCatchSwitchPHIOnly && !isa<CatchSwitchInst>(BB->getFirstNonPHI()))
  733       FuncletToken = FuncletPadBB->getFirstNonPHI();
  936     Instruction *FirstNonPHI = FuncletPadBB->getFirstNonPHI();
 1074   Instruction *EHPad = PHIBlock->getFirstNonPHI();
 1151   if (PredBlock->isEHPad() && PredBlock->getFirstNonPHI()->isTerminator()) {
lib/IR/Instructions.cpp
  776   return cast<LandingPadInst>(getUnwindDest()->getFirstNonPHI());
lib/IR/Verifier.cpp
 2087   return UnwindDest->getFirstNonPHI();
 3728   Assert(BB->getFirstNonPHI() == &CPI,
 3752   Assert(BB->getFirstNonPHI() == &CPI,
 3808         UnwindPad = UnwindDest->getFirstNonPHI();
 3910         SwitchUnwindPad = SwitchUnwindDest->getFirstNonPHI();
 3933   Assert(BB->getFirstNonPHI() == &CatchSwitch,
 3942     Instruction *I = UnwindDest->getFirstNonPHI();
 3957     Assert(isa<CatchPadInst>(Handler->getFirstNonPHI()),
 3971     Instruction *I = UnwindDest->getFirstNonPHI();
lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
  148           ArrayRef<Value*>(Idx), Twine(""), F->getEntryBlock().getFirstNonPHI());
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  644       B.SetInsertPoint(PixelExitBB->getFirstNonPHI());
lib/Target/ARM/MVETailPredication.cpp
  476     IRBuilder<> Builder(L->getHeader()->getFirstNonPHI());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1088   Instruction *EndI = ExitB->getFirstNonPHI();
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  635   IRB.SetInsertPoint(BB->getFirstNonPHI());
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  372                       Header->getFirstNonPHI());
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  829     Instruction *I = BB.getFirstNonPHI();
  921     IRB.SetInsertPoint(Tail->getFirstNonPHI());
lib/Target/X86/X86WinEHState.cpp
  524           dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI())) {
  738     if (isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI()))
  780     bool InCleanup = isa<CleanupPadInst>(FuncletEntryBB->getFirstNonPHI());
lib/Transforms/Coroutines/CoroFrame.cpp
  699           InsertPt = CSI->getParent()->getSingleSuccessor()->getFirstNonPHI();
  839   auto *PadInst = Succ->getFirstNonPHI();
  891   if ((LandingPad = dyn_cast_or_null<LandingPadInst>(BB.getFirstNonPHI()))) {
lib/Transforms/Coroutines/CoroSplit.cpp
 1041     if (hasCallsInBlockBetween(BB->getFirstNonPHI(), nullptr))
 1059   if (hasCallsInBlockBetween(ResumeOrDestroyBB->getFirstNonPHI(),
lib/Transforms/IPO/PartialInlining.cpp
 1064       ClonedOI->ReturnBlock->getFirstNonPHI()->getIterator());
 1076     Ins = ClonedOI->ReturnBlock->getFirstNonPHI();
lib/Transforms/InstCombine/InstCombinePHI.cpp
  183   for (auto II = BB->begin(), EI = BasicBlock::iterator(BB->getFirstNonPHI());
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1254         SplitBlock(&F.getEntryBlock(), F.getEntryBlock().getFirstNonPHI());
 1255     IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI());
 1603       IRBuilder<> EntryIRB(ActualFnStart->getFirstNonPHI());
 3941       IRBuilder<> IRB(MSV.ActualFnStart->getFirstNonPHI());
 4086     IRBuilder<> IRB(MSV.ActualFnStart->getFirstNonPHI());
 4279       IRBuilder<> IRB(MSV.ActualFnStart->getFirstNonPHI());
 4523     IRBuilder<> IRB(MSV.ActualFnStart->getFirstNonPHI());
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  429   IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI());
  503     IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI());
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  327     Instruction *EHPad = CV.front()->getFirstNonPHI();
  659             while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  734     Instruction *EHPad = CV.front()->getFirstNonPHI();
lib/Transforms/Scalar/JumpThreading.cpp
  481   BasicBlock::const_iterator I(BB->getFirstNonPHI());
lib/Transforms/Scalar/LICM.cpp
 1382       Instruction *EHPad = BBColor->getFirstNonPHI();
 1480   if (!SafetyInfo->getBlockColors().empty() && BB->getFirstNonPHI()->isEHPad())
 1686     moveInstructionBefore(I, *Dest->getFirstNonPHI(), *SafetyInfo, MSSAU);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1341     for (BasicBlock::iterator Iter = LoopEntry->getFirstNonPHI()->getIterator(),
 1466   for (BasicBlock::iterator Iter = LoopEntry->getFirstNonPHI()->getIterator(),
lib/Transforms/Scalar/LoopInterchange.cpp
 1258         NewI->insertBefore(NewLatch->getFirstNonPHI());
 1295     SplitBlock(InnerLoopHeader, InnerLoopHeader->getFirstNonPHI(), DT, LI);
 1389     P->moveBefore(InnerLatch->getFirstNonPHI());
 1394     P->moveBefore(InnerExit->getFirstNonPHI());
 1415       NewPhi->insertBefore(InnerLatch->getFirstNonPHI());
 1542     PHI->moveBefore(InnerLoopHeader->getFirstNonPHI());
 1547     PHI->moveBefore(OuterLoopHeader->getFirstNonPHI());
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 5523        auto *FirstNonPHI = PN->getParent()->getFirstNonPHI();
 5527            if (isa<CatchSwitchInst>(PredBB->getFirstNonPHI()))
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1711                                         F.getEntryBlock().getFirstNonPHI());
 1851         Store->insertBefore(NormalDest->getFirstNonPHI());
lib/Transforms/Scalar/SCCP.cpp
 2115           changeToUnreachable(BB->getFirstNonPHI(), /*UseLLVMTrap=*/false,
 2119       NumInstRemoved += changeToUnreachable(F.front().getFirstNonPHI(),
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 2610     if (isa<CleanupPadInst>(ExitBB->getFirstNonPHI())) {
lib/Transforms/Utils/BasicBlockUtils.cpp
  681   BI1->setDebugLoc(OrigBB->getFirstNonPHI()->getDebugLoc());
  722     BI2->setDebugLoc(OrigBB->getFirstNonPHI()->getDebugLoc());
lib/Transforms/Utils/BreakCriticalEdges.cpp
  110   assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() ||
  386     Instruction *FirstNonPHI = Target->getFirstNonPHI();
  434                          End = Target->getFirstNonPHI()->getIterator();
lib/Transforms/Utils/CodeExtractor.cpp
  424       CommonExitBlock->getFirstNonPHI()->getIterator());
  648   BasicBlock *NewBB = SplitBlock(Header, Header->getFirstNonPHI(), DT);
  734                           PN.getName() + ".ce", NewBB->getFirstNonPHI());
lib/Transforms/Utils/InlineFunction.cpp
  242         UnwindDestToken = CatchSwitch->getUnwindDest()->getFirstNonPHI();
  254           auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI());
  292             UnwindDestToken = RetUnwindDest->getFirstNonPHI();
  299           ChildUnwindDestToken = Invoke->getUnwindDest()->getFirstNonPHI();
  488         auto *CatchPad = HandlerBlock->getFirstNonPHI();
  493                     cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) ==
  506                      cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) ==
  646   assert(UnwindDest->getFirstNonPHI()->isEHPad() && "unexpected BasicBlock!");
  694     Instruction *I = BB->getFirstNonPHI();
 2038     Instruction *FirstNonPHI = UnwindDest->getFirstNonPHI();
 2097       Instruction *I = BB->getFirstNonPHI();
lib/Transforms/Utils/Local.cpp
 1035     Succ->getInstList().splice(Succ->getFirstNonPHI()->getIterator(),
 1472     if (Parent->getFirstNonPHI()->isEHPad())
 2157         auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI());
lib/Transforms/Utils/LoopSimplify.cpp
  380   BETerminator->setDebugLoc(Header->getFirstNonPHI()->getDebugLoc());
lib/Transforms/Utils/LoopUnrollAndJam.cpp
  437     Instruction *insertPoint = Dest->getFirstNonPHI();
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  102                                        PrologExit->getFirstNonPHI());
  257                                        NewExit->getFirstNonPHI());
  359                                           FirstLoopBB->getFirstNonPHI());
  899                                       Header->getFirstNonPHI());
lib/Transforms/Utils/LoopUtils.cpp
  643   Instruction *InsertDbgValueBefore = ExitBlock->getFirstNonPHI();
lib/Transforms/Utils/LowerMemIntrinsics.cpp
   93     IRBuilder<> RBuilder(PostLoopBB ? PostLoopBB->getFirstNonPHI()
lib/Transforms/Utils/LowerSwitch.cpp
  213                             IE = SuccBB->getFirstNonPHI()->getIterator();
lib/Transforms/Utils/SSAUpdater.cpp
  178   if (const Instruction *I = BB->getFirstNonPHI())
lib/Transforms/Utils/SimplifyCFG.cpp
 3810   else if (isa<LandingPadInst>(RI->getParent()->getFirstNonPHI()) &&
 3811            RI->getValue() == RI->getParent()->getFirstNonPHI())
 3844     auto *LandingPad = dyn_cast<LandingPadInst>(IncomingBB->getFirstNonPHI());
 3851     I = IncomingBB->getFirstNonPHI()->getIterator();
 3900   auto *LPInst = cast<LandingPadInst>(BB->getFirstNonPHI());
 3965   Instruction *DestEHPad = UnwindDest ? UnwindDest->getFirstNonPHI() : nullptr;
 4022                               IE = BB->getFirstNonPHI()->getIterator();
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3758       Builder.SetInsertPoint(PH->getParent()->getFirstNonPHI());
tools/clang/lib/CodeGen/CGException.cpp
 1179         cast<llvm::CatchSwitchInst>(DispatchBlock->getFirstNonPHI());
 1183     auto *CPI = cast<llvm::CatchPadInst>(WasmCatchStartBlock->getFirstNonPHI());
 2071       cast<llvm::CatchPadInst>(CatchPadBB->getFirstNonPHI());
tools/clang/lib/CodeGen/CGObjCRuntime.cpp
  233       if ((CPI = dyn_cast_or_null<llvm::CatchPadInst>(Handler.Block->getFirstNonPHI()))) {
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  872       cast<llvm::CatchPadInst>(CatchPadBB->getFirstNonPHI());
tools/llvm-stress/llvm-stress.cpp
  474                                  "A", BB->getFirstNonPHI()));
tools/polly/lib/CodeGen/BlockGenerators.cpp
 1641                                     NewSubregionExit->getFirstNonPHI());
 1791   PHICopy->moveBefore(PHICopy->getParent()->getFirstNonPHI());
tools/polly/lib/CodeGen/LoopGenerators.cpp
  171   Builder.SetInsertPoint(HeaderBB->getFirstNonPHI());
tools/polly/lib/Transform/MaximalStaticExpansion.cpp
  205                S.getEnteringBlock()->getFirstNonPHI());
  306                S.getEnteringBlock()->getFirstNonPHI());
unittests/Analysis/ProfileSummaryInfoTest.cpp
  123   CallSite CS1(BB1->getFirstNonPHI());
  190   CallSite CS1(BB1->getFirstNonPHI());
  191   auto *CI2 = BB2->getFirstNonPHI();
  237   CallSite CS1(BB1->getFirstNonPHI());
  238   auto *CI2 = BB2->getFirstNonPHI();