Home
last modified time | relevance | path

Searched refs:IntT (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerEmbeddedInt.h32 template <typename IntT, int Bits = sizeof(IntT) * CHAR_BIT>
61 PointerEmbeddedInt(IntT I) { *this = I; }
63 PointerEmbeddedInt &operator=(IntT I) {
64 assert((std::is_signed<IntT>::value ? isInt<Bits>(I) : isUInt<Bits>(I)) &&
72 operator IntT() const {
73 if (std::is_signed<IntT>::value)
74 return static_cast<IntT>(static_cast<intptr_t>(Value) >> Shift);
75 return static_cast<IntT>(Value >> Shift);
81 template <typename IntT, int Bits>
82 struct PointerLikeTypeTraits<PointerEmbeddedInt<IntT, Bits>> {
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h541 template <class IntT> IntT toInt() const;
780 template <class IntT>
781 IntT ScaledNumber<DigitsT>::toInt() const { in toInt()
782 typedef std::numeric_limits<IntT> Limits; in toInt()
788 IntT N = Digits; in toInt()
790 assert(size_t(Scale) < sizeof(IntT) * 8); in toInt()
794 assert(size_t(-Scale) < sizeof(IntT) * 8); in toInt()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h416 template <class IntT> IntT swap(IntT Int) const { in swap()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp192 static bool checkOpenCLEnqueueIntType(Sema &S, Expr *E, const QualType &IntT) { in checkOpenCLEnqueueIntType() argument
202 S.CheckImplicitConversion(E, IntT, E->getBeginLoc()); in checkOpenCLEnqueueIntType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp249 template<typename IntT> static LocIndex fromRawInteger(IntT ID) { in fromRawInteger()
250 static_assert(std::is_unsigned_v<IntT> && sizeof(ID) == sizeof(uint64_t), in fromRawInteger()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3441 Type *IntT = in emitGlobalConstantVector() local
3444 ConstantExpr::getBitCast(const_cast<ConstantVector *>(CV), IntT), DL)); in emitGlobalConstantVector()