/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | StringRef.cpp | 410 bool llvm::consumeUnsignedInteger(StringRef &Str, unsigned Radix, 413 if (Radix == 0) 414 Radix = GetAutoSenseRadix(Str); 435 if (CharVal >= Radix) 440 Result = Result * Radix + CharVal; 443 if (Result / Radix < PrevResult) 458 bool llvm::consumeSignedInteger(StringRef &Str, unsigned Radix, 464 if (consumeUnsignedInteger(Str, Radix, ULLVal) || 474 if (consumeUnsignedInteger(Str2, Radix, ULLVal) || 488 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, [all...] |
H A D | APInt.cpp | 497 "Radix should be 2, 8, 10, 16, or 36!"); 2120 "Radix should be 2, 8, 10, 16, or 36!"); 2166 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, 2168 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 || 2169 Radix == 36) && 2170 "Radix should be 2, 8, 10, 16, or 36!"); 2174 switch (Radix) { [all...] |
H A D | APFloat.cpp | 2866 unsigned Radix = 10; 2870 Radix = 16; 2872 Radix = 8; 2877 if (!str.getAsInteger(Radix, Payload)) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmLexer.cpp | 301 unsigned Radix = 0; local 305 Radix = 16; 308 Radix = 2; 310 if (Radix == 2 || Radix == 16) { 314 if (Result.drop_back().getAsInteger(Radix, Value)) 315 return ReturnError(TokStart, Radix == 2 ? "invalid binary number" : 330 unsigned Radix = doHexLookAhead(CurPtr, 10, LexMasmIntegers); local 331 bool isHex = Radix == 16; 342 if (Result.getAsInteger(Radix, Valu 418 unsigned Radix = doHexLookAhead(CurPtr, 8, LexMasmIntegers); local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-strings/ |
H A D | llvm-strings.cpp | 50 Radix("radix", cl::desc("print the offset within the file"), 55 static cl::alias RadixShort("t", cl::desc(""), cl::aliasopt(Radix)); 66 switch (Radix) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringRef.h | 41 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 44 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 46 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix, 48 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result); 503 /// \p Radix is specified as zero, this does radix autosensing using 511 getAsInteger(unsigned Radix, T &Result) const { 513 if (getAsSignedInteger(*this, Radix, LLVal) || 522 getAsInteger(unsigned Radix, T &Result) const { 527 if (getAsUnsignedInteger(*this, Radix, ULLVal) || 535 /// \p Radix i [all...] |
H A D | APSInt.h | 82 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 83 APInt::toString(Str, Radix, isSigned()); 87 std::string toString(unsigned Radix) const { 88 return APInt::toString(Radix, isSigned());
|
H A D | APInt.h | 1731 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed, 1736 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 1737 toString(Str, Radix, false, false); 1742 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 1743 toString(Str, Radix, true, false); 1751 std::string toString(unsigned Radix, bool Signed) const;
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-size/ |
H A D | llvm-size.cpp | 78 static cl::opt<RadixTy> Radix( 161 /// Get the length of the string that represents @p num in Radix including the 166 conv.toString(result, Radix, false, true); 170 /// Return the printing format for the Radix. 172 switch (Radix) { 221 if (Radix == hexadecimal) 365 /// The format used is determined by @c OutputFormat and @c Radix. 505 << (Radix == octal ? "oct" : "dec") 518 fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << "\t" 871 fmt << "%7" << (Radix [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 170 enum Radix { d, o, x }; enum in namespace:__anon4840 171 cl::opt<Radix> 172 AddressRadix("radix", cl::desc("Radix (o/d/x) for printing symbol Values"), 790 case Radix::o: 793 case Radix::x: 803 case Radix::o: 806 case Radix::x:
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | LiteralSupport.cpp | 981 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) { 982 switch (Radix) { 992 llvm_unreachable("impossible Radix");
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | Core.h | 1906 uint8_t Radix); 1915 unsigned SLen, uint8_t Radix);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 1322 uint8_t Radix) { 1324 Radix)); 1328 unsigned SLen, uint8_t Radix) { 1330 Radix));
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 1540 std::string getValueAsString(unsigned Radix) const;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 923 std::string FixedPointLiteral::getValueAsString(unsigned Radix) const {
|