| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | BPF.cpp | 50 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 72 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
| H A D | PNaCl.cpp | 69 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() 104 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
| H A D | NVPTX.cpp | 176 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 185 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
| H A D | CSKY.cpp | 118 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
| H A D | Mips.cpp | 244 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 335 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
| H A D | Hexagon.cpp | 100 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 163 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
| H A D | ARC.cpp | 108 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
| H A D | X86.cpp | 556 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 885 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 1848 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify() 2186 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult() 2228 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult() 2635 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 2779 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 3300 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classify()
|
| H A D | ARM.cpp | 385 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() 595 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
| H A D | XCore.cpp | 414 static bool appendEnumType(SmallStringEnc &Enc, const EnumType *ET, in appendEnumType() 617 if (const EnumType *ET = QT->getAs<EnumType>()) in appendType()
|
| H A D | Sparc.cpp | 249 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyType()
|
| H A D | Lanai.cpp | 127 if (const auto *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
| H A D | PPC.cpp | 156 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI() 709 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI()
|
| H A D | LoongArch.cpp | 371 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBPF.cpp | 63 } else if (const auto *ET = Ty->getAs<EnumType>()) { in isValidPreserveTypeInfoArg() 103 const auto *ET = Ty->getAs<EnumType>(); in isValidPreserveEnumValueArg()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/ |
| H A D | BTF.h | 334 struct EnumType final : CommonType, private TrailingObjects<EnumType, BTFEnum> {
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ABIInfoImpl.cpp | 31 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 55 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
| H A D | CodeGenTBAA.cpp | 335 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | EnumCastOutOfRangeChecker.cpp | 151 const EnumDecl *ED = T->castAs<EnumType>()->getDecl(); in checkPreStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | InterpreterValuePrinter.cpp | 115 InterfaceKind VisitEnumType(const EnumType *Ty) { in VisitEnumType() 326 if (const auto *ET = QT->getAs<EnumType>()) in __clang_Interpreter_SetValueNoAlloc()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 117 ND = ty->castAs<EnumType>()->getDecl(); in getBaseTypeIdentifier() 738 if (const auto *ET = getAs<EnumType>()) in isScopedEnumeralType() 2116 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralType() 2133 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isUnscopedEnumerationType() 2216 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerType() 2235 if (const auto *ET = dyn_cast<EnumType>(CanonicalType); in isSignedIntegerOrEnumerationType() 2261 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerType() 2280 if (const auto *ET = dyn_cast<EnumType>(CanonicalType); in isUnsignedIntegerOrEnumerationType() 2331 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isRealType() 2340 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isArithmeticType() [all …]
|
| H A D | ScanfFormatString.cpp | 428 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType()
|
| H A D | FormatString.cpp | 352 if (const auto *ETy = argTy->getAs<EnumType>()) { in matchesType() 397 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 3789 TypeSourceInfo *EnumType; variable 3792 SourceLocation EL, SourceLocation NL, TypeSourceInfo *EnumType) in UsingEnumDecl() argument 3794 EnumType(EnumType){} in UsingEnumDecl() 3813 if (auto ETL = EnumType->getTypeLoc().getAs<ElaboratedTypeLoc>()) in getQualifierLoc() 3819 return EnumType->getTypeLoc(); in getEnumTypeLoc() 3822 return EnumType; in getEnumType() 3824 void setEnumType(TypeSourceInfo *TSI) { EnumType = TSI; } in setEnumType() 3827 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl() 3831 SourceLocation NameL, TypeSourceInfo *EnumType);
|
| H A D | CanonicalType.h | 566 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
|