| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TypeProperties.td | 21 def : Property<"pointeeType", QualType> { 25 def : Creator<[{ return ctx.getPointerType(pointeeType); }]>; 50 def : Property<"pointeeType", QualType> { 54 def : Creator<[{ return ctx.getBlockPointerType(pointeeType); }]>; 81 def : Property<"pointeeType", QualType> { 89 return ctx.getMemberPointerType(pointeeType, baseType.getTypePtr()); 636 def : Property<"pointeeType", QualType> { 647 return ctx.getDependentAddressSpaceType(pointeeType, addressSpace, 889 def : Property<"pointeeType", QualType> { 894 return ctx.getObjCObjectPointerType(pointeeType);
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | TypeDetail.h | 391 : pointeeType(std::get<0>(key)), addressSpace(std::get<1>(key)) {} in LLVMPointerTypeStorage() 400 return std::make_tuple(pointeeType, addressSpace) == key; 403 Type pointeeType; member
|
| H A D | LLVMTypes.cpp | 216 Type LLVMPointerType::getElementType() const { return getImpl()->pointeeType; } in getElementType() 218 bool LLVMPointerType::isOpaque() const { return !getImpl()->pointeeType; } in isOpaque()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 900 if (pointeeType.isNull()) in VisitPointerType() 906 return Ctx.getPointerType(pointeeType); in VisitPointerType() 911 if (pointeeType.isNull()) in VisitBlockPointerType() 917 return Ctx.getBlockPointerType(pointeeType); in VisitBlockPointerType() 922 if (pointeeType.isNull()) in VisitLValueReferenceType() 925 if (pointeeType.getAsOpaquePtr() in VisitLValueReferenceType() 934 if (pointeeType.isNull()) in VisitRValueReferenceType() 937 if (pointeeType.getAsOpaquePtr() in VisitRValueReferenceType() 946 if (pointeeType.isNull()) in VisitMemberPointerType() 1227 if (pointeeType.isNull()) in TRIVIAL_TYPE_CLASS() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.cpp | 390 return key == KeyTy(pointeeType, storageClass); in operator ==() 394 : pointeeType(key.first), storageClass(key.second) {} in PointerTypeStorage() 396 Type pointeeType; member 400 PointerType PointerType::get(Type pointeeType, StorageClass storageClass) { in get() argument 401 return Base::get(pointeeType.getContext(), pointeeType, storageClass); in get() 404 Type PointerType::getPointeeType() const { return getImpl()->pointeeType; } in getPointeeType()
|
| H A D | SPIRVDialect.cpp | 365 auto pointeeType = parseAndVerifyType(dialect, parser); in parsePointerType() local 366 if (!pointeeType) in parsePointerType() 382 return PointerType::get(pointeeType, *storageClass); in parsePointerType()
|
| H A D | SPIRVOps.cpp | 1191 Type pointeeType = atomOp.pointer() in verifyAtomicCompareExchangeImpl() local 1195 if (atomOp.getType() != pointeeType) in verifyAtomicCompareExchangeImpl() 1199 << pointeeType << " vs " << atomOp.getType(); in verifyAtomicCompareExchangeImpl() 1297 Type pointeeType = in verify() local 1299 if (getType() != pointeeType) in verify() 1302 << pointeeType << " vs " << getType(); in verify() 3750 Type pointeeType = pointer.cast<spirv::PointerType>().getPointeeType(); in verifyPointerAndCoopMatrixType() local 3751 if (!pointeeType.isa<spirv::ScalarType>() && !pointeeType.isa<VectorType>()) in verifyPointerAndCoopMatrixType() 3754 << pointeeType; in verifyPointerAndCoopMatrixType() 3901 Type pointeeType = in print() local [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/ |
| H A D | MemRefToSPIRV.cpp | 337 Type pointeeType = typeConverter.convertType(memrefType) in matchAndRewrite() local 340 Type structElemType = pointeeType.cast<spirv::StructType>().getElementType(0); in matchAndRewrite() 452 Type pointeeType = typeConverter.convertType(memrefType) in matchAndRewrite() local 455 Type structElemType = pointeeType.cast<spirv::StructType>().getElementType(0); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | ConvertLaunchFuncToLLVMCalls.cpp | 233 auto pointeeType = in matchAndRewrite() local 235 auto dstGlobalType = typeConverter->convertType(pointeeType); in matchAndRewrite()
|
| H A D | SPIRVToLLVM.cpp | 266 auto pointeeType = converter.convertType(type.getPointeeType()); in convertPointerType() local 267 return LLVM::LLVMPointerType::get(pointeeType); in convertPointerType()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.h | 201 static PointerType get(Type pointeeType, StorageClass storageClass);
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/ |
| H A D | Deserializer.cpp | 753 auto pointeeType = getType(operands[2]); in processOpTypePointer() local 754 if (!pointeeType) in processOpTypePointer() 760 typeMap[typePointerID] = spirv::PointerType::get(pointeeType, storageClass); in processOpTypePointer()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleSValBuilder.cpp | 1107 QualType pointeeType = resultTy->getPointeeType(); in evalBinOpLN() local 1108 Multiplicand = getContext().getTypeSizeInChars(pointeeType).getQuantity(); in evalBinOpLN()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaType.cpp | 7341 const Type *pointeeType = nullptr; in checkNullabilityTypeSpecifier() local 7343 pointeeType = desugared->getArrayElementTypeNoTypeQual(); in checkNullabilityTypeSpecifier() 7345 pointeeType = desugared->getPointeeType().getTypePtr(); in checkNullabilityTypeSpecifier() 7347 if (pointeeType && (pointeeType->isAnyPointerType() || in checkNullabilityTypeSpecifier() 7348 pointeeType->isObjCObjectPointerType() || in checkNullabilityTypeSpecifier() 7349 pointeeType->isMemberPointerType())) { in checkNullabilityTypeSpecifier()
|
| H A D | TreeTransform.h | 5517 QualType pointeeType = getDerived().TransformType(T->getPointeeType()); in TransformDependentAddressSpaceType() local 5519 if (pointeeType.isNull()) in TransformDependentAddressSpaceType() 5532 if (getDerived().AlwaysRebuild() || pointeeType != T->getPointeeType() || in TransformDependentAddressSpaceType() 5535 pointeeType, AddrSpace.get(), T->getAttributeLoc()); in TransformDependentAddressSpaceType()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | resolve-names.cpp | 5127 if (const auto *pointeeType{pointee.GetType()}) { in Pre() local 5128 if (const auto *derived{pointeeType->AsDerived()}) { in Pre()
|