Lines Matching refs:Disp

662   bool ParseIntelDotOperator(const MCExpr *Disp, const MCExpr *&NewDisp);
681 CreateMemForInlineAsm(unsigned SegReg, const MCExpr *Disp, unsigned BaseReg,
975 const MCExpr *Disp = MCConstantExpr::Create(0, getContext()); in DefaultMemSIOperand() local
976 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
984 const MCExpr *Disp = MCConstantExpr::Create(0, getContext()); in DefaultMemDIOperand() local
985 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
1013 unsigned SegReg, const MCExpr *Disp, unsigned BaseReg, unsigned IndexReg, in CreateMemForInlineAsm() argument
1018 if (isa<MCSymbolRefExpr>(Disp) && Info.OpDecl && !Info.IsVarDecl) { in CreateMemForInlineAsm()
1028 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size, in CreateMemForInlineAsm()
1035 const MCBinaryExpr *BinOp = dyn_cast<MCBinaryExpr>(Disp); in CreateMemForInlineAsm()
1037 isa<MCSymbolRefExpr>(BinOp ? BinOp->getLHS() : Disp); in CreateMemForInlineAsm()
1051 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in CreateMemForInlineAsm()
1256 const MCExpr *Disp = nullptr; in ParseIntelBracExpression() local
1259 Disp = Sym; in ParseIntelBracExpression()
1266 if (SM.getImm() || !Disp) { in ParseIntelBracExpression()
1268 if (Disp) in ParseIntelBracExpression()
1269 Disp = MCBinaryExpr::CreateAdd(Disp, Imm, getContext()); in ParseIntelBracExpression()
1271 Disp = Imm; // An immediate displacement only. in ParseIntelBracExpression()
1279 if (ParseIntelDotOperator(Disp, NewDisp)) in ParseIntelBracExpression()
1284 Disp = NewDisp; in ParseIntelBracExpression()
1294 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size); in ParseIntelBracExpression()
1295 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseIntelBracExpression()
1303 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in ParseIntelBracExpression()
1308 return CreateMemForInlineAsm(SegReg, Disp, BaseReg, IndexReg, Scale, Start, in ParseIntelBracExpression()
1384 const MCExpr *Disp = MCConstantExpr::Create(ImmDisp, getContext()); in ParseIntelSegmentOverride() local
1385 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseIntelSegmentOverride()
1493 const MCExpr *Disp = MCConstantExpr::Create(SM.getImm(), getContext()); in ParseIntelMemOperand() local
1497 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in ParseIntelMemOperand()
1503 bool X86AsmParser::ParseIntelDotOperator(const MCExpr *Disp, in ParseIntelDotOperator() argument
1510 if (const MCConstantExpr *OrigDisp = dyn_cast<MCConstantExpr>(Disp)) in ParseIntelDotOperator()
1835 const MCExpr *Disp = MCConstantExpr::Create(0, getParser().getContext()); in ParseMemOperand() local
1838 if (getParser().parseExpression(Disp, ExprEnd)) return nullptr; in ParseMemOperand()
1845 return X86Operand::CreateMem(getPointerWidth(), Disp, MemStart, ExprEnd); in ParseMemOperand()
1846 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseMemOperand()
1865 if (getParser().parseParenExpression(Disp, ExprEnd)) in ParseMemOperand()
1873 return X86Operand::CreateMem(getPointerWidth(), Disp, LParenLoc, in ParseMemOperand()
1875 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseMemOperand()
1992 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in ParseMemOperand()
1994 return X86Operand::CreateMem(getPointerWidth(), Disp, MemStart, MemEnd); in ParseMemOperand()
2171 isa<MCConstantExpr>(Op.Mem.Disp) && in ParseInstruction()
2172 cast<MCConstantExpr>(Op.Mem.Disp)->getValue() == 0 && in ParseInstruction()
2183 isa<MCConstantExpr>(Op.Mem.Disp) && in ParseInstruction()
2184 cast<MCConstantExpr>(Op.Mem.Disp)->getValue() == 0 && in ParseInstruction()