Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DBPF.cpp50 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
72 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DPNaCl.cpp69 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType()
104 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DNVPTX.cpp176 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
185 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DCSKY.cpp118 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DMips.cpp244 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
335 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DHexagon.cpp100 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
163 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DARC.cpp108 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DX86.cpp556 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 DARM.cpp385 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType()
595 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.cpp249 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyType()
H A DLanai.cpp127 if (const auto *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DPPC.cpp156 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI()
709 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI()
H A DLoongArch.cpp371 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
/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/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h334 struct EnumType final : CommonType, private TrailingObjects<EnumType, BTFEnum> {
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfoImpl.cpp31 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
55 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DCodeGenTBAA.cpp335 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DEnumCastOutOfRangeChecker.cpp151 const EnumDecl *ED = T->castAs<EnumType>()->getDecl(); in checkPreStmt()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterValuePrinter.cpp115 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 DType.cpp117 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 DScanfFormatString.cpp428 if (const EnumType *ETy = PT->getAs<EnumType>()) { in fixType()
H A DFormatString.cpp352 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 DDeclCXX.h3789 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 DCanonicalType.h566 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {

1234