Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDStringRef.cpp426 StringRef Str2 = Str; in consumeUnsignedInteger() local
428 while (!Str2.empty()) { in consumeUnsignedInteger()
430 if (Str2[0] >= '0' && Str2[0] <= '9') in consumeUnsignedInteger()
431 CharVal = Str2[0] - '0'; in consumeUnsignedInteger()
432 else if (Str2[0] >= 'a' && Str2[0] <= 'z') in consumeUnsignedInteger()
433 CharVal = Str2[0] - 'a' + 10; in consumeUnsignedInteger()
434 else if (Str2[0] >= 'A' && Str2[0] <= 'Z') in consumeUnsignedInteger()
435 CharVal = Str2[0] - 'A' + 10; in consumeUnsignedInteger()
452 Str2 = Str2.substr(1); in consumeUnsignedInteger()
457 if (Str.size() == Str2.size()) in consumeUnsignedInteger()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDExprInspectionChecker.cpp374 if (Optional<std::string> Str2 = Visit(S->getRHS())) in VisitSymSymExpr() local
376 " " + *Str2).str(); in VisitSymSymExpr()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDSimplifyLibCalls.cpp418 StringRef Str1, Str2; in optimizeStrCmp() local
420 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrCmp()
424 return ConstantInt::get(CI->getType(), Str1.compare(Str2)); in optimizeStrCmp()
430 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x in optimizeStrCmp()
490 StringRef Str1, Str2; in optimizeStrNCmp() local
492 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrNCmp()
497 StringRef SubStr2 = Str2.substr(0, Length); in optimizeStrNCmp()
505 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x in optimizeStrNCmp()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
HDNVPTXAsmPrinter.cpp813 SmallString<128> Str2; in emitGlobals() local
814 raw_svector_ostream OS2(Str2); in emitGlobals()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
HDAsmParser.cpp5108 StringRef Str2 = parseStringToEndOfStatement(); in parseDirectiveIfc() local
5114 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
HDELFDumper.cpp3009 StringRef Str2) { in printFields() argument
3013 OS << Str2 << "\n"; in printFields()