Lines Matching refs:Cur
356 FlattenAsmStringVariants(StringRef Cur, unsigned Variant) { in FlattenAsmStringVariants() argument
362 for (size_t e = Cur.size(); VariantsStart != e; ++VariantsStart) in FlattenAsmStringVariants()
363 if (Cur[VariantsStart] == '{' && in FlattenAsmStringVariants()
364 (VariantsStart == 0 || (Cur[VariantsStart-1] != '$' && in FlattenAsmStringVariants()
365 Cur[VariantsStart-1] != '\\'))) in FlattenAsmStringVariants()
369 Res += Cur.slice(0, VariantsStart); in FlattenAsmStringVariants()
370 if (VariantsStart == Cur.size()) in FlattenAsmStringVariants()
378 for (size_t e = Cur.size(); VariantsEnd != e; ++VariantsEnd) { in FlattenAsmStringVariants()
379 if (Cur[VariantsEnd] == '}' && Cur[VariantsEnd-1] != '\\') { in FlattenAsmStringVariants()
382 } else if (Cur[VariantsEnd] == '{') in FlattenAsmStringVariants()
387 StringRef Selection = Cur.slice(VariantsStart, VariantsEnd); in FlattenAsmStringVariants()
392 assert(VariantsEnd != Cur.size() && in FlattenAsmStringVariants()
394 Cur = Cur.substr(VariantsEnd + 1); in FlattenAsmStringVariants()