isUIntN - Checks if an unsigned integer fits into the given (dynamic) bit width.
| 46 | /// isUIntN - Checks if an unsigned integer fits into the given (dynamic) |
| 47 | /// bit width. |
| 48 | static inline bool isUIntN(unsigned N, uint64_t x) { |
| 49 | return x == (x & (~0ULL >> (64 - N))); |
| 50 | } |
| 51 | |
| 52 | /// isIntN - Checks if an signed integer fits into the given (dynamic) |
| 53 | /// bit width. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…