/netbsd-src/external/apache2/llvm/dist/libcxx/benchmarks/ |
H A D | CartesianBenchmarks.h | 94 template <class Derived, class EnumType, size_t NumLabels> 96 decltype(internal::makeEnumValueTuple<Derived, EnumType>(
|
/netbsd-src/external/mit/isl/dist/interface/ |
H A D | generator.cc | 228 const EnumType *enum_type = return_type->getAs<EnumType>(); in add_type_subclasses() 283 const EnumType *enum_type; in handled_sets_enum() 296 enum_type = param->getType()->getAs<EnumType>(); in handled_sets_enum() 353 if (param->getType()->getAs<EnumType>()) in takes_enums()
|
/netbsd-src/external/apache2/llvm/dist/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() 975 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() 1008 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 1551 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() 3160 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult() 3202 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult() 3585 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() [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()
|
/netbsd-src/external/apache2/llvm/dist/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() 1922 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralType() 1940 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isUnscopedEnumerationType() 2009 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerType() 2028 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerOrEnumerationType() 2056 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerType() 2075 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerOrEnumerationType() 2120 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isRealType() 2130 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isArithmeticType() [all …]
|
H A D | ScanfFormatString.cpp | 426 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType()
|
H A D | TemplateBase.cpp | 61 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 | 2281 if (const auto *ET = dyn_cast<EnumType>(TT)) { in getTypeInfoImpl() 2481 if (const auto *ET = T->getAs<EnumType>()) in getPreferredTypeAlign() 4556 auto *newType = new (*this, TypeAlignment) EnumType(Decl); in getEnumType() 6398 if (const auto *ET = Promotable->getAs<EnumType>()) in getPromotedIntegerType() 6456 static const Type *getIntegerTypeForEnum(const EnumType *ET) { in getIntegerTypeForEnum() 6472 if (const auto *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder() 6474 if (const auto *ET = dyn_cast<EnumType>(RHSC)) in getIntegerTypeOrder() 7318 static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) { in ObjCEncodingForEnumType() 7363 if (const auto *ET = T->getAs<EnumType>()) in EncodeBitField() 7421 S += ObjCEncodingForEnumType(this, cast<EnumType>(CT)); in getObjCEncodingForTypeImpl() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | EnumCastOutOfRangeChecker.cpp | 128 const EnumDecl *ED = T->castAs<EnumType>()->getDecl(); in checkPreStmt()
|
/netbsd-src/external/apache2/llvm/dist/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))
|
/netbsd-src/external/apache2/llvm/dist/clang/utils/ABITest/ |
H A D | ABITestGen.py | 216 elif isinstance(t, EnumType): 292 elif isinstance(t, EnumType): 322 elif isinstance(t, EnumType):
|
H A D | TypeGen.py | 59 class EnumType(Type): class 279 return EnumType(n, enumerators)
|
/netbsd-src/external/apache2/llvm/dist/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() 1595 if (const EnumType *ET = DstType->getAs<EnumType>()) in DiagnoseAssignmentEnum()
|
H A D | SemaCast.cpp | 1323 if (const EnumType *Enum = SrcType->getAs<EnumType>()) { in TryStaticCast() 1355 const EnumType *Enum = DestType->getAs<EnumType>(); in TryStaticCast()
|
H A D | SemaChecking.cpp | 2628 } else if (const auto *ET = Ty->getAs<EnumType>()) { in isValidBPFPreserveTypeInfoArg() 2668 const auto *ET = Ty->getAs<EnumType>(); in isValidBPFPreserveEnumValueArg() 6024 const EnumDecl *ED = Type->castAs<EnumType>()->getDecl(); in SemaBuiltinVAStart() 8842 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() 10693 if (const EnumType *ET = dyn_cast<EnumType>(T)) in forValueOfCanonicalType() 10695 } else if (const EnumType *ET = dyn_cast<EnumType>(T)) { in forValueOfCanonicalType() 10738 if (const EnumType *ET = dyn_cast<EnumType>(T)) in forTargetOfCanonicalType() 11633 EnumDecl *BitfieldEnumDecl = BitfieldType->castAs<EnumType>()->getDecl(); in AnalyzeBitFieldAssignment() 11665 if (const auto *EnumTy = OriginalInit->getType()->getAs<EnumType>()) { in AnalyzeBitFieldAssignment() 12673 if (const EnumType *SourceEnum = Source->getAs<EnumType>()) in CheckImplicitConversion() [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 | 628 if (const EnumType *ET = E->getType()->getAs<EnumType>()) { in findEnumForBlockReturn()
|
H A D | SemaCXXScopeSpec.cpp | 736 } else if (isa<EnumType>(T)) { in BuildCXXNestedNameSpecifier()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | TypeNodes.td | 90 def EnumType : TypeNode<TagType>, LeafType;
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
H A D | conv.d | 3039 enum EnumType : bool { a = true, b = false, c = a } 3042 assert(parse!EnumType(str) == EnumType.a); 3044 assert(parse!(EnumType, string, No.doCount)(str2) == EnumType.a); 3046 assert(parse!(EnumType, string, Yes.doCount)(str3) == tuple(EnumType.a, 1));
|