Searched refs:getFirstNonPHIOrDbg (Results 1 – 10 of 10) sorted by relevance
135 Instruction* getFirstNonPHIOrDbg();136 const Instruction* getFirstNonPHIOrDbg() const {137 return const_cast<BasicBlock*>(this)->getFirstNonPHIOrDbg();
172 Instruction* BasicBlock::getFirstNonPHIOrDbg() { in getFirstNonPHIOrDbg() function in BasicBlock
1962 if (!TrueSucc->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyCondBranchToTwoReturns()1964 if (!FalseSucc->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyCondBranchToTwoReturns()3387 if (!BB->getFirstNonPHIOrDbg()->isTerminator()) return false; in SimplifyReturn()3556 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in TurnSwitchRangeIntoICmp()3685 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in EliminateDeadSwitchCases()3742 if (BB->getFirstNonPHIOrDbg() != BB->getTerminator()) in FindPHIForConditionForwarding()3999 !isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()))) in InitializeUniqueCases()4592 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in SwitchToLookupTable()4672 PHI->user_back() == CommonDest->getFirstNonPHIOrDbg()) { in SwitchToLookupTable()4876 BasicBlock::iterator I = BB->getFirstNonPHIOrDbg()->getIterator(); in SimplifyUncondBranch()
431 if (isa<UnreachableInst>(Default->getFirstNonPHIOrDbg())) { in processSwitchInst()
124 if (isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()) && in ConstantFoldTerminator()
111 IRBuilder<> Builder(I->getEntryBlock().getFirstNonPHIOrDbg()); in runOnModule()
415 if (!Change && BB->getFirstNonPHIOrDbg() == Ret) in runTRE()
249 BB->getFirstNonPHIOrDbg()->isTerminator()) { in runOnFunction()
247 Instruction *FirstInst = EntryBlock.getFirstNonPHIOrDbg(); in visitAllocaInst()
8493 isa<UnreachableInst>(SI.getDefaultDest()->getFirstNonPHIOrDbg()); in visitSwitch()