Home
last modified time | relevance | path

Searched refs:IntT (Results 1 – 9 of 9) 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/clang/lib/CIR/Dialect/IR/
H A DCIRAttrs.cpp113 template <typename IntT>
114 static bool isTooLargeForType(const mlir::APInt &value, IntT expectedValue) { in isTooLargeForType()
115 if constexpr (std::is_signed_v<IntT>) { in isTooLargeForType()
122 template <typename IntT>
126 IntT ivalue; in parseIntLiteralImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h544 template <class IntT> IntT toInt() const;
783 template <class IntT>
784 IntT ScaledNumber<DigitsT>::toInt() const { in toInt()
785 typedef std::numeric_limits<IntT> Limits; in toInt()
791 IntT N = Digits; in toInt()
793 assert(size_t(Scale) < sizeof(IntT) * 8); in toInt()
797 assert(size_t(-Scale) < sizeof(IntT) * 8); in toInt()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h451 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.cpp251 template<typename IntT> static LocIndex fromRawInteger(IntT ID) { in fromRawInteger()
252 static_assert(std::is_unsigned_v<IntT> && sizeof(ID) == sizeof(uint64_t), in fromRawInteger()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltin.cpp573 PrimType IntT = *S.getContext().classify(Call->getArg(0)); in interp__builtin_fpclassify() local
576 Values[4 - I] = popToAPSInt(S.Stk, IntT); in interp__builtin_fpclassify()
H A DCompiler.cpp1020 PrimType IntT = classifyPrim(E->getType()); in VisitPointerArithBinOp() local
1021 if (!this->emitSubPtr(IntT, E)) in VisitPointerArithBinOp()
1023 return DiscardResult ? this->emitPop(IntT, E) : true; in VisitPointerArithBinOp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3793 Type *IntT = in emitGlobalConstantVector() local
3796 ConstantExpr::getBitCast(const_cast<Constant *>(CV), IntT), DL)); in emitGlobalConstantVector()