Home
last modified time | relevance | path

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

12

/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp34 new UnreachableInst(Mod->getContext(), Entry); in makeLLVMModule()
37 new UnreachableInst(Mod->getContext(), BB); in makeLLVMModule()
/external/llvm/lib/Transforms/Utils/
DUnifyFunctionExitNodes.cpp57 else if (isa<UnreachableInst>(I->getTerminator())) in runOnFunction()
68 new UnreachableInst(F.getContext(), UnreachableBlock); in runOnFunction()
DLowerInvoke.cpp393 UnreachableInst* UnreachablePlaceholder = 0; in insertExpensiveEHSupport()
474 UnreachablePlaceholder = new UnreachableInst(F.getContext(), UnwindBB); in insertExpensiveEHSupport()
547 new UnreachableInst(F.getContext(), UnwindBlock); in insertExpensiveEHSupport()
550 new UnreachableInst(F.getContext(), TermBlock); in insertExpensiveEHSupport()
DSimplifyCFG.cpp72 bool SimplifyUnreachable(UnreachableInst *UI);
1982 new UnreachableInst(OldTerm->getContext(), OldTerm); in SimplifyTerminatorOnSelect()
2353 bool SimplifyCFGOpt::SimplifyUnreachable(UnreachableInst *UI) { in SimplifyUnreachable()
2409 new UnreachableInst(TI->getContext(), TI); in SimplifyUnreachable()
2722 new UnreachableInst(IBI->getContext(), IBI); in SimplifyIndirectBr()
2969 } else if (UnreachableInst *UI = in run()
2970 dyn_cast<UnreachableInst>(BB->getTerminator())) { in run()
DLoopSimplify.cpp176 new UnreachableInst((*I)->getContext(), *I); in ProcessLoop()
DLocal.cpp210 new UnreachableInst(BB->getContext(), BB); in ConstantFoldTerminator()
/external/llvm/include/llvm/
DLinkAllVMCore.h47 (void)new llvm::UnreachableInst(llvm::getGlobalContext()); in ForceVMCoreLinking()
DInstruction.def103 HANDLE_TERM_INST ( 7, Unreachable, UnreachableInst)
DInstructions.h3124 class UnreachableInst : public TerminatorInst {
3127 virtual UnreachableInst *clone_impl() const;
3134 explicit UnreachableInst(LLVMContext &C, Instruction *InsertBefore = 0);
3135 explicit UnreachableInst(LLVMContext &C, BasicBlock *InsertAtEnd);
3140 static inline bool classof(const UnreachableInst *) { return true; }
/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp149 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
176 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
DStackProtector.cpp253 new UnreachableInst(F->getContext(), FailBB); in CreateFailBB()
DAnalysis.cpp229 !isa<UnreachableInst>(Term))) return false; in isInTailCallPosition()
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp209 if (CI->doesNotReturn() && !isa<UnreachableInst>(I)) { in SimplifyFunction()
218 new UnreachableInst(BB->getContext(), BB); in SimplifyFunction()
/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp79 new UnreachableInst(I->getContext(), I); in ChangeToUnreachable()
131 if (!isa<UnreachableInst>(BBI)) { in MarkAliveBlocks()
DLoopUnswitch.cpp976 new UnreachableInst(BB->getContext(), Pred); in RemoveBlockIfDead()
1174 new UnreachableInst(Context, Abort); in RewriteLoopBodyWithConditionConstant()
/external/llvm/include/llvm/Support/
DInstVisitor.h166 RetTy visitUnreachableInst(UnreachableInst &I) { DELEGATE(TerminatorInst);} in visitUnreachableInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h74 class UnreachableInst; variable
432 void visitUnreachable(const UnreachableInst &I) { /* noop */ } in visitUnreachable()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h174 void visitUnreachableInst(UnreachableInst &I);
/external/llvm/lib/VMCore/
DInstructions.cpp671 UnreachableInst::UnreachableInst(LLVMContext &Context, in UnreachableInst() function in UnreachableInst
676 UnreachableInst::UnreachableInst(LLVMContext &Context, BasicBlock *InsertAtEnd) in UnreachableInst() function in UnreachableInst
681 unsigned UnreachableInst::getNumSuccessorsV() const { in getNumSuccessorsV()
685 void UnreachableInst::setSuccessorV(unsigned idx, BasicBlock *NewSucc) { in setSuccessorV()
689 BasicBlock *UnreachableInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
3504 UnreachableInst *UnreachableInst::clone_impl() const { in clone_impl()
3506 return new UnreachableInst(Context); in clone_impl()
/external/llvm/lib/Analysis/
DLint.cpp96 void visitUnreachableInst(UnreachableInst &I);
541 void Lint::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
DPathNumbering.cpp389 if(isa<ReturnInst>(terminator) || isa<UnreachableInst>(terminator) || in buildNode()
DInlineCost.cpp841 if (isa<UnreachableInst>(II->getNormalDest()->begin())) in analyzeCall()
843 } else if (isa<UnreachableInst>(++BasicBlock::iterator(CS.getInstruction()))) in analyzeCall()
DBranchProbabilityInfo.cpp100 if (isa<UnreachableInst>(TI)) in calcUnreachableHeuristics()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp307 new UnreachableInst(BB->getContext(), BB); in TestBlocks()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp348 } else if (isa<UnreachableInst>(L)) { in diff()

12