Searched refs:Str2 (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | StringRef.cpp | 418 StringRef Str2 = Str; in consumeUnsignedInteger() local 420 while (!Str2.empty()) { in consumeUnsignedInteger() 422 if (Str2[0] >= '0' && Str2[0] <= '9') in consumeUnsignedInteger() 423 CharVal = Str2[0] - '0'; in consumeUnsignedInteger() 424 else if (Str2[0] >= 'a' && Str2[0] <= 'z') in consumeUnsignedInteger() 425 CharVal = Str2[0] - 'a' + 10; in consumeUnsignedInteger() 426 else if (Str2[0] >= 'A' && Str2[0] <= 'Z') in consumeUnsignedInteger() 427 CharVal = Str2[0] - 'A' + 10; in consumeUnsignedInteger() 444 Str2 = Str2.substr(1); in consumeUnsignedInteger() 449 if (Str.size() == Str2.size()) in consumeUnsignedInteger() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 988 StringRef Str1, Str2; in optimizeStrNCmp() 990 bool HasStr2 = getConstantStringInfo(Str2P, Str2, /*TrimAtNul=*/false); in optimizeStrNCmp() 995 StringRef Str = HasStr1 ? Str1 : Str2; in optimizeStrNCmp() 989 StringRef Str1, Str2; optimizeStrNCmp() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 558 StringRef Str1, Str2; in optimizeStrCmp() local 560 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrCmp() 565 std::clamp(Str1.compare(Str2), -1, 1)); in optimizeStrCmp() 571 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x in optimizeStrCmp() 640 StringRef Str1, Str2; in optimizeStrNCmp() local 642 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrNCmp() 648 StringRef SubStr2 = substr(Str2, Length); in optimizeStrNCmp() 657 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x in optimizeStrNCmp()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 838 SmallString<128> Str2; in emitGlobals() local 839 raw_svector_ostream OS2(Str2); in emitGlobals()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 5250 StringRef Str2 = parseStringToEndOfStatement(); in parseDirectiveIfc() local 5255 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 3493 StringRef Str2) { in printFields() argument 3497 OS << Str2 << "\n"; in printFields()
|