Home
last modified time | relevance | path

Searched refs:FirstNonPHI (Results 1 – 8 of 8) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp244 const BasicBlock *BB = FirstNonPHI->getParent(); in calculateCXXStateNumbers()
309 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateCXXStateNumbers()
364 const BasicBlock *BB = FirstNonPHI->getParent(); in calculateSEHStateNumbers()
414 auto *CleanupPad = cast<CleanupPadInst>(FirstNonPHI); in calculateSEHStateNumbers()
460 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateSEHStateNumbers() local
461 if (!isTopLevelPadForMSVC(FirstNonPHI)) in calculateSEHStateNumbers()
478 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateWinCXXEHStateNumbers() local
479 if (!isTopLevelPadForMSVC(FirstNonPHI)) in calculateWinCXXEHStateNumbers()
481 calculateCXXStateNumbers(FuncInfo, FirstNonPHI, -1); in calculateWinCXXEHStateNumbers()
532 const Instruction *FirstNonPHI = BB.getFirstNonPHI(); in calculateClrEHStateNumbers() local
[all …]
H A DMachineVerifier.cpp118 const MachineInstr *FirstNonPHI; member
622 FirstNonPHI = nullptr; in visitMachineBasicBlockBefore()
1767 if (FirstNonPHI) in visitMachineInstrBefore()
1769 } else if (FirstNonPHI == nullptr) in visitMachineInstrBefore()
1770 FirstNonPHI = MI; in visitMachineInstrBefore()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DBasicBlock.cpp246 const Instruction *FirstNonPHI = getFirstNonPHI(); in getFirstInsertionPt() local
247 if (!FirstNonPHI) in getFirstInsertionPt()
250 const_iterator InsertPt = FirstNonPHI->getIterator(); in getFirstInsertionPt()
256 const Instruction *FirstNonPHI = getFirstNonPHI(); in getFirstNonPHIOrDbgOrAlloca() local
257 if (!FirstNonPHI) in getFirstNonPHIOrDbgOrAlloca()
260 const_iterator InsertPt = FirstNonPHI->getIterator(); in getFirstNonPHIOrDbgOrAlloca()
371 const Instruction *FirstNonPHI = getFirstNonPHI(); in canSplitPredecessors() local
372 if (isa<LandingPadInst>(FirstNonPHI)) in canSplitPredecessors()
377 if (FirstNonPHI->isEHPad()) in canSplitPredecessors()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp372 Instruction *FirstNonPHI = Target->getFirstNonPHI(); in SplitIndirectBrCriticalEdges() local
373 if (FirstNonPHI->isEHPad() || Target->isLandingPad()) in SplitIndirectBrCriticalEdges()
386 BasicBlock *BodyBlock = Target->splitBasicBlock(FirstNonPHI, ".split"); in SplitIndirectBrCriticalEdges()
H A DInlineFunction.cpp2562 Instruction *FirstNonPHI = UnwindDest->getFirstNonPHI(); in InlineFunction() local
2563 if (isa<LandingPadInst>(FirstNonPHI)) { in InlineFunction()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp205 Instruction *FirstNonPHI = BB->getFirstNonPHI(); in findCorrespondingBlockIn() local
206 assert(FirstNonPHI && "block is empty?"); in findCorrespondingBlockIn()
207 Value *CorrespondingVal = findCorrespondingValueIn(Other, FirstNonPHI); in findCorrespondingBlockIn()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp530 Instruction *FirstNonPHI = nullptr; in getJumpThreadDuplicationCost() local
533 FirstNonPHI = &I; in getJumpThreadDuplicationCost()
541 BasicBlock::const_iterator I(FirstNonPHI); in getJumpThreadDuplicationCost()
H A DLoopStrengthReduce.cpp5761 auto *FirstNonPHI = PN->getParent()->getFirstNonPHI(); in LSRInstance() local
5762 if (isa<FuncletPadInst>(FirstNonPHI) || in LSRInstance()
5763 isa<CatchSwitchInst>(FirstNonPHI)) in LSRInstance()