Searched refs:Str2 (Results 1 – 6 of 6) sorted by relevance
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | StringRef.cpp | 424 StringRef Str2 = Str; in consumeUnsignedInteger() local 426 while (!Str2.empty()) { in consumeUnsignedInteger() 428 if (Str2[0] >= '0' && Str2[0] <= '9') in consumeUnsignedInteger() 429 CharVal = Str2[0] - '0'; in consumeUnsignedInteger() 430 else if (Str2[0] >= 'a' && Str2[0] <= 'z') in consumeUnsignedInteger() 431 CharVal = Str2[0] - 'a' + 10; in consumeUnsignedInteger() 432 else if (Str2[0] >= 'A' && Str2[0] <= 'Z') in consumeUnsignedInteger() 450 Str2 = Str2.substr(1); in consumeUnsignedInteger() 455 if (Str.size() == Str2.size()) in consumeUnsignedInteger() 458 Str = Str2; in consumeUnsignedInteger() [all …]
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ExprInspectionChecker.cpp | 504 if (std::optional<std::string> Str2 = Visit(S->getRHS())) in VisitSymSymExpr() local 506 " " + *Str2) in VisitSymSymExpr()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 508 StringRef Str1, Str2; in optimizeStrCmp() local 510 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrCmp() 515 std::clamp(Str1.compare(Str2), -1, 1)); in optimizeStrCmp() 521 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x in optimizeStrCmp() 590 StringRef Str1, Str2; in optimizeStrNCmp() local 592 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrNCmp() 598 StringRef SubStr2 = substr(Str2, Length); in optimizeStrNCmp() 607 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x in optimizeStrNCmp()
|
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 811 SmallString<128> Str2; in emitGlobals() local 812 raw_svector_ostream OS2(Str2); in emitGlobals()
|
/openbsd/gnu/llvm/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 5225 StringRef Str2 = parseStringToEndOfStatement(); in parseDirectiveIfc() local 5230 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc()
|
/openbsd/gnu/llvm/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 3249 StringRef Str2) { in printFields() argument 3253 OS << Str2 << "\n"; in printFields()
|