Home
last modified time | relevance | path

Searched refs:pointeeType (Results 1 – 18 of 18) sorted by relevance

/llvm-project/mlir/lib/Dialect/SPIRV/IR/
H A DJointMatrixOps.cpp
H A DCooperativeMatrixOps.cpp28 Type pointeeType = pointerType.getPointeeType(); in verifyCoopMatrixAccess() local
29 if (!isa<ScalarType, VectorType>(pointeeType)) { in verifyCoopMatrixAccess()
32 << pointeeType; in verifyCoopMatrixAccess()
H A DSPIRVTypes.cpp396 return key == KeyTy(pointeeType, storageClass); in operator ==()
400 : pointeeType(key.first), storageClass(key.second) {} in ImageTypeStorage()
402 Type pointeeType; in ImageTypeStorage()
406 PointerType PointerType::get(Type pointeeType, StorageClass storageClass) {
407 return Base::get(pointeeType.getContext(), pointeeType, storageClass);
410 Type PointerType::getPointeeType() const { return getImpl()->pointeeType; }
477 Type pointeeType; global() member
481 get(Type pointeeType,StorageClass storageClass) get() argument
H A DSPIRVDialect.cpp379 auto pointeeType = parseAndVerifyType(dialect, parser); in parseJointMatrixType()
380 if (!pointeeType) in parseJointMatrixType()
396 return PointerType::get(pointeeType, *storageClass); in parseJointMatrixType()
414 auto pointeeType = parseAndVerifyType(dialect, parser); parsePointerType() local
H A DMemoryOps.cpp476 Type pointeeType = in parse()
478 printer << " : " << pointeeType; in parse()
526 Type pointeeType = print() local
/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
H A DDecorateCompositeTypeLayoutPass.cpp46 auto pointeeType = cast<spirv::StructType>(ptrType.getPointeeType()); in matchAndRewrite() local
47 spirv::StructType structType = VulkanLayoutUtils::decorateType(pointeeType); in matchAndRewrite()
51 "failed to decorate (unsuported pointee type: '{0}')", pointeeType)); in matchAndRewrite()
H A DSPIRVConversion.cpp1275 Type pointeeType =
1277 if (isa<spirv::ArrayType>(pointeeType)) {
1063 Type pointeeType = getOpenCLElementPtr() local
/llvm-project/mlir/lib/Conversion/MemRefToSPIRV/
H A DMemRefToSPIRV.cpp475 auto pointeeType = dyn_cast<spirv::ScalarType>(ptrType.getPointeeType()); in calculateMemoryRequirements() local
476 if (!pointeeType) in calculateMemoryRequirements()
480 std::optional<int64_t> sizeInBytes = pointeeType.getSizeInBytes(); in calculateMemoryRequirements()
537 Type pointeeType = pointerType.getPointeeType(); in matchAndRewrite() local
540 if (auto arrayType = dyn_cast<spirv::ArrayType>(pointeeType)) in matchAndRewrite()
543 dstType = pointeeType; in matchAndRewrite()
547 cast<spirv::StructType>(pointeeType).getElementType(0); in matchAndRewrite()
683 Type pointeeType = pointerType.getPointeeType(); in matchAndRewrite() local
686 if (auto arrayType = dyn_cast<spirv::ArrayType>(pointeeType)) in matchAndRewrite()
689 dstType = dyn_cast<IntegerType>(pointeeType); in matchAndRewrite()
[all...]
/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td21 def : Property<"pointeeType", QualType> {
25 def : Creator<[{ return ctx.getPointerType(pointeeType); }]>;
69 def : Property<"pointeeType", QualType> {
73 def : Creator<[{ return ctx.getBlockPointerType(pointeeType); }]>;
100 def : Property<"pointeeType", QualType> {
108 return ctx.getMemberPointerType(pointeeType, baseType.getTypePtr());
720 def : Property<"pointeeType", QualType> {
731 return ctx.getDependentAddressSpaceType(pointeeType, addressSpace,
998 def : Property<"pointeeType", QualType> {
1003 return ctx.getObjCObjectPointerType(pointeeType);
[all...]
/llvm-project/clang/lib/AST/
H A DType.cpp1012 QualType pointeeType = recurse(T->getPointeeType()); in VisitRValueReferenceType()
1013 if (pointeeType.isNull()) in VisitRValueReferenceType() local
1016 if (pointeeType.getAsOpaquePtr() == T->getPointeeType().getAsOpaquePtr()) in VisitRValueReferenceType()
1019 return Ctx.getPointerType(pointeeType); in VisitRValueReferenceType()
1023 QualType pointeeType = recurse(T->getPointeeType());
1024 if (pointeeType.isNull()) in VisitMemberPointerType()
1027 if (pointeeType.getAsOpaquePtr() == T->getPointeeType().getAsOpaquePtr()) in VisitMemberPointerType()
1030 return Ctx.getBlockPointerType(pointeeType); in VisitMemberPointerType()
1034 QualType pointeeType = recurse(T->getPointeeTypeAsWritten());
1035 if (pointeeType
979 QualType pointeeType = recurse(T->getPointeeType()); VisitPointerType() local
990 QualType pointeeType = recurse(T->getPointeeType()); VisitBlockPointerType() local
1001 QualType pointeeType = recurse(T->getPointeeTypeAsWritten()); VisitLValueReferenceType() local
1025 QualType pointeeType = recurse(T->getPointeeType()); VisitMemberPointerType() local
1315 QualType pointeeType = recurse(T->getPointeeType()); TRIVIAL_TYPE_CLASS() local
[all...]
/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
H A DConvertLaunchFuncToLLVMCalls.cpp238 auto pointeeType = in matchAndRewrite() local
240 auto dstGlobalType = typeConverter->convertType(pointeeType); in matchAndRewrite()
/llvm-project/mlir/lib/Dialect/EmitC/IR/
H A DEmitC.cpp897 Type pointeeType = pointerType.getPointee();
899 if (pointeeType != resultType) {
901 << pointeeType << ") and result type (" << resultType
879 Type pointeeType = pointerType.getPointee(); verify() local
/llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVTypes.h208 static PointerType get(Type pointeeType, StorageClass storageClass);
/llvm-project/mlir/lib/Target/SPIRV/Deserialization/
H A DDeserializer.cpp917 auto pointeeType = getType(operands[2]);
918 if (!pointeeType)
924 typeMap[typePointerID] = spirv::PointerType::get(pointeeType, storageClass); in processArrayType()
869 auto pointeeType = getType(operands[2]); processOpTypePointer() local
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1139 QualType pointeeType = resultTy->getPointeeType(); in evalBinOpLN()
1140 Multiplicand = getContext().getTypeSizeInChars(pointeeType).getQuantity(); in evalBinOpLN()
1136 QualType pointeeType = resultTy->getPointeeType(); evalBinOpLN() local
/llvm-project/clang/lib/Sema/
H A DSemaType.cpp7365 const Type *pointeeType = nullptr; in distributeNullabilityTypeAttr()
7367 pointeeType = Desugared->getArrayElementTypeNoTypeQual();
7369 pointeeType = Desugared->getPointeeType().getTypePtr(); in getCCTypeAttr()
7371 if (pointeeType && (pointeeType->isAnyPointerType() || in getCCTypeAttr()
7372 pointeeType->isObjCObjectPointerType() || in getCCTypeAttr()
7373 pointeeType->isMemberPointerType())) { in getCCTypeAttr()
7173 const Type *pointeeType = nullptr; CheckNullabilityTypeSpecifier() local
H A DTreeTransform.h5971 QualType pointeeType = in TransformFunctionTypeParams()
5974 if (pointeeType.isNull()) in TransformFunctionTypeParams()
5987 if (getDerived().AlwaysRebuild() || pointeeType != T->getPointeeType() || in TransformFunctionTypeParams()
5990 pointeeType, AddrSpace.get(), T->getAttributeLoc()); in TransformFunctionTypeParams()
5803 QualType pointeeType = getDerived().TransformType(T->getPointeeType()); TransformDependentAddressSpaceType() local
/llvm-project/flang/lib/Semantics/
H A Dresolve-names.cpp6540 if (const auto *pointeeType{pointee->GetType()}) { in PassesLocalityChecks()
6541 if (const auto *derived{pointeeType->AsDerived()}) { in PassesLocalityChecks()
6137 if (const auto *pointeeType{pointee->GetType()}) { Post() local