Lines Matching refs:Radix
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) {
2228 *--BufPtr = Digits[N % Radix];
2229 N /= Radix;
2256 if (Radix == 2 || Radix == 8 || Radix == 16) {
2258 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1));
2259 unsigned MaskAmt = Radix - 1;
2269 udivrem(Tmp, Radix, Tmp, Digit);
2270 assert(Digit < Radix && "divide failed");
2281 std::string APInt::toString(unsigned Radix = 10, bool Signed = true) const {
2283 toString(S, Radix, Signed, /* formatAsCLiteral = */false);