Lines Matching defs:bits
48 RelocAttrBits bits;
49 bool hasAttr(RelocAttrBits b) const { return (bits & b) == b; }
83 * bits: The number of bits actually available to encode this relocation
86 uint8_t bits, int64_t min, uint64_t max);
94 uint8_t bits, int64_t min, uint64_t max);
97 inline void checkInt(void *loc, Diagnostic d, int64_t v, int bits) {
98 if (v != llvm::SignExtend64(v, bits))
99 reportRangeError(loc, d, llvm::Twine(v), bits, llvm::minIntN(bits),
100 llvm::maxIntN(bits));
104 inline void checkUInt(void *loc, Diagnostic d, uint64_t v, int bits) {
105 if ((v >> bits) != 0)
106 reportRangeError(loc, d, llvm::Twine(v), bits, 0, llvm::maxUIntN(bits));