Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DInterp.h121 auto Trunc = Value.trunc(Result.bitWidth()).toString(10); in AddSubMulHelper()
135 const unsigned Bits = RHS.bitWidth() + 1; in Add()
143 const unsigned Bits = RHS.bitWidth() + 1; in Sub()
151 const unsigned Bits = RHS.bitWidth() * 2; in Mul()
728 T Index = T::from(Ptr.getIndex(), Offset.bitWidth()); in OffsetHelper()
744 const unsigned Bits = Offset.bitWidth(); in OffsetHelper()
849 if (Bits > 1 && V >= T::from(Bits, V.bitWidth())) { in Trunc()
862 if (RHS >= V.bitWidth()) { in ShiftRight()
863 S.Stk.push<T>(T::from(0, V.bitWidth())); in ShiftRight()
865 S.Stk.push<T>(T::from(V >> RHS, V.bitWidth())); in ShiftRight()
[all …]
H A DIntegral.h121 constexpr static unsigned bitWidth() { return Bits; }
125 bool isMin() const { return *this == min(bitWidth()); }
187 return add(A, Integral(T(1)), A.bitWidth(), R);
191 return sub(A, Integral(T(1)), A.bitWidth(), R);
H A DBoolean.h63 constexpr static unsigned bitWidth() { return true; } in bitWidth() function
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DBitmaskEnum.h97 constexpr unsigned bitWidth(uint64_t Value) {
98 return Value ? 1 + bitWidth(Value >> 1) : 0;
147 constexpr unsigned BitWidth = BitmaskEnumDetail::bitWidth(uint64_t{
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp1921 unsigned bitStart = bi++, bitWidth = 1; in populateInstruction() local
1936 ++bitWidth; in populateInstruction()
2001 OpInfo.addField(bitStart, bitWidth, 0); in populateInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPFloat.cpp4876 unsigned bitWidth = result.getBitWidth(); in convertToInteger() local
4878 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger()
4881 result = APInt(bitWidth, parts); in convertToInteger()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Duni.d1017 alias bitWidth = staticMap!(bitSizeOf, Types); in MultiArray() local
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/uni/
H A Dpackage.d984 alias bitWidth = staticMap!(bitSizeOf, Types); in MultiArray() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMInstrThumb2.td2926 // will match the extended, not the original bitWidth for $src.