Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp244 BasicBlock *UnwindBB = RI->getParent(); in InsertUnwindResumeCalls() local
252 CallInst::Create(RewindFunction, RewindFunctionArgs, "", UnwindBB); in InsertUnwindResumeCalls()
264 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
273 BasicBlock *UnwindBB = BasicBlock::Create(Ctx, "unwind_resume", &F); in InsertUnwindResumeCalls() local
275 "exn.obj", UnwindBB); in InsertUnwindResumeCalls()
281 BranchInst::Create(UnwindBB, Parent); in InsertUnwindResumeCalls()
282 Updates.push_back({DominatorTree::Insert, Parent, UnwindBB}); in InsertUnwindResumeCalls()
295 CallInst::Create(RewindFunction, RewindFunctionArgs, "", UnwindBB); in InsertUnwindResumeCalls()
307 new UnreachableInst(Ctx, UnwindBB); in InsertUnwindResumeCalls()
H A DWasmEHPrepare.cpp391 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo() local
392 if (!UnwindBB) in calculateWasmEHInfo()
394 const Instruction *UnwindPad = UnwindBB->getFirstNonPHI(); in calculateWasmEHInfo()
399 EHInfo.setUnwindDest(&BB, UnwindBB); in calculateWasmEHInfo()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp976 llvm::BasicBlock *UnwindBB = in emitCatchPadBlock() local
981 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers); in emitCatchPadBlock()
1020 llvm::BasicBlock *UnwindBB = in emitWasmCatchPadBlock() local
1025 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers); in emitWasmCatchPadBlock()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp971 void CleanupReturnInst::init(Value *CleanupPad, BasicBlock *UnwindBB) { in init() argument
972 if (UnwindBB) in init()
976 if (UnwindBB) in init()
977 Op<1>() = UnwindBB; in init()
980 CleanupReturnInst::CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, in CleanupReturnInst() argument
987 init(CleanupPad, UnwindBB); in CleanupReturnInst()
H A DCore.cpp3445 LLVMBasicBlockRef UnwindBB, in LLVMBuildCatchSwitch() argument
3451 return wrap(unwrap(B)->CreateCatchSwitch(unwrap(ParentPad), unwrap(UnwindBB), in LLVMBuildCatchSwitch()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h4262 CleanupReturnInst(Value *CleanupPad, BasicBlock *UnwindBB, unsigned Values,
4265 void init(Value *CleanupPad, BasicBlock *UnwindBB);
4275 BasicBlock *UnwindBB = nullptr,
4279 if (UnwindBB)
4282 CleanupReturnInst(CleanupPad, UnwindBB, Values, InsertBefore);
H A DIRBuilder.h1242 BasicBlock *UnwindBB = nullptr) {
1243 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
1246 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
1249 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp7297 BasicBlock *NormalBB, *UnwindBB; in parseInvoke() local
7308 parseTypeAndBasicBlock(UnwindBB, PFS)) in parseInvoke()
7358 InvokeInst::Create(Ty, Callee, NormalBB, UnwindBB, Args, BundleList); in parseInvoke()
7424 BasicBlock *UnwindBB = nullptr; in parseCleanupRet() local
7430 if (parseTypeAndBasicBlock(UnwindBB, PFS)) { in parseCleanupRet()
7435 Inst = CleanupReturnInst::Create(CleanupPad, UnwindBB); in parseCleanupRet()
7491 BasicBlock *UnwindBB = nullptr; in parseCatchSwitch() local
7496 if (parseTypeAndBasicBlock(UnwindBB, PFS)) in parseCatchSwitch()
7501 CatchSwitchInst::Create(ParentPad, UnwindBB, Table.size()); in parseCatchSwitch()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2574 BasicBlock *UnwindBB = nullptr; in shouldBelongToSameSet() local
2578 if (!UnwindBB) in shouldBelongToSameSet()
2579 UnwindBB = CurrUnwindBB; in shouldBelongToSameSet()
2581 assert(UnwindBB == CurrUnwindBB && "Unexpected unwind destination."); in shouldBelongToSameSet()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h4212 LLVMBasicBlockRef UnwindBB,
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5740 BasicBlock *UnwindBB = getBasicBlock(Record[OpNum++]); in parseFunctionBody() local
5799 I = InvokeInst::Create(FTy, Callee, NormalBB, UnwindBB, Ops, in parseFunctionBody()