Lines Matching refs:DollarPos
63 std::string::size_type DollarPos = in AsmWriterInst() local
65 if (DollarPos == std::string::npos) DollarPos = AsmString.size(); in AsmWriterInst()
68 if (DollarPos != LastEmitted) { in AsmWriterInst()
69 for (; LastEmitted != DollarPos; ++LastEmitted) in AsmWriterInst()
87 } else if (AsmString[DollarPos] == '\\') { in AsmWriterInst()
88 if (DollarPos+1 != AsmString.size()) { in AsmWriterInst()
89 if (AsmString[DollarPos+1] == 'n') { in AsmWriterInst()
91 } else if (AsmString[DollarPos+1] == 't') { in AsmWriterInst()
93 } else if (std::string("${|}\\").find(AsmString[DollarPos+1]) in AsmWriterInst()
95 AddLiteralString(std::string(1, AsmString[DollarPos+1])); in AsmWriterInst()
100 LastEmitted = DollarPos+2; in AsmWriterInst()
103 } else if (DollarPos+1 != AsmString.size() && in AsmWriterInst()
104 AsmString[DollarPos+1] == '$') { in AsmWriterInst()
106 LastEmitted = DollarPos+2; in AsmWriterInst()
109 std::string::size_type VarEnd = DollarPos+1; in AsmWriterInst()
117 ++DollarPos; in AsmWriterInst()
123 StringRef VarName(AsmString.data()+DollarPos+1, VarEnd-DollarPos-1); in AsmWriterInst()