Lines Matching refs:CvtOS

1846   raw_string_ostream CvtOS(ConvertFnBody);  in emitConvertFuncs()  local
1849 CvtOS << "void " << Target.getName() << ClassName << "::\n" in emitConvertFuncs()
1855 CvtOS << "void " << Target.getName() << ClassName << "::\n" in emitConvertFuncs()
1860 CvtOS << " assert(Kind < CVT_NUM_SIGNATURES && \"Invalid signature!\");\n"; in emitConvertFuncs()
1861 CvtOS << " const uint8_t *Converter = ConversionTable[Kind];\n"; in emitConvertFuncs()
1863 CvtOS << " unsigned NumDefaults = 0;\n"; in emitConvertFuncs()
1865 CvtOS << " unsigned OpIdx;\n"; in emitConvertFuncs()
1866 CvtOS << " Inst.setOpcode(Opcode);\n"; in emitConvertFuncs()
1867 CvtOS << " for (const uint8_t *p = Converter; *p; p+= 2) {\n"; in emitConvertFuncs()
1869 CvtOS << " OpIdx = *(p + 1) - NumDefaults;\n"; in emitConvertFuncs()
1871 CvtOS << " OpIdx = *(p + 1);\n"; in emitConvertFuncs()
1873 CvtOS << " switch (*p) {\n"; in emitConvertFuncs()
1874 CvtOS << " default: llvm_unreachable(\"invalid conversion entry!\");\n"; in emitConvertFuncs()
1875 CvtOS << " case CVT_Reg:\n"; in emitConvertFuncs()
1876 CvtOS << " static_cast<" << TargetOperandClass in emitConvertFuncs()
1878 CvtOS << " break;\n"; in emitConvertFuncs()
1879 CvtOS << " case CVT_Tied:\n"; in emitConvertFuncs()
1880 CvtOS << " Inst.addOperand(Inst.getOperand(OpIdx));\n"; in emitConvertFuncs()
1881 CvtOS << " break;\n"; in emitConvertFuncs()
1935 CvtOS << " case CVT_" in emitConvertFuncs()
1995 CvtOS << " case " << Name << ":\n"; in emitConvertFuncs()
2000 CvtOS << " if (OptionalOperandsMask[*(p + 1) - 1]) {\n" in emitConvertFuncs()
2011 CvtOS << " static_cast<" << TargetOperandClass in emitConvertFuncs()
2015 CvtOS << " break;\n"; in emitConvertFuncs()
2057 CvtOS << " case " << Name << ":\n" in emitConvertFuncs()
2088 CvtOS << " case " << Name << ":\n" in emitConvertFuncs()
2117 CvtOS << " }\n }\n}\n\n"; in emitConvertFuncs()
2157 OS << CvtOS.str(); in emitConvertFuncs()