Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/backend/testing/include/x86_64/
Dmem_operand.h34 MemOperand() : addr_mode_(kAddrModeInvalid), scale_(MachineMemOperandScale::kOne), disp_(0) {} in MemOperand()
55 AddrMode addr_mode() const { return addr_mode_; } in addr_mode()
58 CHECK(addr_mode_ == kAddrModeBaseDisp || addr_mode_ == kAddrModeBaseIndexDisp); in base()
63 CHECK(addr_mode_ == kAddrModeIndexDisp || addr_mode_ == kAddrModeBaseIndexDisp); in index()
68 CHECK(addr_mode_ == kAddrModeIndexDisp || addr_mode_ == kAddrModeBaseIndexDisp); in scale()
73 CHECK_NE(addr_mode_, kAddrModeInvalid); in disp()
77 bool IsValid() const { return addr_mode_ != kAddrModeInvalid; } in IsValid()
89 : addr_mode_(addr_mode), base_(base), index_(index), scale_(scale), disp_(disp) {} in MemOperand()
91 const AddrMode addr_mode_; variable