Home
last modified time | relevance | path

Searched refs:IntType (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerIntPair.h88 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
96 IntType getInt() const { return (IntType)Info::getInt(Value); } in getInt()
102 void setInt(IntType IntVal) & { in setInt()
110 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) & { in setPointerAndInt()
218 template <typename PointerTy, unsigned IntBits, typename IntType>
220 using Ty = PointerIntPair<PointerTy, IntBits, IntType>;
243 template <typename PointerTy, unsigned IntBits, typename IntType,
246 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits>> {
252 static inline PointerIntPair<PointerTy, IntBits, IntType>
257 static inline PointerIntPair<PointerTy, IntBits, IntType>
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h136 enum IntType { enum
363 IntType getSignedSizeType() const { in getSignedSizeType()
378 IntType getUIntMaxType() const { in getUIntMaxType()
389 IntType getUIntPtrType() const { in getUIntPtrType()
397 IntType getUInt64Type() const { in getUInt64Type()
401 IntType getUInt16Type() const { in getUInt16Type()
407 static IntType getCorrespondingUnsignedType(IntType T) { in getCorrespondingUnsignedType()
435 unsigned getTypeWidth(IntType T) const;
456 unsigned getTypeAlign(IntType T) const;
459 static bool isTypeSigned(IntType T);
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStructuredData.h223 template <class IntType>
224 std::optional<IntType> GetItemAtIndexAsInteger(size_t idx) const { in GetItemAtIndexAsInteger()
226 if constexpr (std::numeric_limits<IntType>::is_signed) { in GetItemAtIndexAsInteger()
228 return static_cast<IntType>(signed_value->GetValue()); in GetItemAtIndexAsInteger()
231 return static_cast<IntType>(unsigned_value->GetValue()); in GetItemAtIndexAsInteger()
436 template <class IntType>
440 if constexpr (std::numeric_limits<IntType>::is_signed) { in GetValueForKeyAsInteger()
442 result = static_cast<IntType>(signed_value->GetValue()); in GetValueForKeyAsInteger()
455 template <class IntType>
457 IntType default_val) const { in GetValueForKeyAsInteger()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp208 const char *TargetInfo::getTypeName(IntType T) { in getTypeName()
226 const char *TargetInfo::getTypeConstantSuffix(IntType T) const { in getTypeConstantSuffix()
251 const char *TargetInfo::getTypeFormatModifier(IntType T) { in getTypeFormatModifier()
269 unsigned TargetInfo::getTypeWidth(IntType T) const { in getTypeWidth()
285 TargetInfo::IntType TargetInfo::getIntTypeByWidth( in getIntTypeByWidth()
300 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth()
351 unsigned TargetInfo::getTypeAlign(IntType T) const { in getTypeAlign()
369 bool TargetInfo::isTypeSigned(IntType T) { in isTypeSigned()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Drandom446 template<class IntType = int>
451 typedef IntType result_type;
459 IntType b = numeric_limits<IntType>::max());
473 IntType b = numeric_limits<IntType>::max()); // C++20
627 template<class IntType = int>
641 IntType t() const;
660 IntType t() const;
687 template<class IntType = int>
745 template<class IntType = int>
805 template<class IntType = int>
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/
H A DAVR.h159 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getIntTypeByWidth()
165 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getLeastIntTypeByWidth()
H A DWebAssembly.h140 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getIntTypeByWidth()
146 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getLeastIntTypeByWidth()
H A DOSTargets.h126 TargetInfo::IntType getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp178 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize()
184 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt()
194 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType()
199 static void DefineTypeWidth(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeWidth()
213 static void DefineTypeSizeAndWidth(const Twine &Prefix, TargetInfo::IntType Ty, in DefineTypeSizeAndWidth()
220 static void DefineExactWidthIntType(TargetInfo::IntType Ty, in DefineExactWidthIntType()
245 static void DefineExactWidthIntTypeSize(TargetInfo::IntType Ty, in DefineExactWidthIntTypeSize()
265 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineLeastWidthIntType()
284 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineFastIntType()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTDiagnostic.cpp1213 QualType &IntType, bool &IsNullPtr, in InitializeNonTypeDiffVariables() argument
1223 IntType = Iter->getIntegralType(); in InitializeNonTypeDiffVariables()
1253 IntType = TA.getIntegralType(); in InitializeNonTypeDiffVariables()
1834 QualType IntType, bool PrintType) { in PrintAPSInt() argument
1847 IntType.print(OS, Context.getPrintingPolicy()); in PrintAPSInt()
1852 if (IntType->isBooleanType()) { in PrintAPSInt()
1953 const llvm::APSInt &Val, QualType IntType, in PrintValueDeclAndInteger() argument
1966 PrintAPSInt(Val, IntExpr, true /*Valid*/, IntType, false /*PrintType*/); in PrintValueDeclAndInteger()
1973 void PrintIntegerAndValueDecl(const llvm::APSInt &Val, QualType IntType, in PrintIntegerAndValueDecl() argument
1979 PrintAPSInt(Val, IntExpr, true /*Valid*/, IntType, false /*PrintType*/); in PrintIntegerAndValueDecl()
[all …]
H A DItaniumCXXABI.cpp228 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(LangAS::Default); in getMemberPointerInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DNVPTX.cpp142 llvm::Type *IntType = llvm::Type::getIntNTy(getVMContext(), Div); in coerceToIntArrayWithLimit() local
144 return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements)); in coerceToIntArrayWithLimit()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp539 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN() local
540 IntType.apply(LHSValue); in evalBinOpNN()
541 IntType.apply(RHSValue); in evalBinOpNN()
674 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN() local
675 const llvm::APSInt &first = IntType.convert(symIntExpr->getRHS()); in evalBinOpNN()
676 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
H A DRangeConstraintManager.cpp1437 APSIntType IntType = ValueFactory.getAPSIntType(T); in assumeNonZero() local
1438 return RangeFactory.deletePoint(Domain, IntType.getZeroValue()); in assumeNonZero()
2855 APSIntType IntType = BV.getAPSIntType(Sym->getType()); in checkNull() local
2856 llvm::APSInt Zero = IntType.getZeroValue(); in checkNull()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfoImpl.cpp84 llvm::Type *IntType = llvm::Type::getIntNTy(LLVMContext, Alignment); in coerceToIntArray() local
86 return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements)); in coerceToIntArray()
H A DCGOpenMPRuntimeGPU.cpp1490 QualType IntType = CGF.getContext().getIntTypeForBitwidth( in shuffleAndStore() local
1493 llvm::Type *IntTy = CGF.ConvertTypeForMem(IntType); in shuffleAndStore()
1522 CGF.EmitLoadOfScalar(Ptr, /*Volatile=*/false, IntType, Loc, in shuffleAndStore()
1525 IntType, Offset, Loc); in shuffleAndStore()
1526 CGF.EmitStoreOfScalar(Res, ElemPtr, /*Volatile=*/false, IntType, in shuffleAndStore()
1538 CGF.EmitLoadOfScalar(Ptr, /*Volatile=*/false, IntType, Loc, in shuffleAndStore()
1541 IntType, Offset, Loc); in shuffleAndStore()
1542 CGF.EmitStoreOfScalar(Res, ElemPtr, /*Volatile=*/false, IntType, in shuffleAndStore()
H A DCGBuiltin.cpp174 return CGF.Builder.CreatePtrToInt(V, IntType); in EmitToInt()
176 assert(V->getType() == IntType); in EmitToInt()
221 llvm::IntegerType *IntType = llvm::IntegerType::get( in MakeBinaryAtomicValue() local
226 Val = EmitToInt(CGF, Val, T, IntType); in MakeBinaryAtomicValue()
274 llvm::IntegerType *IntType = llvm::IntegerType::get( in EmitBinaryAtomicPost() local
279 Val = EmitToInt(CGF, Val, T, IntType); in EmitBinaryAtomicPost()
311 llvm::IntegerType *IntType = llvm::IntegerType::get( in MakeAtomicCmpXchgValue() local
316 Cmp = EmitToInt(CGF, Cmp, T, IntType); in MakeAtomicCmpXchgValue()
5115 llvm::IntegerType *IntType = IntegerType::get( in EmitBuiltinExpr() local
20143 llvm::IntegerType *IntType = nullptr; member
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp67 PrimType IntType = getIntPrimType(S); in pushInt() local
68 if (IntType == PT_Sint32) in pushInt()
70 else if (IntType == PT_Sint16) in pushInt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp552 auto *IntType = dyn_cast<IntegerType>(LoadTy); in FoldReinterpretLoadFromConst() local
555 if (!IntType) { in FoldReinterpretLoadFromConst()
588 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8; in FoldReinterpretLoadFromConst()
594 return PoisonValue::get(IntType); in FoldReinterpretLoadFromConst()
603 return PoisonValue::get(IntType); in FoldReinterpretLoadFromConst()
619 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConst()
634 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1545 IntegerType *IntType = IntegerType::get(CI->getContext(), Len * 8); in optimizeMemCmpConstantSize() local
1546 Align PrefAlignment = DL.getPrefTypeAlign(IntType); in optimizeMemCmpConstantSize()
1551 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
1555 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
1562 LHSV = B.CreateLoad(IntType, LHS, "lhsv"); in optimizeMemCmpConstantSize()
1564 RHSV = B.CreateLoad(IntType, RHS, "rhsv"); in optimizeMemCmpConstantSize()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DRegisterInfoEmitter.cpp815 auto *IntType = getMinimalTypeForRange(*std::max_element( in emitComposeSubRegIndexLaneMask() local
819 << IntType << " CompositeSequences[] = {\n"; in emitComposeSubRegIndexLaneMask()
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp582 std::string getIntegerValue(const std::string &IntType) override { in getIntegerValue() argument
583 return "GetIntegerConstantValue<" + IntType + ">(E->getArg(" + in getIntegerValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp417 SPIRVType *IntType = GR->getOrCreateSPIRVIntegerType(BitWidth, MIRBuilder); in buildConstantIntReg() local
418 return GR->buildConstantInt(Val, MIRBuilder, IntType); in buildConstantIntReg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7835 Type *IntType = Builder.getIntNTy(X->getType()->getScalarSizeInBits()); in visitFCmpInst() local
7837 IntType = VectorType::get(IntType, VecTy->getElementCount()); in visitFCmpInst()
7841 Value *IntX = Builder.CreateBitCast(X, IntType); in visitFCmpInst()
7843 ConstantInt::getNullValue(IntType)); in visitFCmpInst()
H A DInstCombineCalls.cpp171 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3); in SimplifyAnyMemTransfer() local
192 LoadInst *L = Builder.CreateLoad(IntType, Src); in SimplifyAnyMemTransfer()

12