/llvm-project/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/llvm/lib/Support/ |
H A D | CachePruning.cpp | 57 StringRef NumStr = Duration.slice(0, Duration.size()-1); in parseDuration() local 59 if (NumStr.getAsInteger(0, Num)) in parseDuration() 60 return make_error<StringError>("'" + NumStr + "' not an integer", in parseDuration()
|
/llvm-project/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/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/llvm/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 79 std::string NumStr; in gettok() local 81 NumStr += LastChar; in gettok() 85 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
/llvm-project/llvm/unittests/FileCheck/ |
H A D | FileCheckTest.cpp | 174 std::string padWithLeadingZeros(StringRef NumStr) const { in padWithLeadingZeros() 175 bool Negative = NumStr.starts_with("-"); in padWithLeadingZeros() 176 if (NumStr.size() - unsigned(Negative) >= Precision) in padWithLeadingZeros() 177 return NumStr.str(); in padWithLeadingZeros() 182 NumStr = NumStr.drop_front(); in padWithLeadingZeros() 184 PaddedStr.append(Precision - NumStr.size(), '0'); in padWithLeadingZeros() 185 PaddedStr.append(NumStr.str()); in padWithLeadingZeros()
|
/llvm-project/bolt/lib/Profile/ |
H A D | DataReader.cpp | 882 StringRef NumStr = NumStrRes.get(); in parseNumberField() local 884 if (NumStr.getAsInteger(10, Num)) { in parseNumberField() 886 Diag << "Found: " << NumStr << "\n"; in parseNumberField() 896 StringRef NumStr = NumStrRes.get(); in parseHexField() local 898 if (NumStr.getAsInteger(16, Num)) { in parseHexField() 900 Diag << "Found: " << NumStr << "\n"; in parseHexField()
|
/llvm-project/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 97 std::string NumStr; in gettok() local 99 NumStr += LastChar; in gettok() 103 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
/llvm-project/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/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/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 105 std::string NumStr; in gettok() local 107 NumStr += LastChar; in gettok() 111 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
/llvm-project/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/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 112 std::string NumStr; in gettok() local 114 NumStr += LastChar; in gettok() 118 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
|
/llvm-project/llvm/examples/Kaleidoscope/Chapter8/ |
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/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/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/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/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/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/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()
|