Searched refs:Str2 (Results 1 – 6 of 6) sorted by relevance
421 StringRef Str2 = Str; in consumeUnsignedInteger() local423 while (!Str2.empty()) { in consumeUnsignedInteger()425 if (Str2[0] >= '0' && Str2[0] <= '9') in consumeUnsignedInteger()426 CharVal = Str2[0] - '0'; in consumeUnsignedInteger()427 else if (Str2[0] >= 'a' && Str2[0] <= 'z') in consumeUnsignedInteger()428 CharVal = Str2[0] - 'a' + 10; in consumeUnsignedInteger()429 else if (Str2[0] >= 'A' && Str2[0] <= 'Z') in consumeUnsignedInteger()447 Str2 = Str2.substr(1); in consumeUnsignedInteger()452 if (Str.size() == Str2.size()) in consumeUnsignedInteger()455 Str = Str2; in consumeUnsignedInteger()[all …]
370 if (Optional<std::string> Str2 = Visit(S->getRHS())) in VisitSymSymExpr() local372 " " + *Str2).str(); in VisitSymSymExpr()
328 StringRef Str1, Str2; in optimizeStrCmp() local330 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrCmp()334 return ConstantInt::get(CI->getType(), Str1.compare(Str2)); in optimizeStrCmp()340 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x in optimizeStrCmp()389 StringRef Str1, Str2; in optimizeStrNCmp() local391 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrNCmp()396 StringRef SubStr2 = Str2.substr(0, Length); in optimizeStrNCmp()404 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x in optimizeStrNCmp()
840 SmallString<128> Str2; in emitGlobals() local841 raw_svector_ostream OS2(Str2); in emitGlobals()
4971 StringRef Str2 = parseStringToEndOfStatement(); in parseDirectiveIfc() local4977 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc()
2501 StringRef Str2) { in printFields() argument2505 OS << Str2 << "\n"; in printFields()