Searched refs:IntT (Results 1 – 5 of 5) sorted by relevance
32 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 …]
540 template <class IntT> IntT toInt() const;779 template <class IntT>780 IntT ScaledNumber<DigitsT>::toInt() const { in toInt()781 typedef std::numeric_limits<IntT> Limits; in toInt()787 IntT N = Digits; in toInt()789 assert(size_t(Scale) < sizeof(IntT) * 8); in toInt()793 assert(size_t(-Scale) < sizeof(IntT) * 8); in toInt()
264 template <class IntT> IntT swap(IntT Int) const { in swap()
258 template<typename IntT> static LocIndex fromRawInteger(IntT ID) { in fromRawInteger()259 static_assert(std::is_unsigned<IntT>::value && in fromRawInteger()
13171 static bool checkOpenCLEnqueueIntType(Sema &S, Expr *E, const QualType &IntT) { in checkOpenCLEnqueueIntType() argument13181 CheckImplicitConversion(S, E, IntT, E->getBeginLoc()); in checkOpenCLEnqueueIntType()