llvm::sandboxir::CallBrInst

SandboxIR wrapper for an LLVM callbr instruction.

Synopsis

Declared in <llvm/SandboxIR/Instruction.h>

class CallBrInst final
    : public CallBase

Base Classes

NameDescription
CallBaseBase class for SandboxIR call-like instructions.

Member Functions

NameDescription
arg_begin Return an iterator to the first argument.
arg_empty Return true if there are no arguments.
arg_end Return an iterator past the last argument.
arg_size Return the number of arguments.
args Return a range over the arguments.
data_operands_begin Return an iterator to the first data operand.
data_operands_empty Return true if there are no data operands.
data_operands_end Return an iterator past the last data operand.
data_operands_size Return the number of data operands.
data_ops Return a range over the data operands.
getArgOperand Return the argument operand at index OpIdx.
getArgOperandNo Return the argument number for a Use.
getArgOperandUse Return the Use of an argument operand.
getCalledFunction Return the called function, or nullptr if this is an indirect call.
getCalledOperand Return the called operand.
getCalledOperandUse Return the Use of the called operand.
getCaller Return the function that contains this call.
getCallingConv Return the calling convention.
getDataOperandNo Return the data-operand number for a Use.
getDefaultDest Return the default destination basic block.
getFunctionType Return the function type of the callee.
getIndirectDest Return the indirect destination basic block at index Idx.
getIndirectDestLabel Return the label for indirect destination Idx.
getIndirectDestLabelUse Return the Use of the label for indirect destination Idx.
getIndirectDests Return all indirect destination basic blocks.
getIntrinsicID Return the intrinsic ID if this call is an intrinsic.
getNumIndirectDests Return the number of indirect destinations.
getNumSuccessors Return the number of successors.
getNumTotalBundleOperands Return the total number operands (not operand bundles) used by every operand bundle in this OperandBundleUser.
getSuccessor Return the successor basic block at index Idx.
hasArgument Return true if the given value is used as an argument.
isArgOperand Return true if the Use is an argument operand.
isCallee Return true if the Use is the callee operand.
isDataOperand Return true if the Use is a data operand.
isIndirectCall Return true if this is an indirect call.
isInlineAsm Return true if the callee is inline assembly.
isMustTailCall Return true if this call is marked as a musttail call.
isTailCall Return true if this call is marked as a tail call.
setArgOperand Set an argument operand.
setCalledFunction Set the called function.
setCalledOperand Set the called operand.
setDefaultDest Set the default destination basic block.
setIndirectDest Set an indirect destination basic block.

Static Member Functions

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

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.