asmjit::InvokeNode Class Reference

Function invocation, used by BaseCompiler.

Public Members

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

Member Functions

Construction & Destruction
Accessors
- Public Member Functions inherited from asmjit::InstNode
- Public Member Functions inherited from asmjit::BaseNode

Additional Inherited Members

- Public Types inherited from asmjit::InstNode
- Public Types inherited from asmjit::BaseNode

Constructor & Destructor Documentation

InvokeNode::InvokeNode(BaseBuilder* cb, uint32_t instId, uint32_t options)noexcept

Creates a new InvokeNode instance.

Member Function Documentation

Error InvokeNode::init(const FuncSignature& signature, const Environment& environment)noexcept

Sets the function signature.

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

Returns the function detail.

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

Returns the function detail.

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

Returns the target operand.

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

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

uint32_t InvokeNode::argCount() constnoexcept

Returns the number of function arguments.

uint32_t InvokeNode::retCount() constnoexcept

Returns the number of function return values.

Operand& InvokeNode::ret(uint32_t i = 0)noexcept[1/2]

Returns the return value at i.

const Operand& InvokeNode::ret(uint32_t i = 0) constnoexcept[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(uint32_t i)noexcept[1/2]

Returns the function argument at i.

const Operand& InvokeNode::arg(uint32_t i) constnoexcept[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::_setArg(uint32_t i, const Operand_& op)noexcept

Sets the function argument at i to op.

bool InvokeNode::_setRet(uint32_t i, const Operand_& op)noexcept

Sets the function return value at i to op.

bool InvokeNode::setArg(uint32_t i, const BaseReg& reg)noexcept[1/2]

Sets the function argument at i to reg.

bool InvokeNode::setArg(uint32_t i, const Imm& imm)noexcept[2/2]

Sets the function argument at i to imm.

bool InvokeNode::setRet(uint32_t i, const BaseReg& reg)noexcept

Sets the function return value at i to var.

Member Data Documentation

FuncDetail InvokeNode::_funcDetail

Function detail.

Operand_ InvokeNode::_rets[2]

Returns.

Operand_* InvokeNode::_args

Arguments.