Home
last modified time | relevance | path

Searched refs:getFirstNonPHIOrDbg (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/IR/
DBasicBlock.h135 Instruction* getFirstNonPHIOrDbg();
136 const Instruction* getFirstNonPHIOrDbg() const {
137 return const_cast<BasicBlock*>(this)->getFirstNonPHIOrDbg();
/external/llvm/lib/IR/
DBasicBlock.cpp172 Instruction* BasicBlock::getFirstNonPHIOrDbg() { in getFirstNonPHIOrDbg() function in BasicBlock
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1962 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()
DLowerSwitch.cpp431 if (isa<UnreachableInst>(Default->getFirstNonPHIOrDbg())) { in processSwitchInst()
DLocal.cpp124 if (isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()) && in ConstantFoldTerminator()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp111 IRBuilder<> Builder(I->getEntryBlock().getFirstNonPHIOrDbg()); in runOnModule()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp415 if (!Change && BB->getFirstNonPHIOrDbg() == Ret) in runTRE()
DJumpThreading.cpp249 BB->getFirstNonPHIOrDbg()->isTerminator()) { in runOnFunction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp247 Instruction *FirstInst = EntryBlock.getFirstNonPHIOrDbg(); in visitAllocaInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp8493 isa<UnreachableInst>(SI.getDefaultDest()->getFirstNonPHIOrDbg()); in visitSwitch()