InstructionCallValue

Functions in this group apply to instructions that refer to call sites and invocations.

These correspond to C++ types in the llvm::CallInst or InvokeInst class tree.

Alias This

value

Members

Functions

asInstr
auto asInstr()
Undocumented in source. Be warned that the author may not have intended to support it.
asValue
auto asValue()
Undocumented in source. Be warned that the author may not have intended to support it.
calledValue
FunctionValue calledValue()

Obtain the pointer to the function invoked by this instruction.

isTailCall
bool isTailCall()

Obtain whether a call instruction is a tail call.

normalDest
BasicBlock normalDest()

Return the normal destination basic block.

numArgOperands
auto numArgOperands()

Obtain the argument count for a call instruction.

setNormalDest
void setNormalDest(BasicBlock bb)

Set the normal destination basic block.

setTailCall
void setTailCall(bool onoff)

Set whether a call instruction is a tail call.

setUnwindDest
void setUnwindDest(BasicBlock bb)

Set the unwind destination basic block.

unwindDest
BasicBlock unwindDest()

Return the unwind destination basic block.

Variables

value
LxInstructionCallValue value;
Undocumented in source.

Meta