Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWasmEHPrepare.cpp345 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo() local
346 if (!UnwindBB) in calculateWasmEHInfo()
348 const Instruction *UnwindPad = UnwindBB->getFirstNonPHI(); in calculateWasmEHInfo()
353 EHInfo.setEHPadUnwindDest(&BB, UnwindBB); in calculateWasmEHInfo()
360 BasicBlock *UnwindBB = nullptr; in calculateWasmEHInfo() local
362 UnwindBB = Invoke->getUnwindDest(); in calculateWasmEHInfo()
364 UnwindBB = CleanupRet->getUnwindDest(); in calculateWasmEHInfo()
365 if (!UnwindBB) in calculateWasmEHInfo()
367 const Instruction *UnwindPad = UnwindBB->getFirstNonPHI(); in calculateWasmEHInfo()
372 EHInfo.setThrowUnwindDest(&BB, UnwindBB); in calculateWasmEHInfo()
DDwarfEHPrepare.cpp222 BasicBlock *UnwindBB = RI->getParent(); in InsertUnwindResumeCalls() local
226 CallInst *CI = CallInst::Create(RewindFunction, ExnObj, "", UnwindBB); in InsertUnwindResumeCalls()
230 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
234 BasicBlock *UnwindBB = BasicBlock::Create(Ctx, "unwind_resume", &Fn); in InsertUnwindResumeCalls() local
236 "exn.obj", UnwindBB); in InsertUnwindResumeCalls()
242 BranchInst::Create(UnwindBB, Parent); in InsertUnwindResumeCalls()
251 CallInst *CI = CallInst::Create(RewindFunction, PN, "", UnwindBB); in InsertUnwindResumeCalls()
255 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Decho.cpp689 LLVMBasicBlockRef UnwindBB = nullptr; in CloneInstruction() local
691 UnwindBB = DeclareBB(UDest); in CloneInstruction()
694 Dst = LLVMBuildCatchSwitch(Builder, ParentPad, UnwindBB, NumHandlers, Name); in CloneInstruction()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstructions.h4540 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4542 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4545 void init(Value *CleanupPad, BasicBlock *UnwindBB);
4555 BasicBlock *UnwindBB = nullptr,
4559 if (UnwindBB)
4562 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore);
4565 static CleanupReturnInst *Create(Value *CleanupPad, BasicBlock *UnwindBB,
4569 if (UnwindBB)
4572 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertAtEnd);
DIRBuilder.h900 BasicBlock *UnwindBB = nullptr) {
901 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
904 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
907 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp732 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() argument
733 if (UnwindBB) in init()
737 if (UnwindBB) in init()
738 Op<1>() = UnwindBB; in init()
741 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument
747 init(CleanupPad, UnwindBB); in CleanupReturnInst()
750 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument
756 init(CleanupPad, UnwindBB); in CleanupReturnInst()
DCore.cpp2749 LLVMBasicBlockRef UnwindBB, in LLVMBuildCatchSwitch() argument
2755 return wrap(unwrap(B)->CreateCatchSwitch(unwrap(ParentPad), unwrap(UnwindBB), in LLVMBuildCatchSwitch()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.cpp5758 BasicBlock *NormalBB, *UnwindBB; in ParseInvoke() local
5768 ParseTypeAndBasicBlock(UnwindBB, PFS)) in ParseInvoke()
5830 InvokeInst::Create(Ty, Callee, NormalBB, UnwindBB, Args, BundleList); in ParseInvoke()
5896 BasicBlock *UnwindBB = nullptr; in ParseCleanupRet() local
5902 if (ParseTypeAndBasicBlock(UnwindBB, PFS)) { in ParseCleanupRet()
5907 Inst = CleanupReturnInst::Create(CleanupPad, UnwindBB); in ParseCleanupRet()
5964 BasicBlock *UnwindBB = nullptr; in ParseCatchSwitch() local
5969 if (ParseTypeAndBasicBlock(UnwindBB, PFS)) in ParseCatchSwitch()
5974 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/
DCore.h3155 LLVMBasicBlockRef UnwindBB,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4104 BasicBlock *UnwindBB = getBasicBlock(Record[OpNum++]); in parseFunctionBody() local
4149 I = InvokeInst::Create(Callee, NormalBB, UnwindBB, Ops, OperandBundles); in parseFunctionBody()
/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()