llvm::sandboxir::CleanupReturnInst

SandboxIR wrapper for an LLVM cleanupret instruction.

Synopsis

Declared in <llvm/SandboxIR/Instruction.h>

class CleanupReturnInst
    : public SingleLLVMInstructionImpl<llvm::CleanupReturnInst>

Base Classes

NameDescription
SingleLLVMInstructionImpl<llvm::CleanupReturnInst>Instructions that contain a single LLVM Instruction can inherit from this.

Member Functions

NameDescription
getCleanupPad Return the cleanup pad operand.
getNumSuccessors Return the number of successors.
getUnwindDest Return the unwind destination basic block.
hasUnwindDest Return true if this instruction has an unwind destination.
setCleanupPad Set the cleanup pad operand.
setUnwindDest Set the unwind destination basic block.
unwindsToCaller Return true if unwinding returns to the caller.

Static Member Functions

NameDescription
classof For isa/dyn_cast.
create Create and insert a new CleanupReturnInst.

Friends

NameDescription
llvm::sandboxir::ContextOwns SandboxIR objects, maps them to LLVM IR, and tracks IR changes.

Non-Member Functions

NameDescription
getLoadStoreAddressSpaceReturn the address space of a load or store pointer.