Lines Matching refs:AsmString
63 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); in AsmWriterInst() local
65 while (LastEmitted != AsmString.size()) { in AsmWriterInst()
67 AsmString.find_first_of("$\\", LastEmitted); in AsmWriterInst()
68 if (DollarPos == std::string::npos) DollarPos = AsmString.size(); in AsmWriterInst()
73 switch (AsmString[LastEmitted]) { in AsmWriterInst()
100 AddLiteralString(std::string(1, AsmString[LastEmitted])); in AsmWriterInst()
103 } else if (AsmString[DollarPos] == '\\') { in AsmWriterInst()
104 if (DollarPos+1 != AsmString.size()) { in AsmWriterInst()
105 if (AsmString[DollarPos+1] == 'n') { in AsmWriterInst()
107 } else if (AsmString[DollarPos+1] == 't') { in AsmWriterInst()
122 } else if (std::string("${|}\\").find(AsmString[DollarPos+1]) in AsmWriterInst()
124 AddLiteralString(std::string(1, AsmString[DollarPos+1])); in AsmWriterInst()
132 } else if (DollarPos+1 != AsmString.size() && in AsmWriterInst()
133 AsmString[DollarPos+1] == '$') { in AsmWriterInst()
144 if (VarEnd < AsmString.size() && '{' == AsmString[VarEnd]) { in AsmWriterInst()
150 while (VarEnd < AsmString.size() && isIdentChar(AsmString[VarEnd])) in AsmWriterInst()
152 std::string VarName(AsmString.begin()+DollarPos+1, in AsmWriterInst()
153 AsmString.begin()+VarEnd); in AsmWriterInst()
164 if (VarEnd >= AsmString.size()) in AsmWriterInst()
169 if (AsmString[VarEnd] == ':') { in AsmWriterInst()
171 if (VarEnd >= AsmString.size()) in AsmWriterInst()
176 while (VarEnd < AsmString.size() && isIdentChar(AsmString[VarEnd])) in AsmWriterInst()
178 Modifier = std::string(AsmString.begin()+ModifierStart, in AsmWriterInst()
179 AsmString.begin()+VarEnd); in AsmWriterInst()
184 if (AsmString[VarEnd] != '}') in AsmWriterInst()