Home
last modified time | relevance | path

Searched refs:UnwindBB (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp219 BasicBlock *UnwindBB = RI->getParent(); in InsertUnwindResumeCalls() local
223 CallInst *CI = CallInst::Create(RewindFunction, ExnObj, "", UnwindBB); in InsertUnwindResumeCalls()
227 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
231 BasicBlock *UnwindBB = BasicBlock::Create(Ctx, "unwind_resume", &Fn); in InsertUnwindResumeCalls() local
233 "exn.obj", UnwindBB); in InsertUnwindResumeCalls()
239 BranchInst::Create(UnwindBB, Parent); in InsertUnwindResumeCalls()
248 CallInst *CI = CallInst::Create(RewindFunction, PN, "", UnwindBB); in InsertUnwindResumeCalls()
252 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DDwarfEHPrepare.cpp690 BasicBlock *UnwindBB = BasicBlock::Create(Ctx, "unwind_resume", F); in InsertUnwindResumeCalls() local
692 "exn.obj", UnwindBB); in InsertUnwindResumeCalls()
700 BranchInst::Create(UnwindBB, RI->getParent()); in InsertUnwindResumeCalls()
709 CallInst *CI = CallInst::Create(RewindFunction, PN, "", UnwindBB); in InsertUnwindResumeCalls()
713 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
716 DT->addNewBlock(UnwindBB, UnwindBBDom); in InsertUnwindResumeCalls()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerInvoke.cpp492 BasicBlock *UnwindBB = BasicBlock::Create(F.getContext(), "unwindbb", &F); in insertExpensiveEHSupport() local
493 UnreachablePlaceholder = new UnreachableInst(F.getContext(), UnwindBB); in insertExpensiveEHSupport()
497 SwitchInst::Create(CatchLoad, UnwindBB, Invokes.size(), CatchBB); in insertExpensiveEHSupport()
/external/llvm/include/llvm/IR/
DInstructions.h4285 void init(Value *CleanupPad, BasicBlock *UnwindBB);
4286 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4288 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4298 BasicBlock *UnwindBB = nullptr,
4302 if (UnwindBB)
4305 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore);
4307 static CleanupReturnInst *Create(Value *CleanupPad, BasicBlock *UnwindBB,
4311 if (UnwindBB)
4314 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertAtEnd);
DIRBuilder.h722 BasicBlock *UnwindBB = nullptr) {
723 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
726 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
729 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/external/llvm/lib/IR/
DInstructions.cpp901 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() argument
902 if (UnwindBB) in init()
906 if (UnwindBB) in init()
907 Op<1>() = UnwindBB; in init()
910 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument
916 init(CleanupPad, UnwindBB); in CleanupReturnInst()
919 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument
925 init(CleanupPad, UnwindBB); in CleanupReturnInst()
/external/llvm/lib/AsmParser/
DLLParser.cpp5255 BasicBlock *NormalBB, *UnwindBB; in ParseInvoke() local
5265 ParseTypeAndBasicBlock(UnwindBB, PFS)) in ParseInvoke()
5338 InvokeInst::Create(Ty, Callee, NormalBB, UnwindBB, Args, BundleList); in ParseInvoke()
5404 BasicBlock *UnwindBB = nullptr; in ParseCleanupRet() local
5410 if (ParseTypeAndBasicBlock(UnwindBB, PFS)) { in ParseCleanupRet()
5415 Inst = CleanupReturnInst::Create(CleanupPad, UnwindBB); in ParseCleanupRet()
5473 BasicBlock *UnwindBB = nullptr; in ParseCatchSwitch() local
5478 if (ParseTypeAndBasicBlock(UnwindBB, PFS)) in ParseCatchSwitch()
5483 CatchSwitchInst::Create(ParentPad, UnwindBB, Table.size()); in ParseCatchSwitch()
/external/clang/lib/CodeGen/
DCGException.cpp886 llvm::BasicBlock *UnwindBB = in emitCatchPadBlock() local
891 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers); in emitCatchPadBlock()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp2469 BasicBlock *UnwindBB = getBasicBlock(Record[3]); in ParseFunctionBody() local
2481 if (FTy == 0 || NormalBB == 0 || UnwindBB == 0 || in ParseFunctionBody()
2504 I = InvokeInst::Create(Callee, NormalBB, UnwindBB, Ops); in ParseFunctionBody()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp3179 BasicBlock *NormalBB, *UnwindBB; in ParseInvoke() local
3189 ParseTypeAndBasicBlock(UnwindBB, PFS)) in ParseInvoke()
3251 InvokeInst *II = InvokeInst::Create(Callee, NormalBB, UnwindBB, Args); in ParseInvoke()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp5092 BasicBlock *UnwindBB = getBasicBlock(Record[OpNum++]); in parseFunctionBody() local
5137 I = InvokeInst::Create(Callee, NormalBB, UnwindBB, Ops, OperandBundles); in parseFunctionBody()