Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp147 const char *LastEmitted = AsmStr; // One past the last character emitted. in EmitMSInlineAsmStr() local
150 while (*LastEmitted) { in EmitMSInlineAsmStr()
151 switch (*LastEmitted) { in EmitMSInlineAsmStr()
154 const char *LiteralEnd = LastEmitted+1; in EmitMSInlineAsmStr()
159 OS.write(LastEmitted, LiteralEnd-LastEmitted); in EmitMSInlineAsmStr()
160 LastEmitted = LiteralEnd; in EmitMSInlineAsmStr()
164 ++LastEmitted; // Consume newline character. in EmitMSInlineAsmStr()
168 ++LastEmitted; // Consume '$' character. in EmitMSInlineAsmStr()
172 switch (*LastEmitted) { in EmitMSInlineAsmStr()
175 ++LastEmitted; // Consume second '$' character. in EmitMSInlineAsmStr()
[all …]
/external/llvm/utils/TableGen/
DAsmWriterInst.cpp65 std::string::size_type LastEmitted = 0; in AsmWriterInst() local
66 while (LastEmitted != AsmString.size()) { in AsmWriterInst()
68 AsmString.find_first_of("$\\", LastEmitted); in AsmWriterInst()
72 if (DollarPos != LastEmitted) { in AsmWriterInst()
73 for (; LastEmitted != DollarPos; ++LastEmitted) in AsmWriterInst()
74 switch (AsmString[LastEmitted]) { in AsmWriterInst()
101 AddLiteralString(std::string(1, AsmString[LastEmitted])); in AsmWriterInst()
130 LastEmitted = DollarPos+2; in AsmWriterInst()
136 LastEmitted = DollarPos+2; in AsmWriterInst()
209 LastEmitted = VarEnd; in AsmWriterInst()