IndexCompilerasmjit::InvokeNode

asmjit::InvokeNode Class Reference [¶]

Inheritance diagram for asmjit::InvokeNode:
asmjit::InstNodeWithOperands< InstNode::kBaseOpCapacity > asmjit::InstNode asmjit::BaseNode

Function invocation, used by BaseCompiler.

Public Members

Members

Public Attributes inherited from asmjit::InstNode
Public Attributes inherited from asmjit::BaseNode

Classes

Member Functions

Construction & Destruction

Accessors

Public Member Functions inherited from asmjit::InstNodeWithOperands< InstNode::kBaseOpCapacity >
Public Member Functions inherited from asmjit::InstNode
Public Member Functions inherited from asmjit::BaseNode

Additional Inherited Members

Static Public Attributes inherited from asmjit::InstNode

InvokeNode::InvokeNode(
InstId inst_id,
)noexcept[¶]

Creates a new InvokeNode instance.

Error InvokeNode::init(
const FuncSignature& signature,
const Environment& environment
)nodiscardnoexcept[¶]

Sets the function signature.

FuncDetail& InvokeNode::detail()nodiscardnoexcept[1/2][¶]

Returns the function detail.

const FuncDetail& InvokeNode::detail() constnodiscardnoexcept[2/2][¶]

Returns the function detail.

Operand& InvokeNode::target()nodiscardnoexcept[1/2][¶]

Returns the target operand.

const Operand& InvokeNode::target() constnodiscardnoexcept[2/2][¶]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

bool InvokeNode::has_ret() constnodiscardnoexcept[¶]

Returns the number of function return values.

uint32_t InvokeNode::arg_count() constnodiscardnoexcept[¶]

Returns the number of function arguments.

OperandPack& InvokeNode::ret_pack()nodiscardnoexcept[1/2][¶]

Returns operand pack representing function return value(s).

const OperandPack& InvokeNode::ret_pack() constnodiscardnoexcept[2/2][¶]

Returns operand pack representing function return value(s).

Operand& InvokeNode::ret(
size_t value_index = 0
)nodiscardnoexcept[1/2][¶]

Returns the return value at the given value_index.

const Operand& InvokeNode::ret(
size_t value_index = 0
) constnodiscardnoexcept[2/2][¶]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

OperandPack& InvokeNode::arg_pack(
size_t arg_index
)nodiscardnoexcept[1/2][¶]

Returns operand pack representing function return value(s).

const OperandPack& InvokeNode::arg_pack(
size_t arg_index
) constnodiscardnoexcept[2/2][¶]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Operand& InvokeNode::arg(
size_t arg_index,
size_t value_index
)nodiscardnoexcept[1/2][¶]

Returns a function argument at the given arg_index.

const Operand& InvokeNode::arg(
size_t arg_index,
size_t value_index
) constnodiscardnoexcept[2/2][¶]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

void InvokeNode::_set_ret(
size_t value_index,
const Operand_& op
)noexcept[¶]

Sets the function return value at i to op.

void InvokeNode::_set_arg(
size_t arg_index,
size_t value_index,
const Operand_& op
)noexcept[¶]

Sets the function argument at i to op.

void InvokeNode::set_ret(
size_t value_index,
const Reg& reg
)noexcept[¶]

Sets the function return value at value_index to reg.

void InvokeNode::set_arg(
size_t arg_index,
const Reg& reg
)noexcept[1/4][¶]

Sets the first function argument in a value-pack at arg_index to reg.

void InvokeNode::set_arg(
size_t arg_index,
const Imm& imm
)noexcept[2/4][¶]

Sets the first function argument in a value-pack at arg_index to imm.

void InvokeNode::set_arg(
size_t arg_index,
size_t value_index,
const Reg& reg
)noexcept[3/4][¶]

Sets the function argument at arg_index and value_index to reg.

void InvokeNode::set_arg(
size_t arg_index,
size_t value_index,
const Imm& imm
)noexcept[4/4][¶]

Sets the function argument at arg_index and value_index to imm.

FuncDetail InvokeNode::_func_detail[¶]

Function detail.

OperandPack InvokeNode::_rets[¶]

Function return value(s).

OperandPack* InvokeNode::_args[¶]

Function arguments.