Lines Matching refs:Cur
387 FlattenAsmStringVariants(StringRef Cur, unsigned Variant) { in FlattenAsmStringVariants() argument
393 for (size_t e = Cur.size(); VariantsStart != e; ++VariantsStart) in FlattenAsmStringVariants()
394 if (Cur[VariantsStart] == '{' && in FlattenAsmStringVariants()
395 (VariantsStart == 0 || (Cur[VariantsStart-1] != '$' && in FlattenAsmStringVariants()
396 Cur[VariantsStart-1] != '\\'))) in FlattenAsmStringVariants()
400 Res += Cur.slice(0, VariantsStart); in FlattenAsmStringVariants()
401 if (VariantsStart == Cur.size()) in FlattenAsmStringVariants()
409 for (size_t e = Cur.size(); VariantsEnd != e; ++VariantsEnd) { in FlattenAsmStringVariants()
410 if (Cur[VariantsEnd] == '}' && Cur[VariantsEnd-1] != '\\') { in FlattenAsmStringVariants()
413 } else if (Cur[VariantsEnd] == '{') in FlattenAsmStringVariants()
418 StringRef Selection = Cur.slice(VariantsStart, VariantsEnd); in FlattenAsmStringVariants()
423 assert(VariantsEnd != Cur.size() && in FlattenAsmStringVariants()
425 Cur = Cur.substr(VariantsEnd + 1); in FlattenAsmStringVariants()