Home
last modified time | relevance | path

Searched refs:UnreachableInst (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DUnifyFunctionExitNodes.cpp56 else if (isa<UnreachableInst>(I.getTerminator())) in runOnFunction()
67 new UnreachableInst(F.getContext(), UnreachableBlock); in runOnFunction()
DLocal.cpp124 if (isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()) && in ConstantFoldTerminator()
269 new UnreachableInst(BB->getContext(), BB); in ConstantFoldTerminator()
1207 new UnreachableInst(I->getContext(), I); in changeToUnreachable()
1280 if (!isa<UnreachableInst>(BBI)) { in markAliveBlocks()
DSimplifyCFG.cpp144 bool SimplifyUnreachable(UnreachableInst *UI);
2936 new UnreachableInst(OldTerm->getContext(), OldTerm); in SimplifyTerminatorOnSelect()
3435 bool SimplifyCFGOpt::SimplifyUnreachable(UnreachableInst *UI) { in SimplifyUnreachable()
3491 new UnreachableInst(TI->getContext(), TI); in SimplifyUnreachable()
3520 new UnreachableInst(TI->getContext(), TI); in SimplifyUnreachable()
3556 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in TurnSwitchRangeIntoICmp()
3685 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in EliminateDeadSwitchCases()
3698 new UnreachableInst(SI->getContext(), OldTI); in EliminateDeadSwitchCases()
3999 !isa<UnreachableInst>(DefaultDest->getFirstNonPHIOrDbg()))) in InitializeUniqueCases()
4592 !isa<UnreachableInst>(SI->getDefaultDest()->getFirstNonPHIOrDbg()); in SwitchToLookupTable()
[all …]
DFlattenCFG.cpp299 new UnreachableInst(CB->getContext(), CB); in FlattenParallelAndOr()
DLowerSwitch.cpp431 if (isa<UnreachableInst>(Default->getFirstNonPHIOrDbg())) { in processSwitchInst()
DLoopSimplify.cpp499 new UnreachableInst(P->getContext(), P); in simplifyOneLoop()
DBasicBlockUtils.cpp718 CheckTerm = new UnreachableInst(C, ThenBlock); in SplitBlockAndInsertIfThen()
/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp170 new UnreachableInst(Ctx, RI); in pruneUnreachableResumes()
227 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
252 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
DAnalysis.cpp506 (!TM.Options.GuaranteedTailCallOpt || !isa<UnreachableInst>(Term))) in isInTailCallPosition()
/external/llvm/include/llvm/
DLinkAllIR.h47 (void)new llvm::UnreachableInst(llvm::getGlobalContext()); in ForceVMCoreLinking()
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp226 if (CI->doesNotReturn() && !isa<UnreachableInst>(I)) { in SimplifyFunction()
235 new UnreachableInst(BB->getContext(), &*BB); in SimplifyFunction()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp349 new UnreachableInst(Context, BB); in assureFPCallStub()
496 new UnreachableInst(FStub->getContext(), BB); in createFPFnStub()
/external/llvm/lib/Analysis/
DInlineCost.cpp161 bool visitUnreachableInst(UnreachableInst &I);
920 bool CallAnalyzer::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
1138 if (isa<UnreachableInst>(II->getNormalDest()->begin())) in analyzeCall()
1140 } else if (isa<UnreachableInst>(++BasicBlock::iterator(Instr))) in analyzeCall()
DLint.cpp100 void visitUnreachableInst(UnreachableInst &I);
603 void Lint::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
DBranchProbabilityInfo.cpp125 if (isa<UnreachableInst>(TI)) in calcUnreachableHeuristics()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h175 void visitUnreachableInst(UnreachableInst &I);
/external/llvm/lib/IR/
DInstructions.cpp989 UnreachableInst::UnreachableInst(LLVMContext &Context, in UnreachableInst() function in UnreachableInst
994 UnreachableInst::UnreachableInst(LLVMContext &Context, BasicBlock *InsertAtEnd) in UnreachableInst() function in UnreachableInst
999 unsigned UnreachableInst::getNumSuccessorsV() const { in getNumSuccessorsV()
1003 void UnreachableInst::setSuccessorV(unsigned idx, BasicBlock *NewSucc) { in setSuccessorV()
1007 BasicBlock *UnreachableInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
3977 UnreachableInst *UnreachableInst::cloneImpl() const { in cloneImpl()
3979 return new UnreachableInst(Context); in cloneImpl()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h79 class UnreachableInst; variable
738 void visitUnreachable(const UnreachableInst &I);
/external/llvm/include/llvm/IR/
DInstVisitor.h171 RetTy visitUnreachableInst(UnreachableInst &I) { DELEGATE(TerminatorInst);} in visitUnreachableInst()
DInstruction.def116 HANDLE_TERM_INST ( 7, Unreachable , UnreachableInst)
DInstructions.h4261 class UnreachableInst : public TerminatorInst {
4267 UnreachableInst *cloneImpl() const;
4274 explicit UnreachableInst(LLVMContext &C, Instruction *InsertBefore = nullptr);
4275 explicit UnreachableInst(LLVMContext &C, BasicBlock *InsertAtEnd);
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp444 if (isa<UnreachableInst>(BB.getTerminator())) in InjectCoverageAtBlock()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp344 } else if (isa<UnreachableInst>(L)) { in diff()
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp274 new UnreachableInst(Context, BB); in createDummyFunction()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp383 new UnreachableInst(BB->getContext(), &*BB); in TestBlocks()

12