Lines Matching defs:Disp
498 X86Operand *ParseIntelDotOperator(const MCExpr *Disp, const MCExpr *&NewDisp);
511 X86Operand *CreateMemForInlineAsm(unsigned SegReg, const MCExpr *Disp,
639 const MCExpr *Disp;
693 return Mem.Disp;
963 static X86Operand *CreateMem(const MCExpr *Disp, SMLoc StartLoc, SMLoc EndLoc,
968 Res->Mem.Disp = Disp;
980 static X86Operand *CreateMem(unsigned SegReg, const MCExpr *Disp,
995 Res->Mem.Disp = Disp;
1014 isa<MCConstantExpr>(Op.Mem.Disp) &&
1015 cast<MCConstantExpr>(Op.Mem.Disp)->getValue() == 0 &&
1024 isa<MCConstantExpr>(Op.Mem.Disp) &&
1025 cast<MCConstantExpr>(Op.Mem.Disp)->getValue() == 0 &&
1159 X86AsmParser::CreateMemForInlineAsm(unsigned SegReg, const MCExpr *Disp,
1164 if (isa<MCSymbolRefExpr>(Disp)) {
1186 return X86Operand::CreateMem(SegReg, Disp, BaseReg, IndexReg, Scale, Start,
1200 // bracketed expression (i.e., ImmDisp [ BaseReg + Scale*IndexReg + Disp])
1350 const MCExpr *Disp;
1353 Disp = Sym;
1360 Disp = MCConstantExpr::Create(SM.getImm(), getContext());
1366 if (X86Operand *Err = ParseIntelDotOperator(Disp, NewDisp))
1371 Disp = NewDisp;
1381 return X86Operand::CreateMem(Disp, Start, End, Size);
1383 return X86Operand::CreateMem(SegReg, Disp, 0, 0, 1, Start, End, Size);
1385 return X86Operand::CreateMem(SegReg, Disp, BaseReg, IndexReg, Scale, Start,
1390 return CreateMemForInlineAsm(SegReg, Disp, BaseReg, IndexReg, Scale, Start,
1442 // Parse ImmDisp [ BaseReg + Scale*IndexReg + Disp ].
1485 X86Operand *X86AsmParser::ParseIntelDotOperator(const MCExpr *Disp,
1491 if (const MCConstantExpr *OrigDisp = dyn_cast<MCConstantExpr>(Disp))
1641 // Parse ImmDisp [ BaseReg + Scale*IndexReg + Disp ].
1654 return ParseIntelMemOperand(/*SegReg=*/RegNo, /*Disp=*/0, Start);
1658 return ParseIntelMemOperand(/*SegReg=*/0, /*Disp=*/0, Start);
1697 /// ParseMemOperand: segment: disp(basereg, indexreg, scale). The '%ds:' prefix
1705 const MCExpr *Disp = MCConstantExpr::Create(0, getParser().getContext());
1708 if (getParser().parseExpression(Disp, ExprEnd)) return 0;
1715 return X86Operand::CreateMem(Disp, MemStart, ExprEnd);
1716 return X86Operand::CreateMem(SegReg, Disp, 0, 0, 1, MemStart, ExprEnd);
1734 if (getParser().parseParenExpression(Disp, ExprEnd))
1742 return X86Operand::CreateMem(Disp, LParenLoc, ExprEnd);
1743 return X86Operand::CreateMem(SegReg, Disp, 0, 0, 1, MemStart, ExprEnd);
1850 return X86Operand::CreateMem(SegReg, Disp, BaseReg, IndexReg, Scale,
1992 isa<MCConstantExpr>(Op.Mem.Disp) &&
1993 cast<MCConstantExpr>(Op.Mem.Disp)->getValue() == 0 &&
2005 isa<MCConstantExpr>(Op.Mem.Disp) &&
2006 cast<MCConstantExpr>(Op.Mem.Disp)->getValue() == 0 &&