Lines Matching refs:LastEmitted
168 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()
201 const char *IDStart = LastEmitted; in EmitMSInlineAsmStr()
209 LastEmitted = IDEnd; in EmitMSInlineAsmStr()
264 const char *LastEmitted = AsmStr; // One past the last character emitted. in EmitGCCInlineAsmStr() local
269 while (*LastEmitted) { in EmitGCCInlineAsmStr()
270 switch (*LastEmitted) { in EmitGCCInlineAsmStr()
273 const char *LiteralEnd = LastEmitted+1; in EmitGCCInlineAsmStr()
278 OS.write(LastEmitted, LiteralEnd-LastEmitted); in EmitGCCInlineAsmStr()
279 LastEmitted = LiteralEnd; in EmitGCCInlineAsmStr()
283 ++LastEmitted; // Consume newline character. in EmitGCCInlineAsmStr()
287 ++LastEmitted; // Consume '$' character. in EmitGCCInlineAsmStr()
291 switch (*LastEmitted) { in EmitGCCInlineAsmStr()
296 ++LastEmitted; // Consume second '$' character. in EmitGCCInlineAsmStr()
299 ++LastEmitted; // Consume '(' character. in EmitGCCInlineAsmStr()
306 ++LastEmitted; // consume '|' character. in EmitGCCInlineAsmStr()
313 ++LastEmitted; // consume ')' character. in EmitGCCInlineAsmStr()
323 if (*LastEmitted == '{') { // ${variable} in EmitGCCInlineAsmStr()
324 ++LastEmitted; // Consume '{' character. in EmitGCCInlineAsmStr()
331 if (HasCurlyBraces && *LastEmitted == ':') { in EmitGCCInlineAsmStr()
332 ++LastEmitted; in EmitGCCInlineAsmStr()
333 const char *StrStart = LastEmitted; in EmitGCCInlineAsmStr()
341 LastEmitted = StrEnd+1; in EmitGCCInlineAsmStr()
345 const char *IDStart = LastEmitted; in EmitGCCInlineAsmStr()
353 LastEmitted = IDEnd; in EmitGCCInlineAsmStr()
360 if (*LastEmitted == ':') { in EmitGCCInlineAsmStr()
361 ++LastEmitted; // Consume ':' character. in EmitGCCInlineAsmStr()
362 if (*LastEmitted == 0) in EmitGCCInlineAsmStr()
366 Modifier[0] = *LastEmitted; in EmitGCCInlineAsmStr()
367 ++LastEmitted; // Consume modifier character. in EmitGCCInlineAsmStr()
370 if (*LastEmitted != '}') in EmitGCCInlineAsmStr()
373 ++LastEmitted; // Consume '}' character. in EmitGCCInlineAsmStr()