Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Utils/
DUnifyFunctionExitNodes.cpp60 else if (isa<UnreachableInst>(I->getTerminator())) in runOnFunction()
88 new UnreachableInst(F.getContext(), UnreachableBlock); in runOnFunction()
DLowerInvoke.cpp567 new UnreachableInst(F.getContext(), UnwindBlock); in insertExpensiveEHSupport()
570 new UnreachableInst(F.getContext(), TermBlock); in insertExpensiveEHSupport()
DSimplifyCFG.cpp68 bool SimplifyUnreachable(UnreachableInst *UI);
1866 new UnreachableInst(OldTerm->getContext(), OldTerm); in SimplifyTerminatorOnSelect()
2237 bool SimplifyCFGOpt::SimplifyUnreachable(UnreachableInst *UI) { in SimplifyUnreachable()
2277 new UnreachableInst(TI->getContext(), TI); in SimplifyUnreachable()
2582 new UnreachableInst(IBI->getContext(), IBI); in SimplifyIndirectBr()
2759 } else if (UnreachableInst *UI = in run()
2760 dyn_cast<UnreachableInst>(BB->getTerminator())) { in run()
DLoopSimplify.cpp175 new UnreachableInst((*I)->getContext(), *I); in ProcessLoop()
DLocal.cpp209 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.h2503 class UnreachableInst : public TerminatorInst {
2506 virtual UnreachableInst *clone_impl() const;
2513 explicit UnreachableInst(LLVMContext &C, Instruction *InsertBefore = 0);
2514 explicit UnreachableInst(LLVMContext &C, BasicBlock *InsertAtEnd);
2519 static inline bool classof(const UnreachableInst *) { return true; }
/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.cpp756 new UnreachableInst(BB->getContext(), Pred); in RemoveBlockIfDead()
946 new UnreachableInst(Context, Abort); in RewriteLoopBodyWithConditionConstant()
/external/llvm/lib/CodeGen/
DStackProtector.cpp258 new UnreachableInst(F->getContext(), FailBB); in CreateFailBB()
DAnalysis.cpp224 (!GuaranteedTailCallOpt || !isa<UnreachableInst>(Term))) return false; in isInTailCallPosition()
DDwarfEHPrepare.cpp527 new UnreachableInst(RI->getContext(), RI); in LowerUnwindsAndResumes()
DSjLjEHPrepare.cpp449 new UnreachableInst(F.getContext(), TrapBlock); in insertSjLjEHSupport()
/external/llvm/lib/Analysis/
DInlineCost.cpp437 if (isa<UnreachableInst>(II->getNormalDest()->begin())) in getInlineBonuses()
439 } else if (isa<UnreachableInst>(++BasicBlock::iterator(TheCall))) in getInlineBonuses()
DLint.cpp95 void visitUnreachableInst(UnreachableInst &I);
538 void Lint::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
DPathNumbering.cpp389 if(isa<ReturnInst>(terminator) || isa<UnreachableInst>(terminator) in buildNode()
/external/llvm/include/llvm/Support/
DInstVisitor.h166 RetTy visitUnreachableInst(UnreachableInst &I) { DELEGATE(TerminatorInst);} in visitUnreachableInst()
DIRBuilder.h482 UnreachableInst *CreateUnreachable() { in CreateUnreachable()
483 return Insert(new UnreachableInst(Context)); in CreateUnreachable()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h73 class UnreachableInst; variable
414 void visitUnreachable(const UnreachableInst &I) { /* noop */ } in visitUnreachable()
/external/llvm/lib/VMCore/
DInstructions.cpp580 UnreachableInst::UnreachableInst(LLVMContext &Context, in UnreachableInst() function in UnreachableInst
585 UnreachableInst::UnreachableInst(LLVMContext &Context, BasicBlock *InsertAtEnd) in UnreachableInst() function in UnreachableInst
590 unsigned UnreachableInst::getNumSuccessorsV() const { in getNumSuccessorsV()
594 void UnreachableInst::setSuccessorV(unsigned idx, BasicBlock *NewSucc) { in setSuccessorV()
598 BasicBlock *UnreachableInst::getSuccessorV(unsigned idx) const { in getSuccessorV()
3184 UnreachableInst *UnreachableInst::clone_impl() const { in clone_impl()
3186 return new UnreachableInst(Context); in clone_impl()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h169 void visitUnreachableInst(UnreachableInst &I);
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp344 } else if (isa<UnreachableInst>(L)) { in diff()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp307 new UnreachableInst(BB->getContext(), BB); in TestBlocks()

12