Lines Matching refs:MO
36 SystemZMCInstLower::getExpr(const MachineOperand &MO, in getExpr() argument
40 switch (MO.getType()) { in getExpr()
42 Symbol = MO.getMBB()->getSymbol(); in getExpr()
47 Symbol = AsmPrinter.getSymbol(MO.getGlobal()); in getExpr()
51 Symbol = AsmPrinter.GetExternalSymbolSymbol(MO.getSymbolName()); in getExpr()
55 Symbol = AsmPrinter.GetJTISymbol(MO.getIndex()); in getExpr()
60 Symbol = AsmPrinter.GetCPISymbol(MO.getIndex()); in getExpr()
64 Symbol = AsmPrinter.GetBlockAddressSymbol(MO.getBlockAddress()); in getExpr()
72 if (int64_t Offset = MO.getOffset()) { in getExpr()
79 MCOperand SystemZMCInstLower::lowerOperand(const MachineOperand &MO) const { in lowerOperand()
80 switch (MO.getType()) { in lowerOperand()
82 return MCOperand::createReg(MO.getReg()); in lowerOperand()
85 return MCOperand::createImm(MO.getImm()); in lowerOperand()
88 MCSymbolRefExpr::VariantKind Kind = getVariantKind(MO.getTargetFlags()); in lowerOperand()
89 return MCOperand::createExpr(getExpr(MO, Kind)); in lowerOperand()
96 for (const MachineOperand &MO : MI->operands()) in lower() local
98 if (!MO.isReg() || !MO.isImplicit()) in lower()
99 OutMI.addOperand(lowerOperand(MO)); in lower()