Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DPointerIntPair.h42 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
53 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
61 IntType getInt() const { return (IntType)Info::getInt(Value); } in getInt()
67 void setInt(IntType IntVal) LLVM_LVALUE_FUNCTION { in setInt()
75 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) LLVM_LVALUE_FUNCTION { in setPointerAndInt()
132 template <typename PointerTy, unsigned IntBits, typename IntType,
135 struct is_trivially_copyable<PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>> : std::t…
137 …static_assert(std::is_trivially_copyable<PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, In…
194 template <typename PointerTy, unsigned IntBits, typename IntType>
195 struct DenseMapInfo<PointerIntPair<PointerTy, IntBits, IntType>> {
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTargetInfo.h110 enum IntType { enum
132 IntType SizeType, IntMaxType, PtrDiffType, IntPtrType, WCharType, WIntType,
317 IntType getSizeType() const { return SizeType; } in getSizeType()
318 IntType getSignedSizeType() const { in getSignedSizeType()
332 IntType getIntMaxType() const { return IntMaxType; } in getIntMaxType()
333 IntType getUIntMaxType() const { in getUIntMaxType()
336 IntType getPtrDiffType(unsigned AddrSpace) const { in getPtrDiffType()
339 IntType getUnsignedPtrDiffType(unsigned AddrSpace) const { in getUnsignedPtrDiffType()
342 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType()
343 IntType getUIntPtrType() const { in getUIntPtrType()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DTargetInfo.cpp172 const char *TargetInfo::getTypeName(IntType T) { in getTypeName()
190 const char *TargetInfo::getTypeConstantSuffix(IntType T) const { in getTypeConstantSuffix()
215 const char *TargetInfo::getTypeFormatModifier(IntType T) { in getTypeFormatModifier()
233 unsigned TargetInfo::getTypeWidth(IntType T) const { in getTypeWidth()
249 TargetInfo::IntType TargetInfo::getIntTypeByWidth( in getIntTypeByWidth()
264 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth()
309 unsigned TargetInfo::getTypeAlign(IntType T) const { in getTypeAlign()
327 bool TargetInfo::isTypeSigned(IntType T) { in isTypeSigned()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/
H A Dllvm.grm69 IntType ::= INTTYPE;
361 | switch IntType ValueRef ^ "," label ValueRef "[" JumpTable "]"
362 | switch IntType ValueRef ^ "," label ValueRef "[" ^ "]"
369 JumpTable ::= JumpTable IntType ConstValueRef ^ "," label ValueRef
370 | IntType ConstValueRef ^ "," label ValueRef ;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/Targets/
H A DAVR.h156 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getIntTypeByWidth()
162 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getLeastIntTypeByWidth()
H A DWebAssembly.h114 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getIntTypeByWidth()
120 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getLeastIntTypeByWidth()
H A DOSTargets.h158 TargetInfo::IntType getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInitPreprocessor.cpp176 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize()
182 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt()
192 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType()
197 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, in DefineTypeWidth()
208 static void DefineExactWidthIntType(TargetInfo::IntType Ty, in DefineExactWidthIntType()
233 static void DefineExactWidthIntTypeSize(TargetInfo::IntType Ty, in DefineExactWidthIntTypeSize()
251 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineLeastWidthIntType()
265 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineFastIntType()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTDiagnostic.cpp1177 QualType &IntType, bool &IsNullPtr, in InitializeNonTypeDiffVariables() argument
1187 IntType = Iter->getIntegralType(); in InitializeNonTypeDiffVariables()
1217 IntType = TA.getIntegralType(); in InitializeNonTypeDiffVariables()
1782 QualType IntType, bool PrintType) { in PrintAPSInt() argument
1795 IntType.print(OS, Context.getPrintingPolicy()); in PrintAPSInt()
1800 if (IntType->isBooleanType()) { in PrintAPSInt()
1900 const llvm::APSInt &Val, QualType IntType, in PrintValueDeclAndInteger() argument
1913 PrintAPSInt(Val, IntExpr, true /*Valid*/, IntType, false /*PrintType*/); in PrintValueDeclAndInteger()
1920 void PrintIntegerAndValueDecl(const llvm::APSInt &Val, QualType IntType, in PrintIntegerAndValueDecl() argument
1926 PrintAPSInt(Val, IntExpr, true /*Valid*/, IntType, false /*PrintType*/); in PrintIntegerAndValueDecl()
[all …]
H A DItaniumCXXABI.cpp196 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(0); in getMemberPointerInfo()
H A DASTContext.cpp11102 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp481 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN() local
482 IntType.apply(LHSValue); in evalBinOpNN()
483 IntType.apply(RHSValue); in evalBinOpNN()
603 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN() local
604 const llvm::APSInt &first = IntType.convert(symIntExpr->getRHS()); in evalBinOpNN()
605 const llvm::APSInt &second = IntType.convert(*RHSValue); in evalBinOpNN()
H A DRangeConstraintManager.cpp1062 APSIntType IntType = ValueFactory.getAPSIntType(T); in assumeNonZero() local
1063 return RangeFactory.deletePoint(Domain, IntType.getZeroValue()); in assumeNonZero()
2010 APSIntType IntType = BV.getAPSIntType(Sym->getType()); in checkNull() local
2011 llvm::APSInt Zero = IntType.getZeroValue(); in checkNull()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Drandom446 template<class IntType = int>
451 typedef IntType result_type;
458 explicit param_type(IntType a = 0,
459 IntType b = numeric_limits<IntType>::max());
469 explicit uniform_int_distribution(IntType a = 0,
470 IntType b = numeric_limits<IntType>::max()); // before C++20
472 explicit uniform_int_distribution(IntType a,
473 IntType b = numeric_limits<IntType>::max()); // C++20
627 template<class IntType = int>
632 typedef IntType result_type;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp973 IntegerType *IntType = IntegerType::get(CI->getContext(), Len * 8); in optimizeMemCmpConstantSize() local
974 unsigned PrefAlignment = DL.getPrefTypeAlignment(IntType); in optimizeMemCmpConstantSize()
979 LHSC = ConstantExpr::getBitCast(LHSC, IntType->getPointerTo()); in optimizeMemCmpConstantSize()
980 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
984 RHSC = ConstantExpr::getBitCast(RHSC, IntType->getPointerTo()); in optimizeMemCmpConstantSize()
985 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
994 IntType->getPointerTo(LHS->getType()->getPointerAddressSpace()); in optimizeMemCmpConstantSize()
995 LHSV = B.CreateLoad(IntType, B.CreateBitCast(LHS, LHSPtrTy), "lhsv"); in optimizeMemCmpConstantSize()
999 IntType->getPointerTo(RHS->getType()->getPointerAddressSpace()); in optimizeMemCmpConstantSize()
1000 RHSV = B.CreateLoad(IntType, B.CreateBitCast(RHS, RHSPtrTy), "rhsv"); in optimizeMemCmpConstantSize()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp555 auto *IntType = dyn_cast<IntegerType>(LoadTy); in FoldReinterpretLoadFromConstPtr() local
558 if (!IntType) { in FoldReinterpretLoadFromConstPtr()
601 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8; in FoldReinterpretLoadFromConstPtr()
621 return UndefValue::get(IntType); in FoldReinterpretLoadFromConstPtr()
625 return UndefValue::get(IntType); in FoldReinterpretLoadFromConstPtr()
641 APInt ResultVal = APInt(IntType->getBitWidth(), 0); in FoldReinterpretLoadFromConstPtr()
656 return ConstantInt::get(IntType->getContext(), ResultVal); in FoldReinterpretLoadFromConstPtr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp2346 QualType IntType = CGF.getContext().getIntTypeForBitwidth( in shuffleAndStore() local
2349 llvm::Type *IntTy = CGF.ConvertTypeForMem(IntType); in shuffleAndStore()
2375 CGF.EmitLoadOfScalar(Ptr, /*Volatile=*/false, IntType, Loc, in shuffleAndStore()
2378 IntType, Offset, Loc); in shuffleAndStore()
2379 CGF.EmitStoreOfScalar(Res, ElemPtr, /*Volatile=*/false, IntType, in shuffleAndStore()
2391 CGF.EmitLoadOfScalar(Ptr, /*Volatile=*/false, IntType, Loc, in shuffleAndStore()
2394 IntType, Offset, Loc); in shuffleAndStore()
2395 CGF.EmitStoreOfScalar(Res, ElemPtr, /*Volatile=*/false, IntType, in shuffleAndStore()
H A DCGBuiltin.cpp116 QualType T, llvm::IntegerType *IntType) { in EmitToInt() argument
120 return CGF.Builder.CreatePtrToInt(V, IntType); in EmitToInt()
122 assert(V->getType() == IntType); in EmitToInt()
151 llvm::IntegerType *IntType = in MakeBinaryAtomicValue() local
154 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in MakeBinaryAtomicValue()
160 Args[1] = EmitToInt(CGF, Args[1], T, IntType); in MakeBinaryAtomicValue()
212 llvm::IntegerType *IntType = in EmitBinaryAtomicPost() local
215 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomicPost()
220 Args[1] = EmitToInt(CGF, Args[1], T, IntType); in EmitBinaryAtomicPost()
229 llvm::ConstantInt::getAllOnesValue(IntType)); in EmitBinaryAtomicPost()
[all …]
H A DTargetInfo.cpp62 llvm::Type *IntType = llvm::Type::getIntNTy(LLVMContext, Alignment); in coerceToIntArray() local
64 return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements)); in coerceToIntArray()
7051 llvm::Type *IntType = llvm::Type::getIntNTy(getVMContext(), Div); in coerceToIntArrayWithLimit() local
7053 return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements)); in coerceToIntArrayWithLimit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp163 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3); in SimplifyAnyMemTransfer() local
164 Type *NewSrcPtrTy = PointerType::get(IntType, SrcAddrSp); in SimplifyAnyMemTransfer()
165 Type *NewDstPtrTy = PointerType::get(IntType, DstAddrSp); in SimplifyAnyMemTransfer()
186 LoadInst *L = Builder.CreateLoad(IntType, Src); in SimplifyAnyMemTransfer()
H A DInstCombineCompares.cpp6314 Type *IntType = Builder.getIntNTy(X->getType()->getScalarSizeInBits()); in visitFCmpInst() local
6316 IntType = VectorType::get(IntType, VecTy->getElementCount()); in visitFCmpInst()
6320 Value *IntX = Builder.CreateBitCast(X, IntType); in visitFCmpInst()
6322 ConstantInt::getNullValue(IntType)); in visitFCmpInst()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DMveEmitter.cpp586 std::string getIntegerValue(const std::string &IntType) override { in getIntegerValue() argument
587 return "GetIntegerConstantValue<" + IntType + ">(E->getArg(" + in getIntegerValue()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp11576 QualType IntType = in checkArithmeticOrEnumeralThreeWayCompare() local
11578 assert(IntType->isArithmeticType()); in checkArithmeticOrEnumeralThreeWayCompare()
11583 if (IntType->isPromotableIntegerType()) in checkArithmeticOrEnumeralThreeWayCompare()
11584 IntType = S.Context.getPromotedIntegerType(IntType); in checkArithmeticOrEnumeralThreeWayCompare()
11586 LHS = S.ImpCastExprToType(LHS.get(), IntType, CK_IntegralCast); in checkArithmeticOrEnumeralThreeWayCompare()
11587 RHS = S.ImpCastExprToType(RHS.get(), IntType, CK_IntegralCast); in checkArithmeticOrEnumeralThreeWayCompare()
11588 LHSType = RHSType = IntType; in checkArithmeticOrEnumeralThreeWayCompare()
H A DSemaChecking.cpp891 const QualType &IntType);
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
H A Dir.go550 func (c Context) IntType(numbits int) (t Type) { func
561 func IntType(numbits int) (t Type) { func