CACAO
Static Public Member Functions
cacao::jit::compiler2::x86_64::InstructionEncoding Struct Reference

Static Public Member Functions

template<class T >
static void reg2reg (CodeMemory *CM, T opcode, X86_64Register *reg, X86_64Register *rm)
 
template<class T >
static void reg2rbp_disp8 (CodeMemory *CM, T opcode, X86_64Register *reg, s1 disp)
 
template<class T >
static void reg2rbp_disp32 (CodeMemory *CM, T opcode, X86_64Register *reg, s4 disp)
 
template<class O , class I >
static void reg2imm (CodeMemory *CM, O opcode, X86_64Register *reg, I imm)
 
template<class O , class I >
static void reg2imm_modrm (CodeMemory *CM, O opcode, X86_64Register *reg, X86_64Register *rm, I imm)
 
template<class O , class I >
static void imm_op (CodeMemory *CM, O opcode, I imm)
 
template<class O , class I >
static void imm_op (CodeFragment &code, O opcode, I imm)
 
template<class I , class Seg >
static void imm (Seg seg, I imm)
 
static void emit (CodeMemory *CM, u1 primary_opcode, GPInstruction::OperandSize op_size, MachineOperand *src, MachineOperand *dst, u1 secondary_opcode=0, u1 op_reg=0, u1 prefix=0, bool prefix_0f=false, bool encode_dst=true, bool imm_sign_extended=false)
 

Detailed Description

Definition at line 303 of file X86_64EmitHelper.hpp.

Member Function Documentation

static void cacao::jit::compiler2::x86_64::InstructionEncoding::emit ( CodeMemory CM,
u1  primary_opcode,
GPInstruction::OperandSize  op_size,
MachineOperand src,
MachineOperand dst,
u1  secondary_opcode = 0,
u1  op_reg = 0,
u1  prefix = 0,
bool  prefix_0f = false,
bool  encode_dst = true,
bool  imm_sign_extended = false 
)
inlinestatic

Definition at line 413 of file X86_64EmitHelper.hpp.

template<class I , class Seg >
static void cacao::jit::compiler2::x86_64::InstructionEncoding::imm ( Seg  seg,
I  imm 
)
inlinestatic

Definition at line 404 of file X86_64EmitHelper.hpp.

template<class O , class I >
static void cacao::jit::compiler2::x86_64::InstructionEncoding::imm_op ( CodeMemory CM,
opcode,
I  imm 
)
inlinestatic

Definition at line 380 of file X86_64EmitHelper.hpp.

template<class O , class I >
static void cacao::jit::compiler2::x86_64::InstructionEncoding::imm_op ( CodeFragment code,
opcode,
I  imm 
)
inlinestatic

Definition at line 392 of file X86_64EmitHelper.hpp.

template<class O , class I >
static void cacao::jit::compiler2::x86_64::InstructionEncoding::reg2imm ( CodeMemory CM,
opcode,
X86_64Register reg,
I  imm 
)
inlinestatic

Definition at line 349 of file X86_64EmitHelper.hpp.

template<class O , class I >
static void cacao::jit::compiler2::x86_64::InstructionEncoding::reg2imm_modrm ( CodeMemory CM,
opcode,
X86_64Register reg,
X86_64Register rm,
I  imm 
)
inlinestatic

Definition at line 364 of file X86_64EmitHelper.hpp.

template<class T >
static void cacao::jit::compiler2::x86_64::InstructionEncoding::reg2rbp_disp32 ( CodeMemory CM,
opcode,
X86_64Register reg,
s4  disp 
)
inlinestatic

Definition at line 332 of file X86_64EmitHelper.hpp.

template<class T >
static void cacao::jit::compiler2::x86_64::InstructionEncoding::reg2rbp_disp8 ( CodeMemory CM,
opcode,
X86_64Register reg,
s1  disp 
)
inlinestatic

Definition at line 318 of file X86_64EmitHelper.hpp.

template<class T >
static void cacao::jit::compiler2::x86_64::InstructionEncoding::reg2reg ( CodeMemory CM,
opcode,
X86_64Register reg,
X86_64Register rm 
)
inlinestatic

Definition at line 305 of file X86_64EmitHelper.hpp.


The documentation for this struct was generated from the following file: