ΒΆllvm::BasicBlock*
changeToInvokeAndSplitBasicBlock(
llvm::CallInst* CI,
llvm::BasicBlock* UnwindEdge)
llvm::BasicBlock*
changeToInvokeAndSplitBasicBlock(
llvm::CallInst* CI,
llvm::BasicBlock* UnwindEdge)
Description
Convert the CallInst to InvokeInst with the specified unwind edge basic block. This also splits the basic block where CI is located, because InvokeInst is a terminator instruction. Returns the newly split basic block.
Declared at: llvm/include/llvm/Transforms/Utils/Local.h:405
Parameters
- llvm::CallInst* CI
- llvm::BasicBlock* UnwindEdge