Searched refs:bitWidth (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | BitmaskEnum.h | 97 constexpr unsigned bitWidth(uint64_t Value) { 98 return Value ? 1 + bitWidth(Value >> 1) : 0; 147 constexpr unsigned BitWidth = BitmaskEnumDetail::bitWidth(uint64_t{
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Interp.h | 136 const unsigned Bits = RHS.bitWidth() + 1; in Add() 144 const unsigned Bits = RHS.bitWidth() + 1; in Sub() 152 const unsigned Bits = RHS.bitWidth() * 2; in Mul() 745 const unsigned Bits = Offset.bitWidth(); in OffsetHelper() 863 if (RHS >= V.bitWidth()) { in ShiftRight() 864 S.Stk.push<T>(T::from(0, V.bitWidth())); in ShiftRight() 886 if (V.bitWidth() == 1) { in ShiftLeft() 888 } else if (RHS >= V.bitWidth()) { in ShiftLeft() 889 S.Stk.push<T>(T::from(0, V.bitWidth())); in ShiftLeft() 900 const unsigned Bits = LHS.bitWidth(); in Shr() [all …]
|
| H A D | Integral.h | 121 constexpr static unsigned bitWidth() { return Bits; } 125 bool isMin() const { return *this == min(bitWidth()); } 187 return add(A, Integral(T(1)), A.bitWidth(), R); 191 return sub(A, Integral(T(1)), A.bitWidth(), R);
|
| H A D | Boolean.h | 63 constexpr static unsigned bitWidth() { return true; } in bitWidth() function
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | AbstractBasicReader.h | 172 unsigned bitWidth = asImpl().readUInt32(); in readAPInt() local 173 unsigned numWords = llvm::APInt::getNumWords(bitWidth); in readAPInt() 177 return llvm::APInt(bitWidth, numWords, &data[0]); in readAPInt()
|
| /freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | FixedLenDecoderEmitter.cpp | 1921 unsigned bitStart = bi++, bitWidth = 1; in populateInstruction() local 1936 ++bitWidth; in populateInstruction() 2001 OpInfo.addField(bitStart, bitWidth, 0); in populateInstruction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFloat.cpp | 4876 unsigned bitWidth = result.getBitWidth(); in convertToInteger() local 4878 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger() 4881 result = APInt(bitWidth, parts); in convertToInteger()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMInstrThumb2.td | 2936 // will match the extended, not the original bitWidth for $src.
|