Lines Matching refs:MCOp
58 unsigned getMachineOpValue(const MCInst &Inst, const MCOperand &MCOp,
113 const MCInst &Inst, const MCOperand &MCOp, SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument
115 if (MCOp.isReg()) in getMachineOpValue()
116 return getLanaiRegisterNumbering(MCOp.getReg()); in getMachineOpValue()
117 if (MCOp.isImm()) in getMachineOpValue()
118 return static_cast<unsigned>(MCOp.getImm()); in getMachineOpValue()
121 assert(MCOp.isExpr()); in getMachineOpValue()
122 const MCExpr *Expr = MCOp.getExpr(); in getMachineOpValue()
133 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue()
294 const MCOperand &MCOp = Inst.getOperand(OpNo); in getCallTargetOpValue() local
295 if (MCOp.isReg() || MCOp.isImm()) in getCallTargetOpValue()
296 return getMachineOpValue(Inst, MCOp, Fixups, SubtargetInfo); in getCallTargetOpValue()
299 0, MCOp.getExpr(), static_cast<MCFixupKind>(Lanai::FIXUP_LANAI_25))); in getCallTargetOpValue()
307 const MCOperand &MCOp = Inst.getOperand(OpNo); in getBranchTargetOpValue() local
308 if (MCOp.isReg() || MCOp.isImm()) in getBranchTargetOpValue()
309 return getMachineOpValue(Inst, MCOp, Fixups, SubtargetInfo); in getBranchTargetOpValue()
312 0, MCOp.getExpr(), static_cast<MCFixupKind>(Lanai::FIXUP_LANAI_25))); in getBranchTargetOpValue()