Home | History | Annotate | Download | only in TableGen

Lines Matching refs:Cur

362 FlattenAsmStringVariants(StringRef Cur, unsigned Variant) {
368 for (size_t e = Cur.size(); VariantsStart != e; ++VariantsStart)
369 if (Cur[VariantsStart] == '{' &&
370 (VariantsStart == 0 || (Cur[VariantsStart-1] != '$' &&
371 Cur[VariantsStart-1] != '\\')))
375 Res += Cur.slice(0, VariantsStart);
376 if (VariantsStart == Cur.size())
384 for (size_t e = Cur.size(); VariantsEnd != e; ++VariantsEnd) {
385 if (Cur[VariantsEnd] == '}' && Cur[VariantsEnd-1] != '\\') {
388 } else if (Cur[VariantsEnd] == '{')
393 StringRef Selection = Cur.slice(VariantsStart, VariantsEnd);
398 assert(VariantsEnd != Cur.size() &&
400 Cur = Cur.substr(VariantsEnd + 1);