Searched refs:bitWidth (Results 1 - 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicReader.h172 unsigned bitWidth = asImpl().readUInt32(); local
173 unsigned numWords = llvm::APInt::getNumWords(bitWidth);
177 return llvm::APInt(bitWidth, numWords, &data[0]);
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h121 constexpr static unsigned bitWidth() { return Bits; } function in class:clang::interp::Integral
125 bool isMin() const { return *this == min(bitWidth()); }
188 return add(A, Integral(T(1)), A.bitWidth(), R);
192 return sub(A, Integral(T(1)), A.bitWidth(), R);
H A DInterp.h121 auto Trunc = Value.trunc(Result.bitWidth()).toString(10);
135 const unsigned Bits = RHS.bitWidth() + 1;
143 const unsigned Bits = RHS.bitWidth() + 1;
151 const unsigned Bits = RHS.bitWidth() * 2;
728 T Index = T::from(Ptr.getIndex(), Offset.bitWidth());
744 const unsigned Bits = Offset.bitWidth();
849 if (Bits > 1 && V >= T::from(Bits, V.bitWidth())) {
862 if (RHS >= V.bitWidth()) {
863 S.Stk.push<T>(T::from(0, V.bitWidth()));
865 S.Stk.push<T>(T::from(V >> RHS, V.bitWidth()));
[all...]
H A DBoolean.h63 constexpr static unsigned bitWidth() { return true; } function in class:clang::interp::Boolean
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp1896 unsigned bitStart = bi++, bitWidth = 1;
1911 ++bitWidth;
1976 OpInfo.addField(bitStart, bitWidth, 0);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp4593 unsigned bitWidth = result.getBitWidth();
4595 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(),
4598 result = APInt(bitWidth, parts);

Completed in 123 milliseconds