Home
last modified time | relevance | path

Searched refs:Str2 (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DStringRef.cpp419 StringRef Str2 = Str; in consumeUnsignedInteger() local
421 while (!Str2.empty()) { in consumeUnsignedInteger()
423 if (Str2[0] >= '0' && Str2[0] <= '9') in consumeUnsignedInteger()
424 CharVal = Str2[0] - '0'; in consumeUnsignedInteger()
425 else if (Str2[0] >= 'a' && Str2[0] <= 'z') in consumeUnsignedInteger()
426 CharVal = Str2[0] - 'a' + 10; in consumeUnsignedInteger()
427 else if (Str2[0] >= 'A' && Str2[0] <= 'Z') in consumeUnsignedInteger()
428 CharVal = Str2[0] - 'A' + 10; in consumeUnsignedInteger()
445 Str2 = Str2.substr(1); in consumeUnsignedInteger()
450 if (Str.size() == Str2.size()) in consumeUnsignedInteger()
[all …]
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DUnicodeCollation.h62 IN CHAR16 *Str2
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DExprInspectionChecker.cpp499 if (std::optional<std::string> Str2 = Visit(S->getRHS())) in VisitSymSymExpr() local
501 " " + *Str2) in VisitSymSymExpr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp1051 StringRef Str1, Str2; in optimizeStrNCmp() local
1053 bool HasStr2 = getConstantStringInfo(Str2P, Str2, /*TrimAtNul=*/false); in optimizeStrNCmp()
1058 StringRef Str = HasStr1 ? Str1 : Str2; in optimizeStrNCmp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp566 StringRef Str1, Str2; in optimizeStrCmp() local
568 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrCmp()
573 std::clamp(Str1.compare(Str2), -1, 1)); in optimizeStrCmp()
579 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x in optimizeStrCmp()
643 StringRef Str1, Str2; in optimizeStrNCmp() local
645 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrNCmp()
651 StringRef SubStr2 = substr(Str2, Length); in optimizeStrNCmp()
660 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x in optimizeStrNCmp()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp678 SmallString<128> Str2; in emitGlobals() local
679 raw_svector_ostream OS2(Str2); in emitGlobals()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5188 StringRef Str2 = parseStringToEndOfStatement(); in parseDirectiveIfc() local
5193 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3549 StringRef Str2) { in printFields() argument
3553 OS << Str2 << "\n"; in printFields()