Home | History | Annotate | Download | only in Lex

Lines Matching refs:Radix

528   if (*s == '0') { // parse radix
533 radix = 10;
751 /// radix etc.
762 radix = 16;
822 radix = 2;
836 // For now, the radix is set to 8. If we discover that we have a
837 // floating point constant, the radix will change to 10. Octal floating
839 radix = 8;
851 radix = 10;
866 radix = 10;
875 radix = 10;
891 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) {
892 switch (Radix) {
902 llvm_unreachable("impossible Radix");
911 // bits per digit in this radix. If we can't possibly overflow a
917 if (alwaysFitsInto64Bits(radix, NumDigits)) {
921 N = N * radix + llvm::hexDigitValue(*Ptr);
932 llvm::APInt RadixVal(Val.getBitWidth(), radix);
945 // If this letter is out of bound for this radix, reject it.
946 assert(C < radix && "NumericLiteralParser ctor should have rejected this");
950 // Add the digit to the value in the appropriate radix. If adding in digits
954 // Multiply by radix, did overflow occur on the multiply?