Searched refs:bitWidth (Results 1 – 8 of 8) sorted by relevance
| /openbsd-src/gnu/llvm/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{
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | Interp.h | 109 if (Bits > 1 && RHS >= RT::from(Bits, RHS.bitWidth())) { in CheckShift() 169 Value.trunc(Result.bitWidth()).toString(Trunc, 10); in AddSubMulHelper() 183 const unsigned Bits = RHS.bitWidth() + 1; in Add() 191 const unsigned Bits = RHS.bitWidth() + 1; in Sub() 199 const unsigned Bits = RHS.bitWidth() * 2; in Mul() 211 unsigned Bits = RHS.bitWidth(); in BitAnd() 228 unsigned Bits = RHS.bitWidth(); in BitOr() 245 unsigned Bits = RHS.bitWidth(); in BitXor() 265 const unsigned Bits = RHS.bitWidth() * 2; in Rem() 285 const unsigned Bits = RHS.bitWidth() * 2; in Div() [all …]
|
| H A D | Integral.h | 121 constexpr static unsigned bitWidth() { return Bits; } 125 bool isMin() const { return *this == min(bitWidth()); } 191 return add(A, Integral(ReprT(1)), A.bitWidth(), R); 195 return sub(A, Integral(ReprT(1)), A.bitWidth(), R);
|
| H A D | Boolean.h | 69 constexpr static unsigned bitWidth() { return true; } in bitWidth() function
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | DecoderEmitter.cpp | 2086 unsigned bitStart = bi++, bitWidth = 1; in populateInstruction() local 2101 ++bitWidth; in populateInstruction() 2168 OpInfo.addField(bitStart, bitWidth, 0); in populateInstruction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | APFloat.cpp | 5167 unsigned bitWidth = result.getBitWidth(); in convertToInteger() local 5169 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger() 5172 result = APInt(bitWidth, parts); in convertToInteger()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMInstrThumb2.td | 2934 // will match the extended, not the original bitWidth for $src.
|