/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | WasmEHPrepare.cpp | 345 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()
|
D | DwarfEHPrepare.cpp | 222 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/ |
D | DwarfEHPrepare.cpp | 219 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/ |
D | DwarfEHPrepare.cpp | 690 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/ |
D | LowerInvoke.cpp | 492 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/ |
D | echo.cpp | 689 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/ |
D | Instructions.h | 4285 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);
|
D | IRBuilder.h | 722 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/ |
D | Instructions.h | 4540 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);
|
D | IRBuilder.h | 900 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/ |
D | Instructions.cpp | 732 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()
|
D | Core.cpp | 2749 LLVMBasicBlockRef UnwindBB, in LLVMBuildCatchSwitch() argument 2755 return wrap(unwrap(B)->CreateCatchSwitch(unwrap(ParentPad), unwrap(UnwindBB), in LLVMBuildCatchSwitch()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 901 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/ |
D | LLParser.cpp | 5255 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/ |
D | LLParser.cpp | 5758 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/ |
D | CGException.cpp | 886 llvm::BasicBlock *UnwindBB = in emitCatchPadBlock() local 891 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers); in emitCatchPadBlock()
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2469 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/ |
D | LLParser.cpp | 3179 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/ |
D | Core.h | 3155 LLVMBasicBlockRef UnwindBB,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 4104 BasicBlock *UnwindBB = getBasicBlock(Record[OpNum++]); in parseFunctionBody() local 4149 I = InvokeInst::Create(Callee, NormalBB, UnwindBB, Ops, OperandBundles); in parseFunctionBody()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 5092 BasicBlock *UnwindBB = getBasicBlock(Record[OpNum++]); in parseFunctionBody() local 5137 I = InvokeInst::Create(Callee, NormalBB, UnwindBB, Ops, OperandBundles); in parseFunctionBody()
|