Searched refs:CvtOS (Results 1 – 2 of 2) sorted by relevance
1846 raw_string_ostream CvtOS(ConvertFnBody); in emitConvertFuncs() local1849 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()[all …]
1490 raw_string_ostream CvtOS(ConvertFnBody); in EmitConvertToMCInst() local1496 CvtOS << "bool " << Target.getName() << ClassName << "::\n"; in EmitConvertToMCInst()1497 CvtOS << "ConvertToMCInst(unsigned Kind, MCInst &Inst, " in EmitConvertToMCInst()1501 CvtOS << " Inst.setOpcode(Opcode);\n"; in EmitConvertToMCInst()1502 CvtOS << " switch (Kind) {\n"; in EmitConvertToMCInst()1503 CvtOS << " default:\n"; in EmitConvertToMCInst()1531 CvtOS << " case " << Signature << ":\n"; in EmitConvertToMCInst()1532 CvtOS << " return " << AsmMatchConverter in EmitConvertToMCInst()1606 CvtOS << " case " << Signature << ":\n"; in EmitConvertToMCInst()1607 CvtOS << CaseOS.str(); in EmitConvertToMCInst()[all …]