reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
866 assert(width < BitWidth && "Invalid APInt Truncate request"); 867 assert(width && "Can't truncate to 0 bits"); 869 if (width <= APINT_BITS_PER_WORD) 870 return APInt(width, getRawData()[0]); 872 APInt Result(getMemory(getNumWords(width)), width); 872 APInt Result(getMemory(getNumWords(width)), width); 876 for (i = 0; i != width / APINT_BITS_PER_WORD; i++) 880 unsigned bits = (0 - width) % APINT_BITS_PER_WORD;