Lines Matching refs:O

31                                            raw_ostream &O) {  in printU8ImmOperand()  argument
32 O << formatHex(MI->getOperand(OpNo).getImm() & 0xff); in printU8ImmOperand()
36 raw_ostream &O) { in printU16ImmOperand() argument
37 O << formatHex(MI->getOperand(OpNo).getImm() & 0xffff); in printU16ImmOperand()
41 raw_ostream &O) { in printU32ImmOperand() argument
42 O << formatHex(MI->getOperand(OpNo).getImm() & 0xffffffff); in printU32ImmOperand()
46 raw_ostream &O) { in printU8ImmDecOperand() argument
47 O << formatDec(MI->getOperand(OpNo).getImm() & 0xff); in printU8ImmDecOperand()
51 raw_ostream &O) { in printU16ImmDecOperand() argument
52 O << formatDec(MI->getOperand(OpNo).getImm() & 0xffff); in printU16ImmDecOperand()
56 raw_ostream &O) { in printOffen() argument
58 O << " offen"; in printOffen()
62 raw_ostream &O) { in printIdxen() argument
64 O << " idxen"; in printIdxen()
68 raw_ostream &O) { in printAddr64() argument
70 O << " addr64"; in printAddr64()
74 raw_ostream &O) { in printMBUFOffset() argument
76 O << " offset:"; in printMBUFOffset()
77 printU16ImmDecOperand(MI, OpNo, O); in printMBUFOffset()
82 raw_ostream &O) { in printDSOffset() argument
85 O << " offset:"; in printDSOffset()
86 printU16ImmDecOperand(MI, OpNo, O); in printDSOffset()
91 raw_ostream &O) { in printDSOffset0() argument
93 O << " offset0:"; in printDSOffset0()
94 printU8ImmDecOperand(MI, OpNo, O); in printDSOffset0()
99 raw_ostream &O) { in printDSOffset1() argument
101 O << " offset1:"; in printDSOffset1()
102 printU8ImmDecOperand(MI, OpNo, O); in printDSOffset1()
107 raw_ostream &O) { in printGDS() argument
109 O << " gds"; in printGDS()
113 raw_ostream &O) { in printGLC() argument
115 O << " glc"; in printGLC()
119 raw_ostream &O) { in printSLC() argument
121 O << " slc"; in printSLC()
125 raw_ostream &O) { in printTFE() argument
127 O << " tfe"; in printTFE()
130 void AMDGPUInstPrinter::printRegOperand(unsigned reg, raw_ostream &O, in printRegOperand() argument
134 O << "vcc"; in printRegOperand()
137 O << "scc"; in printRegOperand()
140 O << "exec"; in printRegOperand()
143 O << "m0"; in printRegOperand()
146 O << "flat_scratch"; in printRegOperand()
149 O << "vcc_lo"; in printRegOperand()
152 O << "vcc_hi"; in printRegOperand()
155 O << "exec_lo"; in printRegOperand()
158 O << "exec_hi"; in printRegOperand()
161 O << "flat_scratch_lo"; in printRegOperand()
164 O << "flat_scratch_hi"; in printRegOperand()
207 O << getRegisterName(reg); in printRegOperand()
215 O << Type << RegIdx; in printRegOperand()
219 O << Type << '[' << RegIdx << ':' << (RegIdx + NumRegs - 1) << ']'; in printRegOperand()
223 raw_ostream &O) { in printVOPDst() argument
225 O << "_e64 "; in printVOPDst()
227 O << "_e32 "; in printVOPDst()
229 printOperand(MI, OpNo, O); in printVOPDst()
232 void AMDGPUInstPrinter::printImmediate32(uint32_t Imm, raw_ostream &O) { in printImmediate32() argument
235 O << SImm; in printImmediate32()
240 O << "0.0"; in printImmediate32()
242 O << "1.0"; in printImmediate32()
244 O << "-1.0"; in printImmediate32()
246 O << "0.5"; in printImmediate32()
248 O << "-0.5"; in printImmediate32()
250 O << "2.0"; in printImmediate32()
252 O << "-2.0"; in printImmediate32()
254 O << "4.0"; in printImmediate32()
256 O << "-4.0"; in printImmediate32()
258 O << formatHex(static_cast<uint64_t>(Imm)); in printImmediate32()
261 void AMDGPUInstPrinter::printImmediate64(uint64_t Imm, raw_ostream &O) { in printImmediate64() argument
264 O << SImm; in printImmediate64()
269 O << "0.0"; in printImmediate64()
271 O << "1.0"; in printImmediate64()
273 O << "-1.0"; in printImmediate64()
275 O << "0.5"; in printImmediate64()
277 O << "-0.5"; in printImmediate64()
279 O << "2.0"; in printImmediate64()
281 O << "-2.0"; in printImmediate64()
283 O << "4.0"; in printImmediate64()
285 O << "-4.0"; in printImmediate64()
291 O << formatHex(static_cast<uint64_t>(Imm)); in printImmediate64()
296 raw_ostream &O) { in printOperand() argument
306 printRegOperand(Op.getReg(), O, MRI); in printOperand()
315 printImmediate32(Op.getImm(), O); in printOperand()
317 printImmediate64(Op.getImm(), O); in printOperand()
321 printImmediate32(Op.getImm(), O); in printOperand()
326 O << formatDec(Op.getImm()); in printOperand()
331 O << "0.0"; in printOperand()
337 printImmediate32(FloatToBits(Op.getFPImm()), O); in printOperand()
339 printImmediate64(DoubleToBits(Op.getFPImm()), O); in printOperand()
345 Exp->print(O, &MAI); in printOperand()
352 raw_ostream &O) { in printOperandAndMods() argument
355 O << '-'; in printOperandAndMods()
357 O << '|'; in printOperandAndMods()
358 printOperand(MI, OpNo + 1, O); in printOperandAndMods()
360 O << '|'; in printOperandAndMods()
364 raw_ostream &O) { in printInterpSlot() argument
368 O << "P0"; in printInterpSlot()
370 O << "P20"; in printInterpSlot()
372 O << "P10"; in printInterpSlot()
379 raw_ostream &O) { in printMemOperand() argument
380 printOperand(MI, OpNo, O); in printMemOperand()
381 O << ", "; in printMemOperand()
382 printOperand(MI, OpNo + 1, O); in printMemOperand()
386 raw_ostream &O, StringRef Asm, in printIfSet() argument
391 O << Asm; in printIfSet()
393 O << Default; in printIfSet()
398 raw_ostream &O) { in printAbs() argument
399 printIfSet(MI, OpNo, O, "|"); in printAbs()
403 raw_ostream &O) { in printClamp() argument
404 printIfSet(MI, OpNo, O, "_SAT"); in printClamp()
408 raw_ostream &O) { in printClampSI() argument
410 O << " clamp"; in printClampSI()
414 raw_ostream &O) { in printOModSI() argument
417 O << " mul:2"; in printOModSI()
419 O << " mul:4"; in printOModSI()
421 O << " div:2"; in printOModSI()
425 raw_ostream &O) { in printLiteral() argument
427 O << Imm << '(' << BitsToFloat(Imm) << ')'; in printLiteral()
431 raw_ostream &O) { in printLast() argument
432 printIfSet(MI, OpNo, O, "*", " "); in printLast()
436 raw_ostream &O) { in printNeg() argument
437 printIfSet(MI, OpNo, O, "-"); in printNeg()
441 raw_ostream &O) { in printOMOD() argument
445 O << " * 2.0"; in printOMOD()
448 O << " * 4.0"; in printOMOD()
451 O << " / 2.0"; in printOMOD()
457 raw_ostream &O) { in printRel() argument
458 printIfSet(MI, OpNo, O, "+"); in printRel()
462 raw_ostream &O) { in printUpdateExecMask() argument
463 printIfSet(MI, OpNo, O, "ExecMask,"); in printUpdateExecMask()
467 raw_ostream &O) { in printUpdatePred() argument
468 printIfSet(MI, OpNo, O, "Pred,"); in printUpdatePred()
472 raw_ostream &O) { in printWrite() argument
475 O << " (MASKED)"; in printWrite()
480 raw_ostream &O) { in printSel() argument
491 O << cb << '[' << sel << ']'; in printSel()
494 O << sel; in printSel()
496 O << sel; in printSel()
500 O << '.' << chans[chan]; in printSel()
504 raw_ostream &O) { in printBankSwizzle() argument
508 O << "BS:VEC_021/SCL_122"; in printBankSwizzle()
511 O << "BS:VEC_120/SCL_212"; in printBankSwizzle()
514 O << "BS:VEC_102/SCL_221"; in printBankSwizzle()
517 O << "BS:VEC_201"; in printBankSwizzle()
520 O << "BS:VEC_210"; in printBankSwizzle()
529 raw_ostream &O) { in printRSel() argument
533 O << 'X'; in printRSel()
536 O << 'Y'; in printRSel()
539 O << 'Z'; in printRSel()
542 O << 'W'; in printRSel()
545 O << '0'; in printRSel()
548 O << '1'; in printRSel()
551 O << '_'; in printRSel()
559 raw_ostream &O) { in printCT() argument
563 O << 'U'; in printCT()
566 O << 'N'; in printCT()
574 raw_ostream &O) { in printKCache() argument
578 O << "CB" << KCacheBank << ':'; in printKCache()
581 O << KCacheAddr * 16 << '-' << KCacheAddr * 16 + LineSize; in printKCache()
586 raw_ostream &O) { in printSendMsg() argument
592 O << "Gs_done("; in printSendMsg()
594 O << "Gs("; in printSendMsg()
596 O << "nop"; in printSendMsg()
600 O << "cut"; in printSendMsg()
602 O << "emit"; in printSendMsg()
604 O << "emit-cut"; in printSendMsg()
605 O << " stream " << Stream; in printSendMsg()
607 O << "), [m0] "; in printSendMsg()
609 O << "interrupt "; in printSendMsg()
611 O << "system "; in printSendMsg()
613 O << "unknown(" << Msg << ") "; in printSendMsg()
617 raw_ostream &O) { in printWaitFlag() argument
629 O << "vmcnt(" << Vmcnt << ')'; in printWaitFlag()
635 O << ' '; in printWaitFlag()
636 O << "expcnt(" << Expcnt << ')'; in printWaitFlag()
642 O << ' '; in printWaitFlag()
643 O << "lgkmcnt(" << Lgkmcnt << ')'; in printWaitFlag()