Home
last modified time | relevance | path

Searched refs:EnumTy (Results 1 – 10 of 10) sorted by relevance

/external/clang/test/CodeGenCXX/
Dattr-mode-vector-types-tmpl.cpp60 typedef enum { A1, B1 } EnumTy; typedef
79 CheckIntScalarTypes<EnumTy>(); in test()
/external/llvm-project/clang/test/CodeGenCXX/
Dattr-mode-vector-types-tmpl.cpp60 typedef enum { A1, B1 } EnumTy; typedef
79 CheckIntScalarTypes<EnumTy>(); in test()
/external/clang/lib/CodeGen/
DTargetInfo.cpp630 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local
631 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
645 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local
646 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
788 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() local
790 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
809 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local
810 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
1304 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local
1305 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp729 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() local
730 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
752 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local
753 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
973 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() local
975 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
1006 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local
1007 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
1553 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() local
1554 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
[all …]
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp1130 template <typename EnumTy>
1136 names.push_back(EnumTraits<EnumTy>::stringify(static_cast<EnumTy>(i))); in parseOptionalLLVMKeyword()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp8535 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addGenericBinaryPointerOrEnumeralOverloads() local
8536 CanQualType CanonType = S.Context.getCanonicalType(EnumTy); in addGenericBinaryPointerOrEnumeralOverloads()
8544 QualType ParamTypes[2] = {EnumTy, EnumTy}; in addGenericBinaryPointerOrEnumeralOverloads()
8748 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addAssignmentMemberPointerOrEnumeralOverloads() local
8749 if (!AddedTypes.insert(S.Context.getCanonicalType(EnumTy)).second) in addAssignmentMemberPointerOrEnumeralOverloads()
8752 AddBuiltinAssignmentOperatorCandidates(S, EnumTy, Args, CandidateSet); in addAssignmentMemberPointerOrEnumeralOverloads()
9098 for (QualType EnumTy : CandidateTypes[ArgIdx].enumeration_types()) { in addConditionalOperatorOverloads() local
9099 if (!EnumTy->castAs<EnumType>()->getDecl()->isScoped()) in addConditionalOperatorOverloads()
9102 if (!AddedTypes.insert(S.Context.getCanonicalType(EnumTy)).second) in addConditionalOperatorOverloads()
9105 QualType ParamTypes[2] = {EnumTy, EnumTy}; in addConditionalOperatorOverloads()
DSemaChecking.cpp8636 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() local
8637 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()
11405 if (const auto *EnumTy = OriginalInit->getType()->getAs<EnumType>()) { in AnalyzeBitFieldAssignment() local
11406 EnumDecl *ED = EnumTy->getDecl(); in AnalyzeBitFieldAssignment()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp940 if (const EnumType *EnumTy = qt->getAs<EnumType>()) { in migrateNSEnumDecl() local
941 if (EnumTy->getDecl() == EnumDcl) { in migrateNSEnumDecl()
/external/llvm-project/clang/lib/ARCMigrate/
DObjCMT.cpp933 if (const EnumType *EnumTy = qt->getAs<EnumType>()) { in migrateNSEnumDecl() local
934 if (EnumTy->getDecl() == EnumDcl) { in migrateNSEnumDecl()
/external/clang/lib/Sema/
DSemaChecking.cpp5165 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr() local
5166 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()