| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | CachePruning.cpp | 56 StringRef NumStr = Duration.slice(0, Duration.size()-1); in parseDuration() local 58 if (NumStr.getAsInteger(0, Num)) in parseDuration() 59 return make_error<StringError>("'" + NumStr + "' not an integer", in parseDuration()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter2/ |
| H A D | toy.cpp | 52 std::string NumStr; in gettok() local 54 NumStr += LastChar; in gettok() 58 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter3/ |
| H A D | toy.cpp | 65 std::string NumStr; in gettok() local 67 NumStr += LastChar; in gettok() 71 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter4/ |
| H A D | toy.cpp | 75 std::string NumStr; in gettok() local 77 NumStr += LastChar; in gettok() 81 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | LangImpl01.rst | 140 std::string NumStr; 142 NumStr += LastChar; 146 NumVal = strtod(NumStr.c_str(), 0);
|
| /llvm-project-15.0.7/llvm/unittests/FileCheck/ |
| H A D | FileCheckTest.cpp | 171 std::string padWithLeadingZeros(StringRef NumStr) const { in padWithLeadingZeros() 172 bool Negative = NumStr.startswith("-"); in padWithLeadingZeros() 173 if (NumStr.size() - unsigned(Negative) >= Precision) in padWithLeadingZeros() 174 return NumStr.str(); in padWithLeadingZeros() 179 NumStr = NumStr.drop_front(); in padWithLeadingZeros() 181 PaddedStr.append(Precision - NumStr.size(), '0'); in padWithLeadingZeros() 182 PaddedStr.append(NumStr.str()); in padWithLeadingZeros()
|
| /llvm-project-15.0.7/bolt/lib/Profile/ |
| H A D | DataReader.cpp | 892 StringRef NumStr = NumStrRes.get(); in parseNumberField() local 894 if (NumStr.getAsInteger(10, Num)) { in parseNumberField() 896 Diag << "Found: " << NumStr << "\n"; in parseNumberField() 906 StringRef NumStr = NumStrRes.get(); in parseHexField() local 908 if (NumStr.getAsInteger(16, Num)) { in parseHexField() 910 Diag << "Found: " << NumStr << "\n"; in parseHexField()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter5/ |
| H A D | toy.cpp | 93 std::string NumStr; in gettok() local 95 NumStr += LastChar; in gettok() 99 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | toy-jit.cpp | 93 std::string NumStr; in gettok() local 95 NumStr += LastChar; in gettok() 99 NumVal = strtod(NumStr.c_str(), 0); in gettok()
|
| H A D | toy.cpp | 100 std::string NumStr; in gettok() local 102 NumStr += LastChar; in gettok() 106 NumVal = strtod(NumStr.c_str(), 0); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter6/ |
| H A D | toy.cpp | 101 std::string NumStr; in gettok() local 103 NumStr += LastChar; in gettok() 107 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| H A D | toy-jit.cpp | 78 std::string NumStr; in gettok() local 80 NumStr += LastChar; in gettok() 84 NumVal = strtod(NumStr.c_str(), 0); in gettok()
|
| H A D | toy.cpp | 79 std::string NumStr; in gettok() local 81 NumStr += LastChar; in gettok() 85 NumVal = strtod(NumStr.c_str(), 0); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
| H A D | toy.cpp | 103 std::string NumStr; in gettok() local 105 NumStr += LastChar; in gettok() 109 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter8/ |
| H A D | toy.cpp | 109 std::string NumStr; in gettok() local 111 NumStr += LastChar; in gettok() 115 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
| H A D | toy.cpp | 103 std::string NumStr; in gettok() local 105 NumStr += LastChar; in gettok() 109 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter7/ |
| H A D | toy.cpp | 108 std::string NumStr; in gettok() local 110 NumStr += LastChar; in gettok() 114 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
| H A D | toy.cpp | 103 std::string NumStr; in gettok() local 105 NumStr += LastChar; in gettok() 109 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
| H A D | toy.cpp | 103 std::string NumStr; in gettok() local 105 NumStr += LastChar; in gettok() 109 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/ |
| H A D | toy.cpp | 77 std::string NumStr; in gettok() local 79 NumStr += LastChar; in gettok() 83 NumVal = strtod(NumStr.c_str(), 0); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/ |
| H A D | toy.cpp | 161 std::string NumStr; in gettok() local 163 NumStr += LastChar; in gettok() 167 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | toy.cpp | 119 std::string NumStr; in gettok() local 121 NumStr += LastChar; in gettok() 125 NumVal = strtod(NumStr.c_str(), 0); in gettok()
|