Lines Matching refs:Expr
23 // Return true if Expr is in the range [MinValue, MaxValue].
24 static bool inRange(const MCExpr *Expr, int64_t MinValue, int64_t MaxValue) {
25 if (auto *CE = dyn_cast<MCConstantExpr>(Expr)) {
120 void addExpr(MCInst &Inst, const MCExpr *Expr) const {
122 if (!Expr)
124 else if (auto *CE = dyn_cast<MCConstantExpr>(Expr))
127 Inst.addOperand(MCOperand::createExpr(Expr));
159 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) {
161 Op->Imm = Expr;
768 const MCExpr *Expr, *Length;
769 if (parseAddress(Base, Expr, Index, IsVector, Length, SystemZMC::GR64Regs,
778 Operands.push_back(SystemZOperand::createImm(Expr, StartLoc, EndLoc));
854 const MCExpr *Expr;
856 if (getParser().parseExpression(Expr))
861 if (auto *CE = dyn_cast<MCConstantExpr>(Expr)) {
871 Expr = Value == 0 ? Base : MCBinaryExpr::createAdd(Base, Expr, Ctx);
917 Operands.push_back(SystemZOperand::createImmTLS(Expr, Sym,
920 Operands.push_back(SystemZOperand::createImm(Expr, StartLoc, EndLoc));