Home
last modified time | relevance | path

Searched refs:LastEmitted (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp168 const char *LastEmitted = AsmStr; // One past the last character emitted. in EmitMSInlineAsmStr() local
171 while (*LastEmitted) { in EmitMSInlineAsmStr()
172 switch (*LastEmitted) { in EmitMSInlineAsmStr()
175 const char *LiteralEnd = LastEmitted+1; in EmitMSInlineAsmStr()
180 OS.write(LastEmitted, LiteralEnd-LastEmitted); in EmitMSInlineAsmStr()
181 LastEmitted = LiteralEnd; in EmitMSInlineAsmStr()
185 ++LastEmitted; // Consume newline character. in EmitMSInlineAsmStr()
189 ++LastEmitted; // Consume '$' character. in EmitMSInlineAsmStr()
193 switch (*LastEmitted) { in EmitMSInlineAsmStr()
196 ++LastEmitted; // Consume second '$' character. in EmitMSInlineAsmStr()
[all …]
/external/llvm/utils/TableGen/
DAsmWriterInst.cpp61 std::string::size_type LastEmitted = 0; in AsmWriterInst() local
62 while (LastEmitted != AsmString.size()) { in AsmWriterInst()
64 AsmString.find_first_of("$\\", LastEmitted); in AsmWriterInst()
68 if (DollarPos != LastEmitted) { in AsmWriterInst()
69 for (; LastEmitted != DollarPos; ++LastEmitted) in AsmWriterInst()
70 switch (AsmString[LastEmitted]) { in AsmWriterInst()
84 AddLiteralString(std::string(1, AsmString[LastEmitted])); in AsmWriterInst()
100 LastEmitted = DollarPos+2; in AsmWriterInst()
106 LastEmitted = DollarPos+2; in AsmWriterInst()
181 LastEmitted = VarEnd; in AsmWriterInst()