Lines Matching refs:Mem
113 MemOp Mem; member
165 Op->Mem.RegKind = RegKind; in createMem()
166 Op->Mem.Base = Base; in createMem()
167 Op->Mem.Index = Index; in createMem()
168 Op->Mem.Disp = Disp; in createMem()
169 Op->Mem.Length = Length; in createMem()
231 Mem.RegKind == RegKind && in isMem()
232 (MemKind == BDXMem || !Mem.Index) && in isMem()
233 (MemKind == BDLMem) == (Mem.Length != nullptr)); in isMem()
236 return isMem(RegKind, MemKind) && inRange(Mem.Disp, 0, 0xfff); in isMemDisp12()
239 return isMem(RegKind, MemKind) && inRange(Mem.Disp, -524288, 524287); in isMemDisp20()
242 return isMemDisp12(RegKind, BDLMem) && inRange(Mem.Length, 1, 0x100); in isMemDisp12Len8()
267 assert(Kind == KindMem && Mem.Index == 0 && "Invalid operand type"); in addBDAddrOperands()
268 Inst.addOperand(MCOperand::CreateReg(Mem.Base)); in addBDAddrOperands()
269 addExpr(Inst, Mem.Disp); in addBDAddrOperands()
274 Inst.addOperand(MCOperand::CreateReg(Mem.Base)); in addBDXAddrOperands()
275 addExpr(Inst, Mem.Disp); in addBDXAddrOperands()
276 Inst.addOperand(MCOperand::CreateReg(Mem.Index)); in addBDXAddrOperands()
281 Inst.addOperand(MCOperand::CreateReg(Mem.Base)); in addBDLAddrOperands()
282 addExpr(Inst, Mem.Disp); in addBDLAddrOperands()
283 addExpr(Inst, Mem.Length); in addBDLAddrOperands()