Searched refs:X86MCExpr (Results 1 – 2 of 2) sorted by relevance
26 class X86MCExpr : public MCTargetExpr {31 explicit X86MCExpr(int64_t R) : RegNo(R) {} in X86MCExpr() function37 static const X86MCExpr *create(int64_t RegNo, MCContext &Ctx) { in create()38 return new (Ctx) X86MCExpr(RegNo); in create()63 if (auto *E = dyn_cast<X86MCExpr>(X)) in isEqualTo()
2768 check(isa<X86MCExpr>(Val), L, "expected immediate expression")) in parseATTOperand()2790 if (auto *RE = dyn_cast<X86MCExpr>(Expr)) { in parseATTOperand()3011 return isa<X86MCExpr>(V); in ParseMemOperand()3022 assert(!isa<X86MCExpr>(Disp) && "Expected non-register here."); in ParseMemOperand()3052 check(!isa<X86MCExpr>(E), BaseLoc, "expected register here")) in ParseMemOperand()3056 BaseReg = cast<X86MCExpr>(E)->getRegNo(); in ParseMemOperand()3073 if (!isa<X86MCExpr>(E)) { in ParseMemOperand()3083 IndexReg = cast<X86MCExpr>(E)->getRegNo(); in ParseMemOperand()3182 Res = X86MCExpr::create(RegNo, Parser.getContext()); in parsePrimaryExpr()