Home
last modified time | relevance | path

Searched refs:EnumType (Results 1 – 25 of 79) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DBPF.cpp49 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
69 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DPNaCl.cpp68 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType()
102 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DNVPTX.cpp165 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
174 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DMips.cpp226 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
317 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DCSKY.cpp117 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DHexagon.cpp100 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
159 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DARC.cpp105 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DX86.cpp567 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 DARM.cpp352 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType()
555 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DXCore.cpp414 static bool appendEnumType(SmallStringEnc &Enc, const EnumType *ET, in appendEnumType()
617 if (const EnumType *ET = QT->getAs<EnumType>()) in appendType()
H A DSparc.cpp238 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyType()
H A DLanai.cpp123 if (const auto *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DAArch64.cpp299 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
402 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DPPC.cpp156 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI()
705 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI()
H A DLoongArch.cpp371 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DRISCV.cpp428 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DSystemZ.cpp147 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableIntegerTypeForABI()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBPF.cpp63 } 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 DABIInfoImpl.cpp30 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
53 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DCodeGenTBAA.cpp247 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp83 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 DFormatString.cpp352 if (const auto *ETy = argTy->getAs<EnumType>()) { in matchesType()
397 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
H A DScanfFormatString.cpp428 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3726 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 DCanonicalType.h562 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {

1234