Lines Matching refs:disp

114   int32_t disp() const {  in disp()  function
174 void SetDisp8(int8_t disp) { in SetDisp8() argument
176 encoding_[length_++] = static_cast<uint8_t>(disp); in SetDisp8()
179 void SetDisp32(int32_t disp) { in SetDisp32() argument
181 int disp_size = sizeof(disp); in SetDisp32()
182 memmove(&encoding_[length_], &disp, disp_size); in SetDisp32()
211 Address(CpuRegister base_in, int32_t disp) { in Address() argument
212 Init(base_in, disp); in Address()
215 Address(CpuRegister base_in, Offset disp) { in Address() argument
216 Init(base_in, disp.Int32Value()); in Address()
219 Address(CpuRegister base_in, FrameOffset disp) { in Address() argument
221 Init(CpuRegister(RSP), disp.Int32Value()); in Address()
224 Address(CpuRegister base_in, MemberOffset disp) { in Address() argument
225 Init(base_in, disp.Int32Value()); in Address()
228 void Init(CpuRegister base_in, int32_t disp) { in Init() argument
229 if (disp == 0 && base_in.LowBits() != RBP) { in Init()
234 } else if (disp >= -128 && disp <= 127) { in Init()
239 SetDisp8(disp); in Init()
245 SetDisp32(disp); in Init()
249 Address(CpuRegister index_in, ScaleFactor scale_in, int32_t disp) { in Address() argument
253 SetDisp32(disp); in Address()
256 Address(CpuRegister base_in, CpuRegister index_in, ScaleFactor scale_in, int32_t disp) { in Address() argument
258 if (disp == 0 && base_in.LowBits() != RBP) { in Address()
261 } else if (disp >= -128 && disp <= 127) { in Address()
264 SetDisp8(disp); in Address()
268 SetDisp32(disp); in Address()
306 static Address displace(const Address &addr, int32_t disp) { in displace() argument
307 const int32_t new_disp = addr.disp() + disp; in displace()