Lines Matching refs:MCOp
58 unsigned getMachineOpValue(const MCInst &Inst, const MCOperand &MCOp,
111 const MCInst &Inst, const MCOperand &MCOp, SmallVectorImpl<MCFixup> &Fixups,
113 if (MCOp.isReg())
114 return getLanaiRegisterNumbering(MCOp.getReg());
115 if (MCOp.isImm())
116 return static_cast<unsigned>(MCOp.getImm());
118 // MCOp must be an expression
119 assert(MCOp.isExpr());
120 const MCExpr *Expr = MCOp.getExpr();
131 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr))));
291 const MCOperand &MCOp = Inst.getOperand(OpNo);
292 if (MCOp.isReg() || MCOp.isImm())
293 return getMachineOpValue(Inst, MCOp, Fixups, SubtargetInfo);
296 0, MCOp.getExpr(), static_cast<MCFixupKind>(Lanai::FIXUP_LANAI_25)));