llvm::sandboxir::CallBase

Base class for SandboxIR call-like instructions.

Synopsis

Declared in <llvm/SandboxIR/Instruction.h>

class CallBase
    : public SingleLLVMInstructionImpl<llvm::CallBase>

Base Classes

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

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.
getFunctionType Return the function type of the callee.
getIntrinsicID Return the intrinsic ID if this call is an intrinsic.
getNumTotalBundleOperands Return the total number operands (not operand bundles) used by every operand bundle in this OperandBundleUser.
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.

Static Member Functions

NameDescription
classof For isa/dyn_cast.

Friends

NameDescription
llvm::sandboxir::CallBrInstSandboxIR wrapper for an LLVM callbr instruction.
llvm::sandboxir::InvokeInstSandboxIR wrapper for an LLVM invoke instruction.
llvm::sandboxir::CallInstSandboxIR wrapper for an LLVM call instruction.

Non-Member Functions

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

Derived Classes

NameDescription
CallBrInst SandboxIR wrapper for an LLVM callbr instruction.
CallInst SandboxIR wrapper for an LLVM call instruction.
InvokeInst SandboxIR wrapper for an LLVM invoke instruction.