Searched refs:getFirstNonPHIOrDbg (Results 1 – 17 of 17) sorted by relevance
137 Instruction* getFirstNonPHIOrDbg();138 const Instruction* getFirstNonPHIOrDbg() const {139 return const_cast<BasicBlock*>(this)->getFirstNonPHIOrDbg();
144 Instruction* getFirstNonPHIOrDbg();145 const Instruction* getFirstNonPHIOrDbg() const { in getFirstNonPHIOrDbg() function146 return const_cast<BasicBlock*>(this)->getFirstNonPHIOrDbg(); in getFirstNonPHIOrDbg()
143 Instruction* getFirstNonPHIOrDbg();144 const Instruction* getFirstNonPHIOrDbg() const {145 return const_cast<BasicBlock*>(this)->getFirstNonPHIOrDbg();
565 for (BasicBlock::iterator II = LP->getFirstNonPHIOrDbg(), IE = LP->end(); in MoveExceptionValueCalls()600 for (BasicBlock::iterator II = BB->getFirstNonPHIOrDbg(), IE = BB->end(); in MoveExceptionValueCalls()629 for (BasicBlock::iterator II = BB->getFirstNonPHIOrDbg(), IE = BB->end(); in MoveExceptionValueCalls()647 Instruction *Start = BB->getFirstNonPHIOrDbg(); in CreateExceptionValueCall()
140 Instruction* BasicBlock::getFirstNonPHIOrDbg() { in getFirstNonPHIOrDbg() function in BasicBlock
187 Instruction* BasicBlock::getFirstNonPHIOrDbg() { in getFirstNonPHIOrDbg() function in BasicBlock
271 if (PBB->getFirstNonPHIOrDbg() != I) in DominatesMergePoint()1390 if (!TrueSucc->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyCondBranchToTwoReturns()1392 if (!FalseSucc->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyCondBranchToTwoReturns()2190 if (!BB->getFirstNonPHIOrDbg()->isTerminator()) return false; in SimplifyReturn()2243 if (!BB->getFirstNonPHIOrDbg()->isTerminator()) return false; in SimplifyUnwind()2522 if (BB->getFirstNonPHIOrDbg() != BB->getTerminator()) in FindPHIForConditionForwarding()
2071 if (!TrueSucc->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyCondBranchToTwoReturns()2073 if (!FalseSucc->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyCondBranchToTwoReturns()3663 if (!BB->getFirstNonPHIOrDbg()->isTerminator()) in SimplifyReturn()3879 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in TurnSwitchRangeIntoICmp()4021 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in EliminateDeadSwitchCases()4077 if (BB->getFirstNonPHIOrDbg() != BB->getTerminator()) in FindPHIForConditionForwarding()4338 !isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()))) in InitializeUniqueCases()4926 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in SwitchToLookupTable()5003 PHI->user_back() == CommonDest->getFirstNonPHIOrDbg()) { in SwitchToLookupTable()5215 BasicBlock::iterator I = BB->getFirstNonPHIOrDbg()->getIterator(); in SimplifyUncondBranch()
425 if (isa<UnreachableInst>(Default->getFirstNonPHIOrDbg())) { in processSwitchInst()
127 if (isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()) && in ConstantFoldTerminator()
111 IRBuilder<> Builder(I->getEntryBlock().getFirstNonPHIOrDbg()); in runOnModule()
188 if (!Change && BB->getFirstNonPHIOrDbg() == Ret) in runOnFunction()
183 BB->getFirstNonPHIOrDbg()->isTerminator()) { in runOnFunction()
770 if (!Change && BB->getFirstNonPHIOrDbg() == Ret) in eliminateTailRecursion()
228 BB->getFirstNonPHIOrDbg()->isTerminator() && !LoopHeaders.count(BB)) { in runImpl()
249 Instruction *FirstInst = EntryBlock.getFirstNonPHIOrDbg(); in visitAllocaInst()
9046 isa<UnreachableInst>(SI.getDefaultDest()->getFirstNonPHIOrDbg()); in visitSwitch()