Home
last modified time | relevance | path

Searched refs:MemOperand (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/backend/testing/include/x86_64/
Dmem_operand.h30 class MemOperand {
34 MemOperand() : addr_mode_(kAddrModeInvalid), scale_(MachineMemOperandScale::kOne), disp_(0) {} in MemOperand() function
36 static MemOperand MakeBaseDisp(MachineReg base, int32_t disp) { in MakeBaseDisp()
37 return MemOperand( in MakeBaseDisp()
42 static MemOperand MakeIndexDisp(MachineReg index, int32_t disp) { in MakeIndexDisp()
47 return MemOperand(kAddrModeIndexDisp, kInvalidMachineReg, index, scale, disp); in MakeIndexDisp()
51 static MemOperand MakeBaseIndexDisp(MachineReg base, MachineReg index, int32_t disp) { in MakeBaseIndexDisp()
52 return MemOperand(kAddrModeBaseIndexDisp, base, index, scale, disp); in MakeBaseIndexDisp()
84 MemOperand(AddrMode addr_mode, in MemOperand() function
100 void GenArgsMem(MachineIRBuilder* builder, const MemOperand& mem_operand, Args... args) { in GenArgsMem()
[all …]
/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_exec_test.cc458 TEST(ExecMachineIR, MemOperand) { in TEST() argument
486 x86_64::MemOperand mem_base_disp = in TEST()
487 x86_64::MemOperand::MakeBaseDisp(base_reg, offsetof(Data, in_base_disp)); in TEST()
496 x86_64::MemOperand mem_index_disp = in TEST()
497 x86_64::MemOperand::MakeIndexDisp<x86_64::MachineMemOperandScale::kTwo>( in TEST()
509 x86_64::MemOperand mem_base_index_disp = in TEST()
510 x86_64::MemOperand::MakeBaseIndexDisp<x86_64::MachineMemOperandScale::kFour>( in TEST()