• Home
  • Raw
  • Download

Lines Matching refs:OpNo

34 void AMDGPUInstPrinter::printU4ImmOperand(const MCInst *MI, unsigned OpNo,  in printU4ImmOperand()  argument
36 O << formatHex(MI->getOperand(OpNo).getImm() & 0xf); in printU4ImmOperand()
39 void AMDGPUInstPrinter::printU8ImmOperand(const MCInst *MI, unsigned OpNo, in printU8ImmOperand() argument
41 O << formatHex(MI->getOperand(OpNo).getImm() & 0xff); in printU8ImmOperand()
44 void AMDGPUInstPrinter::printU16ImmOperand(const MCInst *MI, unsigned OpNo, in printU16ImmOperand() argument
46 O << formatHex(MI->getOperand(OpNo).getImm() & 0xffff); in printU16ImmOperand()
49 void AMDGPUInstPrinter::printU32ImmOperand(const MCInst *MI, unsigned OpNo, in printU32ImmOperand() argument
51 O << formatHex(MI->getOperand(OpNo).getImm() & 0xffffffff); in printU32ImmOperand()
54 void AMDGPUInstPrinter::printU4ImmDecOperand(const MCInst *MI, unsigned OpNo, in printU4ImmDecOperand() argument
56 O << formatDec(MI->getOperand(OpNo).getImm() & 0xf); in printU4ImmDecOperand()
59 void AMDGPUInstPrinter::printU8ImmDecOperand(const MCInst *MI, unsigned OpNo, in printU8ImmDecOperand() argument
61 O << formatDec(MI->getOperand(OpNo).getImm() & 0xff); in printU8ImmDecOperand()
64 void AMDGPUInstPrinter::printU16ImmDecOperand(const MCInst *MI, unsigned OpNo, in printU16ImmDecOperand() argument
66 O << formatDec(MI->getOperand(OpNo).getImm() & 0xffff); in printU16ImmDecOperand()
69 void AMDGPUInstPrinter::printNamedBit(const MCInst* MI, unsigned OpNo, in printNamedBit() argument
71 if (MI->getOperand(OpNo).getImm()) { in printNamedBit()
76 void AMDGPUInstPrinter::printOffen(const MCInst *MI, unsigned OpNo, in printOffen() argument
78 printNamedBit(MI, OpNo, O, "offen"); in printOffen()
81 void AMDGPUInstPrinter::printIdxen(const MCInst *MI, unsigned OpNo, in printIdxen() argument
83 printNamedBit(MI, OpNo, O, "idxen"); in printIdxen()
86 void AMDGPUInstPrinter::printAddr64(const MCInst *MI, unsigned OpNo, in printAddr64() argument
88 printNamedBit(MI, OpNo, O, "addr64"); in printAddr64()
91 void AMDGPUInstPrinter::printMBUFOffset(const MCInst *MI, unsigned OpNo, in printMBUFOffset() argument
93 if (MI->getOperand(OpNo).getImm()) { in printMBUFOffset()
95 printU16ImmDecOperand(MI, OpNo, O); in printMBUFOffset()
99 void AMDGPUInstPrinter::printOffset(const MCInst *MI, unsigned OpNo, in printOffset() argument
101 uint16_t Imm = MI->getOperand(OpNo).getImm(); in printOffset()
104 printU16ImmDecOperand(MI, OpNo, O); in printOffset()
108 void AMDGPUInstPrinter::printOffset0(const MCInst *MI, unsigned OpNo, in printOffset0() argument
110 if (MI->getOperand(OpNo).getImm()) { in printOffset0()
112 printU8ImmDecOperand(MI, OpNo, O); in printOffset0()
116 void AMDGPUInstPrinter::printOffset1(const MCInst *MI, unsigned OpNo, in printOffset1() argument
118 if (MI->getOperand(OpNo).getImm()) { in printOffset1()
120 printU8ImmDecOperand(MI, OpNo, O); in printOffset1()
124 void AMDGPUInstPrinter::printSMRDOffset(const MCInst *MI, unsigned OpNo, in printSMRDOffset() argument
126 printU32ImmOperand(MI, OpNo, O); in printSMRDOffset()
129 void AMDGPUInstPrinter::printSMRDLiteralOffset(const MCInst *MI, unsigned OpNo, in printSMRDLiteralOffset() argument
131 printU32ImmOperand(MI, OpNo, O); in printSMRDLiteralOffset()
134 void AMDGPUInstPrinter::printGDS(const MCInst *MI, unsigned OpNo, in printGDS() argument
136 printNamedBit(MI, OpNo, O, "gds"); in printGDS()
139 void AMDGPUInstPrinter::printGLC(const MCInst *MI, unsigned OpNo, in printGLC() argument
141 printNamedBit(MI, OpNo, O, "glc"); in printGLC()
144 void AMDGPUInstPrinter::printSLC(const MCInst *MI, unsigned OpNo, in printSLC() argument
146 printNamedBit(MI, OpNo, O, "slc"); in printSLC()
149 void AMDGPUInstPrinter::printTFE(const MCInst *MI, unsigned OpNo, in printTFE() argument
151 printNamedBit(MI, OpNo, O, "tfe"); in printTFE()
154 void AMDGPUInstPrinter::printDMask(const MCInst *MI, unsigned OpNo, in printDMask() argument
156 if (MI->getOperand(OpNo).getImm()) { in printDMask()
158 printU16ImmOperand(MI, OpNo, O); in printDMask()
162 void AMDGPUInstPrinter::printUNorm(const MCInst *MI, unsigned OpNo, in printUNorm() argument
164 printNamedBit(MI, OpNo, O, "unorm"); in printUNorm()
167 void AMDGPUInstPrinter::printDA(const MCInst *MI, unsigned OpNo, in printDA() argument
169 printNamedBit(MI, OpNo, O, "da"); in printDA()
172 void AMDGPUInstPrinter::printR128(const MCInst *MI, unsigned OpNo, in printR128() argument
174 printNamedBit(MI, OpNo, O, "r128"); in printR128()
177 void AMDGPUInstPrinter::printLWE(const MCInst *MI, unsigned OpNo, in printLWE() argument
179 printNamedBit(MI, OpNo, O, "lwe"); in printLWE()
293 void AMDGPUInstPrinter::printVOPDst(const MCInst *MI, unsigned OpNo, in printVOPDst() argument
304 printOperand(MI, OpNo, O); in printVOPDst()
370 void AMDGPUInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
373 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
386 int RCID = Desc.OpInfo[OpNo].RegClass; in printOperand()
395 } else if (Desc.OpInfo[OpNo].OperandType == MCOI::OPERAND_IMMEDIATE) { in printOperand()
409 const MCRegisterClass &ImmRC = MRI.getRegClass(Desc.OpInfo[OpNo].RegClass); in printOperand()
427 unsigned OpNo, in printOperandAndFPInputMods() argument
429 unsigned InputModifiers = MI->getOperand(OpNo).getImm(); in printOperandAndFPInputMods()
434 printOperand(MI, OpNo + 1, O); in printOperandAndFPInputMods()
440 unsigned OpNo, in printOperandAndIntInputMods() argument
442 unsigned InputModifiers = MI->getOperand(OpNo).getImm(); in printOperandAndIntInputMods()
445 printOperand(MI, OpNo + 1, O); in printOperandAndIntInputMods()
451 void AMDGPUInstPrinter::printDPPCtrl(const MCInst *MI, unsigned OpNo, in printDPPCtrl() argument
453 unsigned Imm = MI->getOperand(OpNo).getImm(); in printDPPCtrl()
462 printU4ImmDecOperand(MI, OpNo, O); in printDPPCtrl()
465 printU4ImmDecOperand(MI, OpNo, O); in printDPPCtrl()
468 printU4ImmDecOperand(MI, OpNo, O); in printDPPCtrl()
490 void AMDGPUInstPrinter::printRowMask(const MCInst *MI, unsigned OpNo, in printRowMask() argument
493 printU4ImmOperand(MI, OpNo, O); in printRowMask()
496 void AMDGPUInstPrinter::printBankMask(const MCInst *MI, unsigned OpNo, in printBankMask() argument
499 printU4ImmOperand(MI, OpNo, O); in printBankMask()
502 void AMDGPUInstPrinter::printBoundCtrl(const MCInst *MI, unsigned OpNo, in printBoundCtrl() argument
504 unsigned Imm = MI->getOperand(OpNo).getImm(); in printBoundCtrl()
510 void AMDGPUInstPrinter::printSDWASel(const MCInst *MI, unsigned OpNo, in printSDWASel() argument
512 unsigned Imm = MI->getOperand(OpNo).getImm(); in printSDWASel()
525 void AMDGPUInstPrinter::printSDWADstSel(const MCInst *MI, unsigned OpNo, in printSDWADstSel() argument
528 printSDWASel(MI, OpNo, O); in printSDWADstSel()
531 void AMDGPUInstPrinter::printSDWASrc0Sel(const MCInst *MI, unsigned OpNo, in printSDWASrc0Sel() argument
534 printSDWASel(MI, OpNo, O); in printSDWASrc0Sel()
537 void AMDGPUInstPrinter::printSDWASrc1Sel(const MCInst *MI, unsigned OpNo, in printSDWASrc1Sel() argument
540 printSDWASel(MI, OpNo, O); in printSDWASrc1Sel()
543 void AMDGPUInstPrinter::printSDWADstUnused(const MCInst *MI, unsigned OpNo, in printSDWADstUnused() argument
546 unsigned Imm = MI->getOperand(OpNo).getImm(); in printSDWADstUnused()
570 void AMDGPUInstPrinter::printMemOperand(const MCInst *MI, unsigned OpNo, in printMemOperand() argument
572 printOperand(MI, OpNo, O); in printMemOperand()
574 printOperand(MI, OpNo + 1, O); in printMemOperand()
577 void AMDGPUInstPrinter::printIfSet(const MCInst *MI, unsigned OpNo, in printIfSet() argument
580 const MCOperand &Op = MI->getOperand(OpNo); in printIfSet()
589 void AMDGPUInstPrinter::printIfSet(const MCInst *MI, unsigned OpNo, in printIfSet() argument
591 const MCOperand &Op = MI->getOperand(OpNo); in printIfSet()
597 void AMDGPUInstPrinter::printAbs(const MCInst *MI, unsigned OpNo, in printAbs() argument
599 printIfSet(MI, OpNo, O, '|'); in printAbs()
602 void AMDGPUInstPrinter::printClamp(const MCInst *MI, unsigned OpNo, in printClamp() argument
604 printIfSet(MI, OpNo, O, "_SAT"); in printClamp()
607 void AMDGPUInstPrinter::printClampSI(const MCInst *MI, unsigned OpNo, in printClampSI() argument
609 if (MI->getOperand(OpNo).getImm()) in printClampSI()
613 void AMDGPUInstPrinter::printOModSI(const MCInst *MI, unsigned OpNo, in printOModSI() argument
615 int Imm = MI->getOperand(OpNo).getImm(); in printOModSI()
624 void AMDGPUInstPrinter::printLiteral(const MCInst *MI, unsigned OpNo, in printLiteral() argument
626 const MCOperand &Op = MI->getOperand(OpNo); in printLiteral()
637 void AMDGPUInstPrinter::printLast(const MCInst *MI, unsigned OpNo, in printLast() argument
639 printIfSet(MI, OpNo, O, "*", " "); in printLast()
642 void AMDGPUInstPrinter::printNeg(const MCInst *MI, unsigned OpNo, in printNeg() argument
644 printIfSet(MI, OpNo, O, '-'); in printNeg()
647 void AMDGPUInstPrinter::printOMOD(const MCInst *MI, unsigned OpNo, in printOMOD() argument
649 switch (MI->getOperand(OpNo).getImm()) { in printOMOD()
663 void AMDGPUInstPrinter::printRel(const MCInst *MI, unsigned OpNo, in printRel() argument
665 printIfSet(MI, OpNo, O, '+'); in printRel()
668 void AMDGPUInstPrinter::printUpdateExecMask(const MCInst *MI, unsigned OpNo, in printUpdateExecMask() argument
670 printIfSet(MI, OpNo, O, "ExecMask,"); in printUpdateExecMask()
673 void AMDGPUInstPrinter::printUpdatePred(const MCInst *MI, unsigned OpNo, in printUpdatePred() argument
675 printIfSet(MI, OpNo, O, "Pred,"); in printUpdatePred()
678 void AMDGPUInstPrinter::printWrite(const MCInst *MI, unsigned OpNo, in printWrite() argument
680 const MCOperand &Op = MI->getOperand(OpNo); in printWrite()
686 void AMDGPUInstPrinter::printSel(const MCInst *MI, unsigned OpNo, in printSel() argument
689 int sel = MI->getOperand(OpNo).getImm(); in printSel()
710 void AMDGPUInstPrinter::printBankSwizzle(const MCInst *MI, unsigned OpNo, in printBankSwizzle() argument
712 int BankSwizzle = MI->getOperand(OpNo).getImm(); in printBankSwizzle()
735 void AMDGPUInstPrinter::printRSel(const MCInst *MI, unsigned OpNo, in printRSel() argument
737 unsigned Sel = MI->getOperand(OpNo).getImm(); in printRSel()
765 void AMDGPUInstPrinter::printCT(const MCInst *MI, unsigned OpNo, in printCT() argument
767 unsigned CT = MI->getOperand(OpNo).getImm(); in printCT()
780 void AMDGPUInstPrinter::printKCache(const MCInst *MI, unsigned OpNo, in printKCache() argument
782 int KCacheMode = MI->getOperand(OpNo).getImm(); in printKCache()
784 int KCacheBank = MI->getOperand(OpNo - 2).getImm(); in printKCache()
786 int KCacheAddr = MI->getOperand(OpNo + 2).getImm(); in printKCache()
792 void AMDGPUInstPrinter::printSendMsg(const MCInst *MI, unsigned OpNo, in printSendMsg() argument
796 const unsigned SImm16 = MI->getOperand(OpNo).getImm(); in printSendMsg()
832 void AMDGPUInstPrinter::printWaitFlag(const MCInst *MI, unsigned OpNo, in printWaitFlag() argument
834 unsigned SImm16 = MI->getOperand(OpNo).getImm(); in printWaitFlag()
860 void AMDGPUInstPrinter::printHwreg(const MCInst *MI, unsigned OpNo, in printHwreg() argument
864 unsigned SImm16 = MI->getOperand(OpNo).getImm(); in printHwreg()