/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | BPF.cpp | 49 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 50 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType() 69 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 70 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
|
H A D | PNaCl.cpp | 68 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() local 70 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType() 102 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 103 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
|
H A D | NVPTX.cpp | 165 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 166 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType() 174 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 175 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
|
H A D | Lanai.cpp | 123 if (const auto *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 124 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
|
H A D | Mips.cpp | 226 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 227 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType() 317 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 318 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
|
H A D | CSKY.cpp | 117 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 118 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
|
H A D | Hexagon.cpp | 100 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 101 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType() 159 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 160 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
|
H A D | ARC.cpp | 105 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 106 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
|
H A D | X86.cpp | 567 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 568 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType() 886 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 887 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType() 2172 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult() local 2173 Ty = EnumTy->getDecl()->getIntegerType(); in getIndirectReturnResult() 2214 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult() local 2215 Ty = EnumTy->getDecl()->getIntegerType(); in getIndirectResult() 2619 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 2620 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType() [all …]
|
H A D | ARM.cpp | 352 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() local 353 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType() 555 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 556 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
|
H A D | Sparc.cpp | 238 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyType() local 239 Ty = EnumTy->getDecl()->getIntegerType(); in classifyType()
|
H A D | AArch64.cpp | 299 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 300 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType() 402 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 403 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
|
H A D | PPC.cpp | 156 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI() local 157 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableTypeForABI() 705 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI() local 706 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableTypeForABI()
|
H A D | LoongArch.cpp | 371 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 372 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
|
H A D | RISCV.cpp | 428 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 429 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
|
H A D | SystemZ.cpp | 147 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableIntegerTypeForABI() local 148 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableIntegerTypeForABI()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ABIInfoImpl.cpp | 30 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local 31 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType() 53 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local 54 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 927 if (const EnumType *EnumTy = qt->getAs<EnumType>()) { in migrateNSEnumDecl() local 928 if (EnumTy->getDecl() == EnumDcl) { in migrateNSEnumDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOverload.cpp | 9186 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addGenericBinaryPointerOrEnumeralOverloads() local 9187 CanQualType CanonType = S.Context.getCanonicalType(EnumTy); in addGenericBinaryPointerOrEnumeralOverloads() 9195 QualType ParamTypes[2] = {EnumTy, EnumTy}; in addGenericBinaryPointerOrEnumeralOverloads() 9399 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addAssignmentMemberPointerOrEnumeralOverloads() local 9400 if (!AddedTypes.insert(S.Context.getCanonicalType(EnumTy)).second) in addAssignmentMemberPointerOrEnumeralOverloads() 9403 AddBuiltinAssignmentOperatorCandidates(S, EnumTy, Args, CandidateSet); in addAssignmentMemberPointerOrEnumeralOverloads() 9742 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addConditionalOperatorOverloads() local 9743 if (!EnumTy->castAs<EnumType>()->getDecl()->isScoped()) in addConditionalOperatorOverloads() 9746 if (!AddedTypes.insert(S.Context.getCanonicalType(EnumTy)).second) in addConditionalOperatorOverloads() 9749 QualType ParamTypes[2] = {EnumTy, EnumTy}; in addConditionalOperatorOverloads()
|
H A D | SemaDecl.cpp | 17151 QualType EnumTy = ED->getIntegerType(); in ActOnTag() local 17152 ED->setPromotionType(Context.isPromotableIntegerType(EnumTy) in ActOnTag() 17153 ? Context.getPromotedIntegerType(EnumTy) in ActOnTag() 17154 : EnumTy); in ActOnTag() 17784 QualType EnumTy = ED->getIntegerType(); in ActOnTag() local 17785 ED->setPromotionType(Context.isPromotableIntegerType(EnumTy) in ActOnTag() 17786 ? Context.getPromotedIntegerType(EnumTy) in ActOnTag() 17787 : EnumTy); in ActOnTag()
|
H A D | SemaDeclCXX.cpp | 12286 QualType EnumTy = GetTypeFromParser(Ty, &TSI); in ActOnUsingEnumDeclaration() local 12287 if (EnumTy.isNull()) { in ActOnUsingEnumDeclaration() 12296 if (EnumTy->isDependentType()) { in ActOnUsingEnumDeclaration() 12301 auto *Enum = dyn_cast_if_present<EnumDecl>(EnumTy->getAsTagDecl()); in ActOnUsingEnumDeclaration() 12303 Diag(IdentLoc, diag::err_using_enum_not_enum) << EnumTy; in ActOnUsingEnumDeclaration() 12311 TSI = Context.getTrivialTypeSourceInfo(EnumTy, IdentLoc); in ActOnUsingEnumDeclaration()
|
H A D | SemaChecking.cpp | 7364 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() local 7365 IntendedTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr() 7366 if (EnumTy->isUnscopedEnumerationType()) { in checkFormatExpr() 10267 if (const auto *EnumTy = OriginalInit->getType()->getAs<EnumType>()) { in AnalyzeBitFieldAssignment() local 10268 EnumDecl *ED = EnumTy->getDecl(); in AnalyzeBitFieldAssignment()
|