Home
last modified time | relevance | path

Searched refs:underlyingType (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DEnumsGen.cpp52 if (!underlyingType.empty()) in emitEnumClass()
53 os << " : " << underlyingType; in emitEnumClass()
72 if (underlyingType.empty()) in emitDenseMapInfo()
73 underlyingType = in emitDenseMapInfo()
98 os << formatv(mapInfo, qualName, underlyingType); in emitDenseMapInfo()
147 enumName, underlyingType) in emitOperators()
152 enumName, underlyingType) in emitOperators()
157 enumName, underlyingType) in emitOperators()
305 underlyingType); in emitStrToSymFnForBitEnum()
394 underlyingType); in emitSpecializedAttrDef()
[all …]
H A DSPIRVUtilsGen.cpp374 std::string underlyingType = std::string(enumAttr.getUnderlyingType()); in emitAvailabilityQueryForBitEnum() local
398 underlyingType); in emitAvailabilityQueryForBitEnum()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td369 def : Property<"underlyingType", QualType> {
406 def : Property<"underlyingType", QualType> {
411 return ctx.getTypeOfType(underlyingType);
416 def : Property<"underlyingType", QualType> {
424 return ctx.getDecltypeType(expression, underlyingType);
432 def : Property<"underlyingType", QualType> {
594 def : Property<"underlyingType", QualType> {
662 def : Property<"underlyingType", Optional<QualType>> {
674 if (!underlyingType) {
820 def : Property<"underlyingType", Optional<QualType>> {
[all …]
H A DType.h4588 DecltypeType(Expr *E, QualType underlyingType, QualType can = QualType());
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DEnumAttr.td129 string underlyingType = "";
236 let underlyingType = "uint32_t";
240 let underlyingType = "uint64_t";
323 let underlyingType = "uint32_t";
329 let underlyingType = "uint64_t";
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticOps.cpp798 auto underlyingType = getElementTypeOrSelf(type); in getUnderlyingType() local
799 if (!underlyingType.isa<ElementTypes...>()) in getUnderlyingType()
802 return underlyingType; in getUnderlyingType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp6795 SplitQualType underlyingType = type.split(); in handleObjCOwnershipTypeAttr() local
6813 while (!prevTy || prevTy != underlyingType.Ty) { in handleObjCOwnershipTypeAttr()
6814 prevTy = underlyingType.Ty; in handleObjCOwnershipTypeAttr()
6815 underlyingType = underlyingType.getSingleStepDesugaredType(); in handleObjCOwnershipTypeAttr()
6817 underlyingType.Quals.removeObjCLifetime(); in handleObjCOwnershipTypeAttr()
6821 underlyingType.Quals.addObjCLifetime(lifetime); in handleObjCOwnershipTypeAttr()
6858 type = S.Context.getQualifiedType(underlyingType); in handleObjCOwnershipTypeAttr()
7315 QualType underlyingType = typedefDecl->getUnderlyingType(); in checkNullabilityTypeSpecifier() local
7317 = AttributedType::stripOuterNullability(underlyingType)) { in checkNullabilityTypeSpecifier()
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp3495 DecltypeType::DecltypeType(Expr *E, QualType underlyingType, QualType can) in DecltypeType() argument
3505 E(E), UnderlyingType(underlyingType) {} in DecltypeType()
H A DASTContext.cpp10263 QualType underlyingType = ET->getDecl()->getIntegerType(); in mergeEnumWithInteger() local
10264 if (underlyingType.isNull()) in mergeEnumWithInteger()
10266 if (Context.hasSameType(underlyingType, other)) in mergeEnumWithInteger()
10272 Context.getTypeSize(underlyingType) == Context.getTypeSize(other)) in mergeEnumWithInteger()