Lines Matching defs:O
38 raw_ostream &O,
45 O << ' ';
46 printOperand(MI, i, O);
53 raw_ostream &O) {
60 O << ' ';
79 O << '-';
80 O << "0x1p+128";
84 O << "0x1.8p+128";
90 O << format("%.*g", std::numeric_limits<double>::max_digits10,
97 O << Imm;
225 void SPIRVInstPrinter::printOpExtInst(const MCInst *MI, raw_ostream &O) {
234 O << ' ';
237 printRemainingVariableOps(MI, NumFixedOps, O, true);
240 void SPIRVInstPrinter::printOpDecorate(const MCInst *MI, raw_ostream &O) {
250 O << ' ';
254 printSymbolicOperand<OperandCategory::BuiltInOperand>(MI, NumFixedOps, O);
257 printSymbolicOperand<OperandCategory::ScopeOperand>(MI, NumFixedOps, O);
261 MI, NumFixedOps, O);
265 MI, NumFixedOps, O);
269 MI, NumFixedOps, O);
273 printStringImm(MI, NumFixedOps, O);
276 printOperand(MI, NumFixedOps, O);
278 O << ' ';
279 printStringImm(MI, NumFixedOps + 1, O);
283 printRemainingVariableOps(MI, NumFixedOps, O, true);
289 static void printExpr(const MCExpr *Expr, raw_ostream &O) {
302 O << *Expr;
306 raw_ostream &O, const char *Modifier) {
311 O << '%' << (Register::virtReg2Index(Op.getReg()) + 1);
313 O << formatImm((int64_t)Op.getImm());
315 O << formatImm((double)Op.getDFPImm());
317 printExpr(Op.getExpr(), O);
324 raw_ostream &O) {
333 O << ' '; // Add a space if we're starting a new string/argument.
334 O << '"';
338 O.write("\\n", 2);
341 O.write('\\');
342 O.write(c);
345 O << '"';
354 O << ' ';
356 MI, StrStartIndex, O);
363 raw_ostream &O) {
367 O << getExtInstName(Set, Op);
372 raw_ostream &O) {
374 O << getSymbolicOperandMnemonic(category, MI->getOperand(OpNo).getImm());