Searched refs:bitWidth (Results 1 – 9 of 9) sorted by relevance
/freebsd/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(); 158 return IntegralAP(V.trunc(BitWidth).sextOrTrunc(this->bitWidth())); in truncate() 160 return IntegralAP(V.trunc(BitWidth).zextOrTrunc(this->bitWidth())); in truncate() 170 assert(bitWidth() == RHS.bitWidth()); in compare() 188 IntegralAP<Signed> One(1, A.bitWidth()); in increment() 189 return add(A, One, A.bitWidth() + 1, R); in increment() 193 IntegralAP<Signed> One(1, A.bitWidth()); in decrement() 194 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 | 162 if (Bits > 1 && RHS >= RT::from(Bits, RHS.bitWidth())) { in CheckShift() 352 Value.trunc(Result.bitWidth()) in AddSubMulHelper() 374 const unsigned Bits = RHS.bitWidth() + 1; in Add() 392 const unsigned Bits = RHS.bitWidth() + 1; in Sub() 410 const unsigned Bits = RHS.bitWidth() * 2; in Mul() 452 unsigned Bits = LHSR.bitWidth(); in Mulc() 507 unsigned Bits = LHSR.bitWidth(); in Divc() 559 unsigned Bits = RHS.bitWidth(); in BitAnd() 576 unsigned Bits = RHS.bitWidth(); in BitOr() 593 unsigned Bits = RHS.bitWidth(); in BitXor() [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 | 63 constexpr static unsigned bitWidth() { return 1; } in bitWidth() function
|
/freebsd/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/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/contrib/llvm-project/llvm/lib/Support/ |
H A D | APFloat.cpp | 5367 unsigned bitWidth = result.getBitWidth(); in convertToInteger() local 5369 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger() 5372 result = APInt(bitWidth, parts); in convertToInteger()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMInstrThumb2.td | 3009 // will match the extended, not the original bitWidth for $src.
|