Home
last modified time | relevance | path

Searched refs:bitWidth (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegralAP.h106 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 DIntegral.h121 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 DInterp.h305 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 DFloating.h86 unsigned bitWidth() const { return F.semanticsSizeInBits(F.getSemantics()); } in bitWidth() function
150 bitWidth() / 8); in serialize()
H A DBoolean.h68 constexpr static unsigned bitWidth() { return 1; } in bitWidth() function
H A DInterpBuiltin.cpp59 APInt(Val.bitWidth(), static_cast<uint64_t>(Val), T::isSigned())); in peekToAPSInt()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitmaskEnum.h136 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 DAbstractBasicReader.h172 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 DAPFloat.cpp5246 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 DARMInstrThumb2.td3015 // will match the extended, not the original bitWidth for $src.