Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp189 dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI()); in calculateStateNumbersForInvokes()
211 Instruction *PadInst = InvokeUnwindDest->getFirstNonPHI(); in calculateStateNumbersForInvokes()
249 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers()
257 calculateCXXStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateCXXStateNumbers()
304 calculateCXXStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateCXXStateNumbers()
354 cast<CatchPadInst>((*CatchSwitch->handler_begin())->getFirstNonPHI()); in calculateSEHStateNumbers()
370 calculateSEHStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateSEHStateNumbers()
406 calculateSEHStateNumbers(FuncInfo, PredBlock->getFirstNonPHI(), in calculateSEHStateNumbers()
438 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateSEHStateNumbers()
456 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateWinCXXEHStateNumbers()
[all …]
DWasmEHPrepare.cpp212 auto *Pad = BB.getFirstNonPHI(); in prepareEHPads()
258 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI()); in prepareEHPads()
282 auto *FPI = cast<FuncletPadInst>(BB->getFirstNonPHI()); in prepareEHPad()
360 const Instruction *Pad = BB.getFirstNonPHI(); in calculateWasmEHInfo()
366 const Instruction *UnwindPad = UnwindBB->getFirstNonPHI(); in calculateWasmEHInfo()
DModuloSchedule.cpp384 BBE = BB->getFirstNonPHI(); in generateExistingPhis()
552 BuildMI(*NewBB, NewBB->getFirstNonPHI(), DebugLoc(), in generateExistingPhis()
621 for (MachineBasicBlock::iterator BBI = BB->getFirstNonPHI(), in generatePhis()
668 BuildMI(*NewBB, NewBB->getFirstNonPHI(), DebugLoc(), in generatePhis()
764 BBE = KernelBB->getFirstNonPHI(); in removeDeadInstructions()
1222 for (auto I = MBB->begin(); I != MBB->getFirstNonPHI();) { in EliminateDeadPhis()
1310 for (auto I = BB->getFirstNonPHI(); I != FirstMI->getIterator();) { in rewrite()
1333 for (auto MI = BB->getFirstNonPHI(); MI != BB->end(); ++MI) { in rewrite()
1487 BuildMI(*BB, BB->getFirstNonPHI(), DebugLoc(), TII->get(TargetOpcode::PHI), R) in phi()
1589 I != std::next(MB->getFirstNonPHI()->getReverseIterator());) { in filterInstructions()
[all …]
DSwiftErrorValueTracking.cpp136 BuildMI(*MBB, MBB->getFirstNonPHI(), DbgLoc, in createEntriesInEntryBlock()
232 BuildMI(*MBB, MBB->getFirstNonPHI(), DLoc, TII->get(TargetOpcode::COPY), in propagateVRegs()
245 BuildMI(*MBB, MBB->getFirstNonPHI(), DLoc, in propagateVRegs()
DUnreachableBlockElim.cpp196 BuildMI(*BB, BB->getFirstNonPHI(), phi->getDebugLoc(), in runOnMachineFunction()
DMachineLoopUtils.cpp75 for (auto I = NewBB->getFirstNonPHI(); I != NewBB->end(); ++I) in PeelSingleBlockLoop()
DMachineSSAUpdater.cpp295 BB, BB->getFirstNonPHI(), in GetUndefVal()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DBasicBlock.h151 const Instruction* getFirstNonPHI() const;
152 Instruction* getFirstNonPHI() { in getFirstNonPHI() function
154 static_cast<const BasicBlock *>(this)->getFirstNonPHI()); in getFirstNonPHI()
411 bool isEHPad() const { return getFirstNonPHI()->isEHPad(); } in isEHPad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DBasicBlock.cpp196 const Instruction* BasicBlock::getFirstNonPHI() const { in getFirstNonPHI() function in BasicBlock
224 const Instruction *FirstNonPHI = getFirstNonPHI(); in getFirstInsertionPt()
379 const Instruction *FirstNonPHI = getFirstNonPHI(); in canSplitPredecessors()
471 return isa<LandingPadInst>(getFirstNonPHI()); in isLandingPad()
476 return dyn_cast<LandingPadInst>(getFirstNonPHI()); in getLandingPadInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp393 MachineBasicBlock::iterator ME = SourceMBB->getFirstNonPHI(); in moveAndUpdatePHIs()
538 E = SourceRegion.BranchBlock->getFirstNonPHI(); in canMerge()
562 I = SourceRegion.BranchBlock->getFirstNonPHI(), in canMerge()
654 SourceRegion.BranchBlock->getFirstNonPHI(); in mergeCandidates()
664 ? SourceRegion.BranchTargetBlock->getFirstNonPHI() in mergeCandidates()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp242 UnwindDestToken = CatchSwitch->getUnwindDest()->getFirstNonPHI(); in getUnwindDestTokenHelper()
254 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper()
292 UnwindDestToken = RetUnwindDest->getFirstNonPHI(); in getUnwindDestTokenHelper()
299 ChildUnwindDestToken = Invoke->getUnwindDest()->getFirstNonPHI(); in getUnwindDestTokenHelper()
488 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken()
493 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken()
506 cast<InvokeInst>(U)->getUnwindDest()->getFirstNonPHI()) == in getUnwindDestToken()
646 assert(UnwindDest->getFirstNonPHI()->isEHPad() && "unexpected BasicBlock!"); in HandleInlinedEHPad()
694 Instruction *I = BB->getFirstNonPHI(); in HandleInlinedEHPad()
1659 if (isa<CatchSwitchInst>(CalledBB.getFirstNonPHI())) in InlineFunction()
[all …]
DBreakCriticalEdges.cpp111 assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() || in createPHIsForSplitLoopExit()
387 Instruction *FirstNonPHI = Target->getFirstNonPHI(); in SplitIndirectBrCriticalEdges()
435 End = Target->getFirstNonPHI()->getIterator(); in SplitIndirectBrCriticalEdges()
DLoopUnrollRuntime.cpp103 PrologExit->getFirstNonPHI()); in ConnectProlog()
258 NewExit->getFirstNonPHI()); in ConnectEpilog()
360 FirstLoopBB->getFirstNonPHI()); in CloneLoopBlocks()
900 Header->getFirstNonPHI()); in UnrollRuntimeLoopRemainder()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp1262 NewI->insertBefore(NewLatch->getFirstNonPHI()); in transform()
1299 SplitBlock(InnerLoopHeader, InnerLoopHeader->getFirstNonPHI(), DT, LI); in transform()
1401 P->moveBefore(InnerLatch->getFirstNonPHI()); in moveLCSSAPhis()
1406 P->moveBefore(InnerExit->getFirstNonPHI()); in moveLCSSAPhis()
1425 NewPhi->insertBefore(InnerLatch->getFirstNonPHI()); in moveLCSSAPhis()
1562 PHI->moveBefore(InnerLoopHeader->getFirstNonPHI()); in adjustLoopBranches()
1567 PHI->moveBefore(OuterLoopHeader->getFirstNonPHI()); in adjustLoopBranches()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DEHPersonalities.cpp104 Instruction *VisitingHead = Visiting->getFirstNonPHI(); in colorEHFunclets()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonBitSimplify.cpp1478 auto At = I->isPHI() ? B.getFirstNonPHI() : I; in processBlock()
1603 auto At = I->isPHI() ? B.getFirstNonPHI() : I; in processBlock()
2028 auto At = MI->isPHI() ? B.getFirstNonPHI() in genPackhl()
2054 auto At = MI->isPHI() ? B.getFirstNonPHI() in genExtractHalf()
2099 auto At = MI->isPHI() ? B.getFirstNonPHI() in genCombineHalf()
2156 auto At = MI->isPHI() ? B.getFirstNonPHI() in genExtractLow()
2268 auto At = DefS->isPHI() ? B.getFirstNonPHI() in genBitSplit()
2337 auto At = MI->isPHI() ? B.getFirstNonPHI() in simplifyTstbit()
2543 auto At = MI->isPHI() ? B.getFirstNonPHI() in simplifyExtractLow()
2592 auto At = MI->isPHI() ? B.getFirstNonPHI() in simplifyRCmp0()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateUniformValues.cpp149 ArrayRef<Value*>(Idx), Twine(""), F->getEntryBlock().getFirstNonPHI()); in visitLoadInst()
DAMDGPUInline.cpp164 if (const Instruction *I = BB.getFirstNonPHI()) { in isWrapperOnlyCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp329 Instruction *EHPad = CV.front()->getFirstNonPHI(); in createCallInst()
661 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h245 return make_range(begin(), getFirstNonPHI());
537 iterator getFirstNonPHI();
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h258 assert((!Beginning || MBB.getFirstNonPHI() == MBB.begin()) && in InsertPoint()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp430 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in InsertRuntimeIgnores()
504 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in sanitizeFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp699 InsertPt = CSI->getParent()->getSingleSuccessor()->getFirstNonPHI(); in insertSpills()
839 auto *PadInst = Succ->getFirstNonPHI(); in ehAwareSplitEdge()
891 if ((LandingPad = dyn_cast_or_null<LandingPadInst>(BB.getFirstNonPHI()))) { in rewritePHIs()

1234