| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 731 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 754 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 1008 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 1879 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 2835 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify() 4198 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classify() 4490 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI() 4981 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI() 7095 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 7320 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableIntegerTypeForABI() [all …]
|
| H A D | CodeGenTBAA.cpp | 198 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper()
|
| H A D | CGDebugInfo.h | 212 llvm::DIType *CreateEnumType(const EnumType *Ty); 213 llvm::DIType *CreateTypeDefinition(const EnumType *Ty);
|
| H A D | CodeGenTypes.cpp | 735 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl(); in ConvertType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | FormatString.cpp | 346 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType() 369 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
|
| H A D | Type.cpp | 81 ND = ty->castAs<EnumType>()->getDecl(); in getBaseTypeIdentifier() 613 if (const auto *ET = getAs<EnumType>()) in isScopedEnumeralType() 1943 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isUnscopedEnumerationType() 2012 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerType() 2123 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isRealType() 2133 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isArithmeticType() 2163 } else if (isa<EnumType>(T)) { in getScalarTypeKind() 2164 assert(cast<EnumType>(T)->getDecl()->isComplete()); in getScalarTypeKind() 2720 if (const auto *ET = getAs<EnumType>()) { in isAlignValT() 2729 if (const auto *ET = getAs<EnumType>()) { in isStdByteType() [all …]
|
| H A D | ScanfFormatString.cpp | 426 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType()
|
| H A D | TemplateBase.cpp | 62 if (const EnumType *ET = T->getAs<EnumType>()) { in printIntegral()
|
| H A D | PrintfFormatString.cpp | 727 if (const EnumType *ETy = QT->getAs<EnumType>()) in fixType()
|
| H A D | ASTContext.cpp | 2296 if (const auto *ET = dyn_cast<EnumType>(TT)) { in getTypeInfoImpl() 2496 if (const auto *ET = T->getAs<EnumType>()) in getPreferredTypeAlign() 6417 if (const auto *ET = Promotable->getAs<EnumType>()) in getPromotedIntegerType() 6491 if (const auto *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder() 6493 if (const auto *ET = dyn_cast<EnumType>(RHSC)) in getIntegerTypeOrder() 7382 if (const auto *ET = T->getAs<EnumType>()) in EncodeBitField() 9743 if (const auto *ETy = LHS->getAs<EnumType>()) { in mergeTypes() 9746 if (const EnumType* ETy = RHS->getAs<EnumType>()) { in mergeTypes() 10133 if (const auto *ET = T->getAs<EnumType>()) in getIntWidth() 10158 if (const auto *ETy = T->getAs<EnumType>()) in getCorrespondingUnsignedType() [all …]
|
| H A D | TypePrinter.cpp | 1386 void TypePrinter::printEnumBefore(const EnumType *T, raw_ostream &OS) { in printEnumBefore() 1390 void TypePrinter::printEnumAfter(const EnumType *T, raw_ostream &OS) {} in printEnumAfter()
|
| H A D | ODRHash.cpp | 1014 void VisitEnumType(const EnumType *T) { VisitTagType(T); } in VisitEnumType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | EnumCastOutOfRangeChecker.cpp | 128 const EnumDecl *ED = T->castAs<EnumType>()->getDecl(); in checkPreStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 563 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
|
| H A D | Type.h | 4641 class EnumType : public TagType { 4644 explicit EnumType(const EnumDecl *D) 6770 return isa<EnumType>(CanonicalType); 6990 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { 7045 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) 7064 if (const auto *ET = dyn_cast<EnumType>(CanonicalType))
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 3206 const clang::EnumType *enum_type = llvm::dyn_cast<clang::EnumType>( in IsEnumerationType() 3222 const clang::EnumType *enum_type = llvm::dyn_cast<clang::EnumType>( in IsScopedEnumerationType() 3901 this, llvm::cast<clang::EnumType>(qual_type) in GetTypeInfo() 4597 if (const clang::EnumType *et = qual_type->getAs<clang::EnumType>()) in CreateTypedef() 5515 const clang::EnumType *enum_type = in ForEachEnumerator() 7189 const clang::EnumType *enutype = in GetAsEnumDecl() 7491 if (const EnumType *enum_type = llvm::dyn_cast<EnumType>(qt.getTypePtr())) { in SetIntegerInitializerForVariable() 8231 const clang::EnumType *enutype = qual_type->getAs<clang::EnumType>(); in CompleteTagDeclarationDefinition() 8295 const clang::EnumType *enutype = llvm::dyn_cast<clang::EnumType>(clang_type); in AddEnumerationValueToEnumerationType() 8578 const clang::EnumType *enutype = in DumpValue() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 90 def EnumType : TypeNode<TagType>, LeafType;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 1131 QualType EnumType = S.Context.getTypeDeclType(ED); in ShouldDiagnoseSwitchCaseNotInEnum() local 1133 S.Context.hasSameUnqualifiedType(EnumType, VarType)) in ShouldDiagnoseSwitchCaseNotInEnum() 1155 const EnumType *CondEnumType = CondType->getAs<EnumType>(); in checkEnumTypesInSwitchStmt() 1156 const EnumType *CaseEnumType = CaseType->getAs<EnumType>(); in checkEnumTypesInSwitchStmt() 1460 const EnumType *ET = CondTypeBeforePromotion->getAs<EnumType>(); in ActOnFinishSwitchStmt() 1596 if (const EnumType *ET = DstType->getAs<EnumType>()) in DiagnoseAssignmentEnum()
|
| H A D | SemaCast.cpp | 1325 if (const EnumType *Enum = SrcType->getAs<EnumType>()) { in TryStaticCast() 1357 const EnumType *Enum = DestType->getAs<EnumType>(); in TryStaticCast()
|
| H A D | SemaChecking.cpp | 2632 } else if (const auto *ET = Ty->getAs<EnumType>()) { in isValidBPFPreserveTypeInfoArg() 2672 const auto *ET = Ty->getAs<EnumType>(); in isValidBPFPreserveEnumValueArg() 6273 const EnumDecl *ED = Type->castAs<EnumType>()->getDecl(); in SemaBuiltinVAStart() 9114 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() 10966 if (const EnumType *ET = dyn_cast<EnumType>(T)) in forValueOfCanonicalType() 10968 } else if (const EnumType *ET = dyn_cast<EnumType>(T)) { in forValueOfCanonicalType() 11011 if (const EnumType *ET = dyn_cast<EnumType>(T)) in forTargetOfCanonicalType() 12945 if (const EnumType *SourceEnum = Source->getAs<EnumType>()) in CheckImplicitConversion() 12946 if (const EnumType *TargetEnum = Target->getAs<EnumType>()) in CheckImplicitConversion() 15978 cast<EnumType>(T1)->getDecl(), in isLayoutCompatible() [all …]
|
| H A D | SemaTemplate.cpp | 747 IsEnum = dyn_cast_or_null<EnumType>(NNS->getAsType()); in ActOnDependentIdExpression() 3138 if (const EnumType *EnumT = T->getAs<EnumType>()) { in MatchTemplateParametersToScopeSpecifier() 6091 bool UnnamedLocalNoLinkageFinder::VisitEnumType(const EnumType* T) { in VisitEnumType() 7099 if (const EnumType *Enum = IntegerType->getAs<EnumType>()) in CheckTemplateArgument() 7181 if (const EnumType *Enum = IntegerType->getAs<EnumType>()) in CheckTemplateArgument() 7604 if (const EnumType *ET = OrigT->getAs<EnumType>()) in BuildExpressionFromIntegralTemplateArgument()
|
| H A D | SemaLambda.cpp | 632 if (const EnumType *ET = E->getType()->getAs<EnumType>()) { in findEnumForBlockReturn()
|
| H A D | SemaCXXScopeSpec.cpp | 750 } else if (isa<EnumType>(T)) { in BuildCXXNestedNameSpecifier()
|
| H A D | SemaStmtAsm.cpp | 739 bool IsEnum = isa<clang::EnumType>(T); in FillInlineAsmIdentifierInfo()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTImporter.cpp | 378 llvm::cast<clang::EnumType>(qual_type)->getDecl(); in CanImport() 452 llvm::cast<clang::EnumType>(qual_type)->getDecl(); in Import()
|