Searched refs:IntT (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | PointerEmbeddedInt.h | 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 …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/ |
| H A D | CIRAttrs.cpp | 113 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 D | ScaledNumber.h | 544 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 D | InstrProfReader.h | 451 template <class IntT> IntT swap(IntT Int) const { in swap()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenCL.cpp | 192 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 D | VarLocBasedImpl.cpp | 251 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 D | InterpBuiltin.cpp | 573 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 D | Compiler.cpp | 1020 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 D | AsmPrinter.cpp | 3793 Type *IntT = in emitGlobalConstantVector() local 3796 ConstantExpr::getBitCast(const_cast<Constant *>(CV), IntT), DL)); in emitGlobalConstantVector()
|