Lines Matching refs:MO
26 MCOperand AVRMCInstLower::lowerSymbolOperand(const MachineOperand &MO, in lowerSymbolOperand() argument
28 unsigned char TF = MO.getTargetFlags(); in lowerSymbolOperand()
34 if (!MO.isJTI() && MO.getOffset()) { in lowerSymbolOperand()
36 Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx); in lowerSymbolOperand()
39 bool IsFunction = MO.isGlobal() && isa<Function>(MO.getGlobal()); in lowerSymbolOperand()
65 for (MachineOperand const &MO : MI.operands()) { in lowerInstruction()
68 switch (MO.getType()) { in lowerInstruction()
74 if (MO.isImplicit()) in lowerInstruction()
76 MCOp = MCOperand::createReg(MO.getReg()); in lowerInstruction()
79 MCOp = MCOperand::createImm(MO.getImm()); in lowerInstruction()
82 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerInstruction()
86 MO, Printer.GetExternalSymbolSymbol(MO.getSymbolName())); in lowerInstruction()
90 MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), Ctx)); in lowerInstruction()
96 MO, Printer.GetBlockAddressSymbol(MO.getBlockAddress())); in lowerInstruction()
99 MCOp = lowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerInstruction()
102 MCOp = lowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerInstruction()