Lines Matching refs:AsmString
643 std::string AsmString;
645 IAPrinter(std::string R, std::string AS) : Result(R), AsmString(AS) {}
709 StringRef ASM(AsmString);
734 O.indent(6) << "AsmString = \"" << OutString << "\";\n";
755 static unsigned CountNumOperands(StringRef AsmString, unsigned Variant) {
757 CodeGenInstruction::FlattenAsmStringVariants(AsmString, Variant);
758 AsmString = FlatAsmString;
760 return AsmString.count(' ') + AsmString.count('\t');
828 CountNumOperands(CGA.ResultInst->AsmString, Variant);
831 if (NumResultOps < CountNumOperands(CGA.AsmString, Variant))
834 IAPrinter IAP(CGA.Result->getAsString(), CGA.AsmString);
1006 O.indent(2) << "const char *AsmString;\n";
1015 O << " while (AsmString[I] != ' ' && AsmString[I] != '\t' &&\n";
1016 O << " AsmString[I] != '\\0')\n";
1018 O << " OS << '\\t' << StringRef(AsmString, I);\n";
1020 O << " if (AsmString[I] != '\\0') {\n";
1023 O << " if (AsmString[I] == '$') {\n";
1025 O << " if (AsmString[I] == (char)0xff) {\n";
1027 O << " int OpIdx = AsmString[I++] - 1;\n";
1028 O << " int PrintMethodIdx = AsmString[I++] - 1;\n";
1033 O << " printOperand(MI, unsigned(AsmString[I++]) - 1, ";
1037 O << " OS << AsmString[I++];\n";
1039 O << " } while (AsmString[I] != '\\0');\n";
1102 if (!I->AsmString.empty() && I->TheDef->getName() != "PHI")