Searched refs:bitWidth (Results 1 – 12 of 12) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | IntegralAP.h | 139 constexpr uint32_t bitWidth() const { return BitWidth; } in bitWidth() function 145 Bits = bitWidth(); 192 getValue().trunc(BitWidth).sextOrTrunc(this->bitWidth())); in truncate() 195 getValue().trunc(BitWidth).zextOrTrunc(this->bitWidth())); in truncate() 203 llvm::StoreIntToMemory(getValue(), (uint8_t *)Dest, bitWidth() / 8); in bitcastToMemory() 215 assert(bitWidth() == RHS.bitWidth()); in compare() 235 APSInt One(APInt(A.bitWidth(), 1ull, Signed), !Signed); in increment() 236 return add(A, IntegralAP<Signed>(One), A.bitWidth() + 1, R); in increment() 240 APSInt One(APInt(A.bitWidth(), 1ull, Signed), !Signed); in decrement() 241 return sub(A, IntegralAP<Signed>(One), A.bitWidth() + 1, R); in decrement()
|
| H A D | Interp.h | 264 if ((NumElements->bitWidth() - NumElements->isSigned()) < in CheckArraySize() 374 Result = S.allocAP<T>(LHS.bitWidth()); in AddSubMulHelper() 395 Value.trunc(Result.bitWidth()) in AddSubMulHelper() 413 const unsigned Bits = RHS.bitWidth() + 1; in Add() 440 const unsigned Bits = RHS.bitWidth() + 1; in Sub() 460 const unsigned Bits = RHS.bitWidth() * 2; in Mul() 511 unsigned Bits = LHSR.bitWidth(); in Mulc() 572 unsigned Bits = LHSR.bitWidth(); in Divc() 630 unsigned Bits = RHS.bitWidth(); in BitAnd() 650 unsigned Bits = RHS.bitWidth(); in BitOr() [all …]
|
| H A D | Floating.h | 44 unsigned BitWidth = bitWidth(); in getValue() 102 unsigned bitWidth() const { in bitWidth() function 105 unsigned numWords() const { return llvm::APInt::getNumWords(bitWidth()); } in numWords() 192 llvm::StoreIntToMemory(API, (uint8_t *)Buff, bitWidth() / 8); in bitcastToMemory()
|
| H A D | Integral.h | 146 constexpr static unsigned bitWidth() { return Bits; } 150 bool isMin() const { return *this == min(bitWidth()); } 230 return add(A, Integral(ReprT(1)), A.bitWidth(), R); 234 return sub(A, Integral(ReprT(1)), A.bitWidth(), R);
|
| H A D | FixedPoint.h | 55 unsigned bitWidth() const { return V.getWidth(); } in bitWidth() function 105 bitWidth() / 8); in serialize()
|
| H A D | Boolean.h | 59 constexpr static unsigned bitWidth() { return 1; } in bitWidth() function
|
| H A D | InterpBuiltinBitCast.cpp | 446 P.deref<T>() = T::bitcastFromMemory(Memory.get(), T::bitWidth()) in DoBitCastPtr()
|
| H A D | InterpBuiltin.cpp | 1649 unsigned BitWidth = Result.bitWidth(); in interp__builtin_vector_reduce()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | AbstractBasicReader.h | 171 unsigned bitWidth = asImpl().readUInt32(); in readAPInt() local 172 unsigned numWords = llvm::APInt::getNumWords(bitWidth); in readAPInt() 176 return llvm::APInt(bitWidth, numWords, &data[0]); in readAPInt()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | BitmaskEnum.h | 141 constexpr unsigned bitWidth(uint64_t Value) { 142 return Value ? 1 + bitWidth(Value >> 1) : 0; 223 constexpr unsigned BitWidth = BitmaskEnumDetail::bitWidth(
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFloat.cpp | 5554 unsigned bitWidth = result.getBitWidth(); in convertToInteger() local 5556 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger() 5559 result = APInt(bitWidth, parts); in convertToInteger()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMInstrThumb2.td | 3016 // will match the extended, not the original bitWidth for $src.
|