Home
last modified time | relevance | path

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

1234

/freebsd-14.2/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.cpp65 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType()
99 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DNVPTX.cpp161 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
170 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.cpp119 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DARC.cpp105 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 DX86.cpp566 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
883 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
1826 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify()
2154 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult()
2196 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult()
2601 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
2745 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
3224 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classify()
H A DARM.cpp354 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType()
557 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 DAArch64.cpp283 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
386 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
H A DLanai.cpp123 if (const auto *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
H A DPPC.cpp155 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI()
648 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.cpp427 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h336 struct EnumType final : CommonType, private TrailingObjects<EnumType, BTFEnum> {
/freebsd-14.2/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.cpp198 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DEnumCastOutOfRangeChecker.cpp150 const EnumDecl *ED = T->castAs<EnumType>()->getDecl(); in checkPreStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp83 ND = ty->castAs<EnumType>()->getDecl(); in getBaseTypeIdentifier()
639 if (const auto *ET = getAs<EnumType>()) in isScopedEnumeralType()
2002 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralType()
2020 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isUnscopedEnumerationType()
2089 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerType()
2213 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isRealType()
2222 if (const auto *ET = dyn_cast<EnumType>(CanonicalType)) in isArithmeticType()
2252 } else if (isa<EnumType>(T)) { in getScalarTypeKind()
2253 assert(cast<EnumType>(T)->getDecl()->isComplete()); in getScalarTypeKind()
3006 if (const auto *ET = getAs<EnumType>()) { in isAlignValT()
[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-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3712 TypeSourceInfo *EnumType; variable
3715 SourceLocation EL, SourceLocation NL, TypeSourceInfo *EnumType) in UsingEnumDecl() argument
3717 EnumType(EnumType){} in UsingEnumDecl()
3736 if (auto ETL = EnumType->getTypeLoc().getAs<ElaboratedTypeLoc>()) in getQualifierLoc()
3742 return EnumType->getTypeLoc(); in getEnumTypeLoc()
3745 return EnumType; in getEnumType()
3747 void setEnumType(TypeSourceInfo *TSI) { EnumType = TSI; } in setEnumType()
3750 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl()
3754 SourceLocation NameL, TypeSourceInfo *EnumType);
H A DCanonicalType.h562 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {

1234