Home
last modified time | relevance | path

Searched refs:X86MCExpr (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCExpr.h25 class X86MCExpr : public MCTargetExpr {
30 explicit X86MCExpr(int64_t R) : RegNo(R) {} in X86MCExpr() function
36 static const X86MCExpr *create(int64_t RegNo, MCContext &Ctx) { in create()
37 return new (Ctx) X86MCExpr(RegNo); in create()
62 if (auto *E = dyn_cast<X86MCExpr>(X)) in isEqualTo()
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86MCExpr.h25 class X86MCExpr : public MCTargetExpr {
30 explicit X86MCExpr(int64_t R) : RegNo(R) {} in X86MCExpr() function
36 static const X86MCExpr *create(int64_t RegNo, MCContext &Ctx) { in create()
37 return new (Ctx) X86MCExpr(RegNo); in create()
62 if (auto *E = dyn_cast<X86MCExpr>(X)) in isEqualTo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp2032 check(isa<X86MCExpr>(Val), L, "expected immediate expression")) in ParseATTOperand()
2053 if (auto *RE = dyn_cast<X86MCExpr>(Expr)) { in ParseATTOperand()
2264 return isa<X86MCExpr>(V); in ParseMemOperand()
2275 assert(!isa<X86MCExpr>(Disp) && "Expected non-register here."); in ParseMemOperand()
2302 check(!isa<X86MCExpr>(E), BaseLoc, "expected register here")) in ParseMemOperand()
2306 BaseReg = cast<X86MCExpr>(E)->getRegNo(); in ParseMemOperand()
2324 if (!isa<X86MCExpr>(E)) { in ParseMemOperand()
2334 IndexReg = cast<X86MCExpr>(E)->getRegNo(); in ParseMemOperand()
2398 Res = X86MCExpr::create(RegNo, Parser.getContext()); in parsePrimaryExpr()
/external/llvm-project/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp2628 check(isa<X86MCExpr>(Val), L, "expected immediate expression")) in ParseATTOperand()
2650 if (auto *RE = dyn_cast<X86MCExpr>(Expr)) { in ParseATTOperand()
2870 return isa<X86MCExpr>(V); in ParseMemOperand()
2881 assert(!isa<X86MCExpr>(Disp) && "Expected non-register here."); in ParseMemOperand()
2911 check(!isa<X86MCExpr>(E), BaseLoc, "expected register here")) in ParseMemOperand()
2915 BaseReg = cast<X86MCExpr>(E)->getRegNo(); in ParseMemOperand()
2932 if (!isa<X86MCExpr>(E)) { in ParseMemOperand()
2942 IndexReg = cast<X86MCExpr>(E)->getRegNo(); in ParseMemOperand()
3012 Res = X86MCExpr::create(RegNo, Parser.getContext()); in parsePrimaryExpr()