/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | BPF.cpp | 49 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 69 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
H A D | PNaCl.cpp | 68 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() 102 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
H A D | NVPTX.cpp | 165 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 174 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
H A D | Mips.cpp | 226 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 317 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
H A D | CSKY.cpp | 117 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
H A D | Hexagon.cpp | 100 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 159 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
H A D | ARC.cpp | 105 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
H A D | X86.cpp | 567 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 886 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 1841 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify() 2172 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult() 2214 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult() 2619 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 2763 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 3247 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classify()
|
H A D | ARM.cpp | 352 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() 555 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 | 238 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyType()
|
H A D | Lanai.cpp | 123 if (const auto *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
H A D | AArch64.cpp | 299 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 402 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
H A D | PPC.cpp | 156 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI() 705 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI()
|
H A D | LoongArch.cpp | 371 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
H A D | RISCV.cpp | 428 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
|
H A D | SystemZ.cpp | 147 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableIntegerTypeForABI()
|
/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/clang/lib/CodeGen/ |
H A D | ABIInfoImpl.cpp | 30 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 53 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
|
H A D | CodeGenTBAA.cpp | 247 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Type.cpp | 83 ND = ty->castAs<EnumType>()->getDecl(); in getBaseTypeIdentifier() 689 if (const auto *ET = getAs<EnumType>()) in isScopedEnumeralType() 2065 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralType() 2083 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isUnscopedEnumerationType() 2152 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerType() 2173 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerOrEnumerationType() 2202 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerType() 2223 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerOrEnumerationType() 2276 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isRealType() 2285 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isArithmeticType() [all …]
|
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()
|
H A D | ScanfFormatString.cpp | 428 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclCXX.h | 3726 TypeSourceInfo *EnumType; variable 3729 SourceLocation EL, SourceLocation NL, TypeSourceInfo *EnumType) in UsingEnumDecl() argument 3731 EnumType(EnumType){} in UsingEnumDecl() 3750 if (auto ETL = EnumType->getTypeLoc().getAs<ElaboratedTypeLoc>()) in getQualifierLoc() 3756 return EnumType->getTypeLoc(); in getEnumTypeLoc() 3759 return EnumType; in getEnumType() 3761 void setEnumType(TypeSourceInfo *TSI) { EnumType = TSI; } in setEnumType() 3764 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl() 3768 SourceLocation NameL, TypeSourceInfo *EnumType);
|
H A D | CanonicalType.h | 562 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
|