Searched refs:bitWidth (Results 1 – 10 of 10) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | IntegralAP.h | 106 NumBits = V.bitWidth(); 125 constexpr unsigned bitWidth() const { return V.getBitWidth(); } in bitWidth() function 129 Bits = bitWidth(); 167 assert(bitWidth() == RHS.bitWidth()); in compare() 185 IntegralAP<Signed> One(1, A.bitWidth()); in increment() 186 return add(A, One, A.bitWidth() + 1, R); in increment() 190 IntegralAP<Signed> One(1, A.bitWidth()); in decrement() 191 return sub(A, One, A.bitWidth() + 1, R); in decrement()
|
| H A D | Integral.h | 121 constexpr static unsigned bitWidth() { return Bits; } 125 bool isMin() const { return *this == min(bitWidth()); } 193 return add(A, Integral(ReprT(1)), A.bitWidth(), R); 197 return sub(A, Integral(ReprT(1)), A.bitWidth(), R);
|
| H A D | Interp.h | 305 const unsigned Bits = RHS.bitWidth() + 1; in Add() 323 const unsigned Bits = RHS.bitWidth() + 1; in Sub() 341 const unsigned Bits = RHS.bitWidth() * 2; in Mul() 362 unsigned Bits = RHS.bitWidth(); in BitAnd() 379 unsigned Bits = RHS.bitWidth(); in BitOr() 396 unsigned Bits = RHS.bitWidth(); in BitXor() 416 const unsigned Bits = RHS.bitWidth() * 2; in Rem() 466 const unsigned Bits = Val.bitWidth(); in Inv() 540 unsigned Bits = Value.bitWidth() + 1; in IncDecHelper() 1764 const unsigned Bits = LHS.bitWidth(); in Shr() [all …]
|
| H A D | Floating.h | 86 unsigned bitWidth() const { return F.semanticsSizeInBits(F.getSemantics()); } in bitWidth() function 150 bitWidth() / 8); in serialize()
|
| H A D | Boolean.h | 68 constexpr static unsigned bitWidth() { return 1; } in bitWidth() function
|
| H A D | InterpBuiltin.cpp | 59 APInt(Val.bitWidth(), static_cast<uint64_t>(Val), T::isSigned())); in peekToAPSInt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | BitmaskEnum.h | 136 constexpr unsigned bitWidth(uint64_t Value) { 137 return Value ? 1 + bitWidth(Value >> 1) : 0; 191 constexpr unsigned BitWidth = BitmaskEnumDetail::bitWidth(
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFloat.cpp | 5246 unsigned bitWidth = result.getBitWidth(); in convertToInteger() local 5248 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger() 5251 result = APInt(bitWidth, parts); in convertToInteger()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMInstrThumb2.td | 3015 // will match the extended, not the original bitWidth for $src.
|