Lines Matching refs:OpNo
217 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitMSInlineAsmStr() local
223 if (OpNo >= MI->getNumOperands()) break; in EmitMSInlineAsmStr()
224 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitMSInlineAsmStr()
225 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitMSInlineAsmStr()
231 if (OpNo >= MI->getNumOperands() || in EmitMSInlineAsmStr()
232 MI->getOperand(OpNo).isMetadata()) { in EmitMSInlineAsmStr()
235 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitMSInlineAsmStr()
236 ++OpNo; // Skip over the ID number. in EmitMSInlineAsmStr()
239 Error = AP->PrintAsmMemoryOperand(MI, OpNo, InlineAsmVariant, in EmitMSInlineAsmStr()
242 Error = AP->PrintAsmOperand(MI, OpNo, InlineAsmVariant, in EmitMSInlineAsmStr()
383 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitGCCInlineAsmStr() local
389 if (OpNo >= MI->getNumOperands()) break; in EmitGCCInlineAsmStr()
390 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitGCCInlineAsmStr()
391 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitGCCInlineAsmStr()
397 if (OpNo >= MI->getNumOperands() || in EmitGCCInlineAsmStr()
398 MI->getOperand(OpNo).isMetadata()) { in EmitGCCInlineAsmStr()
401 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitGCCInlineAsmStr()
402 ++OpNo; // Skip over the ID number. in EmitGCCInlineAsmStr()
406 OS << *MI->getOperand(OpNo).getMBB()->getSymbol(); in EmitGCCInlineAsmStr()
409 Error = AP->PrintAsmMemoryOperand(MI, OpNo, InlineAsmVariant, in EmitGCCInlineAsmStr()
413 Error = AP->PrintAsmOperand(MI, OpNo, InlineAsmVariant, in EmitGCCInlineAsmStr()
535 bool AsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmOperand() argument
542 const MachineOperand &MO = MI->getOperand(OpNo); in PrintAsmOperand()
561 bool AsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmMemoryOperand() argument