Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DStringRef.cpp420 StringRef Str2 = Str; in consumeUnsignedInteger() local
422 while (!Str2.empty()) { in consumeUnsignedInteger()
424 if (Str2[0] >= '0' && Str2[0] <= '9') in consumeUnsignedInteger()
425 CharVal = Str2[0] - '0'; in consumeUnsignedInteger()
426 else if (Str2[0] >= 'a' && Str2[0] <= 'z') in consumeUnsignedInteger()
427 CharVal = Str2[0] - 'a' + 10; in consumeUnsignedInteger()
428 else if (Str2[0] >= 'A' && Str2[0] <= 'Z') in consumeUnsignedInteger()
429 CharVal = Str2[0] - 'A' + 10; in consumeUnsignedInteger()
446 Str2 = Str2.substr(1); in consumeUnsignedInteger()
451 if (Str.size() == Str2.size()) in consumeUnsignedInteger()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DExprInspectionChecker.cpp457 if (Optional<std::string> Str2 = Visit(S->getRHS())) in VisitSymSymExpr() local
459 " " + *Str2) in VisitSymSymExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp365 StringRef Str1, Str2; in optimizeStrCmp() local
367 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrCmp()
371 return ConstantInt::get(CI->getType(), Str1.compare(Str2)); in optimizeStrCmp()
377 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x in optimizeStrCmp()
437 StringRef Str1, Str2; in optimizeStrNCmp() local
439 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrNCmp()
444 StringRef SubStr2 = Str2.substr(0, Length); in optimizeStrNCmp()
452 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x in optimizeStrNCmp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp804 SmallString<128> Str2; in emitGlobals() local
805 raw_svector_ostream OS2(Str2); in emitGlobals()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5180 StringRef Str2 = parseStringToEndOfStatement(); in parseDirectiveIfc() local
5185 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3146 StringRef Str2) { in printFields() argument
3150 OS << Str2 << "\n"; in printFields()