Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DTargetInfo.cpp732 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
755 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
977 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
1880 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
4199 Ty = EnumTy->getDecl()->getIntegerType(); in classify()
4491 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableTypeForABI()
4982 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableTypeForABI()
7096 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
7321 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableIntegerTypeForABI()
7927 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
[all …]
H A DCodeGenTypes.cpp264 if (!ConvertType(ED->getIntegerType())->isIntegerTy(32)) in UpdateCompletedType()
737 return ConvertType(ED->getIntegerType()); in ConvertType()
H A DCGExprCXX.cpp1629 AlignValT->castAs<EnumType>()->getDecl()->getIntegerType(), in EmitCXXNewExpr()
H A DCGExpr.cpp1610 return ET->getDecl()->getIntegerType()->isBooleanType(); in hasBooleanRepresentation()
1632 llvm::Type *LTy = CGF.ConvertTypeForMem(ED->getIntegerType()); in getRangeForType()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DFormatString.cpp351 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
375 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
H A DScanfFormatString.cpp430 PT = ETy->getDecl()->getIntegerType(); in fixType()
H A DType.cpp2016 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerType()
2033 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerOrEnumerationType()
2063 return ET->getDecl()->getIntegerType()->isUnsignedIntegerType(); in isUnsignedIntegerType()
2080 return ET->getDecl()->getIntegerType()->isUnsignedIntegerType(); in isUnsignedIntegerOrEnumerationType()
H A DPrintfFormatString.cpp728 QT = ETy->getDecl()->getIntegerType(); in fixType()
H A DODRHash.cpp611 AddQualType(Enum->getIntegerType()); in AddEnumDecl()
H A DASTContext.cpp2299 getTypeInfo(ED->getIntegerType()->getUnqualifiedDesugaredType()); in getTypeInfoImpl()
2497 T = ET->getDecl()->getIntegerType().getTypePtr(); in getPreferredTypeAlign()
6479 return ET->getDecl()->getIntegerType().getTypePtr(); in getIntegerTypeForEnum()
7345 const auto *BT = Enum->getIntegerType()->castAs<BuiltinType>(); in ObjCEncodingForEnumType()
9606 paramTy = Enum->getDecl()->getIntegerType(); in mergeFunctionTypes()
9636 QualType underlyingType = ET->getDecl()->getIntegerType(); in mergeEnumWithInteger()
10134 T = ET->getDecl()->getIntegerType(); in getIntWidth()
10159 T = ETy->getDecl()->getIntegerType(); in getCorrespondingUnsignedType()
10227 T = ETy->getDecl()->getIntegerType(); in getCorrespondingSignedType()
H A DDeclPrinter.cpp542 Out << " : " << D->getIntegerType().stream(Policy); in VisitEnumDecl()
H A DJSONNodeDumper.cpp858 JOS.attribute("fixedUnderlyingType", createQualType(ED->getIntegerType())); in VisitEnumDecl()
H A DTextNodeDumper.cpp1606 dumpType(D->getIntegerType()); in VisitEnumDecl()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp3210 IsIntegerType(enum_type->getDecl()->getIntegerType().getAsOpaquePtr(), in IsEnumerationType()
3903 ->getIntegerType() in GetTypeInfo()
5520 CompilerType integer_type = GetType(enum_decl->getIntegerType()); in ForEachEnumerator()
7493 qt = enum_decl->getIntegerType(); in SetIntegerInitializerForVariable()
8248 QualType integer_type(enum_decl->getIntegerType()); in CompleteTagDeclarationDefinition()
8256 if (ast.getTypeSize(enum_decl->getIntegerType()) < in CompleteTagDeclarationDefinition()
8258 if (enum_decl->getIntegerType()->isSignedIntegerType()) in CompleteTagDeclarationDefinition()
8263 promotion_qual_type = enum_decl->getIntegerType(); in CompleteTagDeclarationDefinition()
8265 enum_decl->completeDefinition(enum_decl->getIntegerType(), in CompleteTagDeclarationDefinition()
8338 return GetType(enum_type->getDecl()->getIntegerType()); in GetEnumerationIntegerType()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp15271 !Prev->getIntegerType()->isDependentType() && in CheckEnumRedeclaration()
15273 Prev->getIntegerType())) { in CheckEnumRedeclaration()
15276 << EnumUnderlyingTy << Prev->getIntegerType(); in CheckEnumRedeclaration()
15670 ED->setPromotionType(ED->getIntegerType()); in ActOnTag()
16283 ED->setPromotionType(ED->getIntegerType()); in ActOnTag()
17755 EltTy = Enum->getIntegerType(); in CheckEnumConstant()
17770 EltTy = Enum->getIntegerType(); in CheckEnumConstant()
17832 EltTy = Enum->getIntegerType(); in CheckEnumConstant()
18268 BestType = Enum->getIntegerType(); in ActOnEnumBody()
H A DSemaOverload.cpp325 ToType = ET->getDecl()->getIntegerType(); in getNarrowingKind()
2116 QualType Underlying = FromEnumType->getDecl()->getIntegerType(); in IsIntegralPromotion()
3935 QualType UnderlyingType = Enum->getIntegerType(); in getFixedEnumPromtion()
9929 !Context.hasSameType(EnumA->getIntegerType(), in isEquivalentInternalLinkageDeclaration()
9930 EnumB->getIntegerType())) in isEquivalentInternalLinkageDeclaration()
H A DSemaCast.cpp1359 Enum->getDecl()->getIntegerType()->isBooleanType() in TryStaticCast()
H A DSemaTemplate.cpp7100 IntegerType = Enum->getDecl()->getIntegerType(); in CheckTemplateArgument()
7182 IntegerType = Context.getCanonicalType(Enum->getDecl()->getIntegerType()); in CheckTemplateArgument()
7605 T = ET->getDecl()->getIntegerType(); in BuildExpressionFromIntegralTemplateArgument()
H A DSemaTemplateInstantiateDecl.cpp1381 assert(!D->getIntegerType()->isDependentType() in VisitEnumDecl()
1383 Enum->setIntegerType(D->getIntegerType()); in VisitEnumDecl()
H A DSemaChecking.cpp9115 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()
10967 T = ET->getDecl()->getIntegerType().getDesugaredType(C).getTypePtr(); in forValueOfCanonicalType()
11012 T = C.getCanonicalType(ET->getDecl()->getIntegerType()).getTypePtr(); in forTargetOfCanonicalType()
15849 C.hasSameType(ED1->getIntegerType(), ED2->getIntegerType()); in isLayoutCompatible()
H A DSemaDeclAttr.cpp4099 UnderlyingTy = ED->getIntegerType(); in CheckAlignasUnderalignment()
4292 OldTy = ED->getIntegerType(); in AddModeAttr()
H A DSemaExprObjC.cpp644 ET->getDecl()->getIntegerType()); in BuildObjCBoxedExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp765 QualType DesignatedEnumType = EnumDcl->getIntegerType(); in rewriteToNSMacroDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h3733 QualType getIntegerType() const { in getIntegerType() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp437 Record.AddTypeRef(D->getIntegerType()); in VisitEnumDecl()

12