Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/AST/
DTypeProperties.td21 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());
606 def : Property<"pointeeType", QualType> {
617 return ctx.getDependentAddressSpaceType(pointeeType, addressSpace,
855 def : Property<"pointeeType", QualType> {
860 return ctx.getObjCObjectPointerType(pointeeType);
/external/clang/lib/AST/
DType.cpp696 QualType pointeeType = recurse(T->getPointeeType()); in VisitPointerType() local
697 if (pointeeType.isNull()) in VisitPointerType()
700 if (pointeeType.getAsOpaquePtr() == T->getPointeeType().getAsOpaquePtr()) in VisitPointerType()
703 return Ctx.getPointerType(pointeeType); in VisitPointerType()
707 QualType pointeeType = recurse(T->getPointeeType()); in VisitBlockPointerType() local
708 if (pointeeType.isNull()) in VisitBlockPointerType()
711 if (pointeeType.getAsOpaquePtr() == T->getPointeeType().getAsOpaquePtr()) in VisitBlockPointerType()
714 return Ctx.getBlockPointerType(pointeeType); in VisitBlockPointerType()
718 QualType pointeeType = recurse(T->getPointeeTypeAsWritten()); in VisitLValueReferenceType() local
719 if (pointeeType.isNull()) in VisitLValueReferenceType()
[all …]
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DTypeDetail.h408 : pointeeType(std::get<0>(key)), addressSpace(std::get<1>(key)) {} in LLVMPointerTypeStorage()
417 return std::make_tuple(pointeeType, addressSpace) == key;
420 LLVMType pointeeType; member
DLLVMTypes.cpp383 LLVMType LLVMPointerType::getElementType() { return getImpl()->pointeeType; } in getElementType()
/external/llvm-project/clang/lib/AST/
DType.cpp893 QualType pointeeType = recurse(T->getPointeeType()); in VisitPointerType() local
894 if (pointeeType.isNull()) in VisitPointerType()
897 if (pointeeType.getAsOpaquePtr() == T->getPointeeType().getAsOpaquePtr()) in VisitPointerType()
900 return Ctx.getPointerType(pointeeType); in VisitPointerType()
904 QualType pointeeType = recurse(T->getPointeeType()); in VisitBlockPointerType() local
905 if (pointeeType.isNull()) in VisitBlockPointerType()
908 if (pointeeType.getAsOpaquePtr() == T->getPointeeType().getAsOpaquePtr()) in VisitBlockPointerType()
911 return Ctx.getBlockPointerType(pointeeType); in VisitBlockPointerType()
915 QualType pointeeType = recurse(T->getPointeeTypeAsWritten()); in VisitLValueReferenceType() local
916 if (pointeeType.isNull()) in VisitLValueReferenceType()
[all …]
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVTypes.cpp458 return key == KeyTy(pointeeType, storageClass); in operator ==()
462 : pointeeType(key.first), storageClass(key.second) {} in PointerTypeStorage()
464 Type pointeeType; member
468 PointerType PointerType::get(Type pointeeType, StorageClass storageClass) { in get() argument
469 return Base::get(pointeeType.getContext(), pointeeType, storageClass); in get()
472 Type PointerType::getPointeeType() const { return getImpl()->pointeeType; } in getPointeeType()
DSPIRVDialect.cpp354 auto pointeeType = parseAndVerifyType(dialect, parser); in parsePointerType() local
355 if (!pointeeType) in parsePointerType()
371 return PointerType::get(pointeeType, *storageClass); in parsePointerType()
DSPIRVOps.cpp1121 Type pointeeType = in verify() local
1123 if (atomOp.getType() != pointeeType) in verify()
1127 << pointeeType << " vs " << atomOp.getType(); in verify()
3024 Type pointeeType = pointer.cast<spirv::PointerType>().getPointeeType(); in verifyPointerAndCoopMatrixType() local
3025 if (!pointeeType.isa<spirv::ScalarType>() && !pointeeType.isa<VectorType>()) in verifyPointerAndCoopMatrixType()
3028 << pointeeType; in verifyPointerAndCoopMatrixType()
3173 Type pointeeType = in print() local
3175 printer << " : " << pointeeType; in print()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertLaunchFuncToLLVMCalls.cpp225 auto pointeeType = in matchAndRewrite() local
227 auto dstGlobalType = typeConverter->convertType(pointeeType); in matchAndRewrite()
DConvertSPIRVToLLVM.cpp266 auto pointeeType = in convertPointerType() local
268 return pointeeType.getPointerTo(); in convertPointerType()
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVTypes.h229 static PointerType get(Type pointeeType, StorageClass storageClass);
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp1163 QualType pointeeType = resultTy->getPointeeType(); in evalBinOpLN() local
1164 Multiplicand = getContext().getTypeSizeInChars(pointeeType).getQuantity(); in evalBinOpLN()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp1245 auto pointeeType = getType(operands[2]); in processOpTypePointer() local
1246 if (!pointeeType) in processOpTypePointer()
1252 typeMap[typePointerID] = spirv::PointerType::get(pointeeType, storageClass); in processOpTypePointer()
/external/swiftshader/src/Pipeline/
DSpirvShader.cpp1596 auto pointeeType = getType(resultPointerType.element); in emitProlog() local
1598 if(pointeeType.componentCount > 0) // TODO: what to do about zero-slot objects? in emitProlog()
1600 routine->createVariable(insn.resultId(), pointeeType.componentCount); in emitProlog()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp7120 const Type *pointeeType = nullptr; in checkNullabilityTypeSpecifier() local
7122 pointeeType = desugared->getArrayElementTypeNoTypeQual(); in checkNullabilityTypeSpecifier()
7124 pointeeType = desugared->getPointeeType().getTypePtr(); in checkNullabilityTypeSpecifier()
7126 if (pointeeType && (pointeeType->isAnyPointerType() || in checkNullabilityTypeSpecifier()
7127 pointeeType->isObjCObjectPointerType() || in checkNullabilityTypeSpecifier()
7128 pointeeType->isMemberPointerType())) { in checkNullabilityTypeSpecifier()
DTreeTransform.h5342 QualType pointeeType = getDerived().TransformType(T->getPointeeType()); in TransformDependentAddressSpaceType() local
5344 if (pointeeType.isNull()) in TransformDependentAddressSpaceType()
5357 if (getDerived().AlwaysRebuild() || pointeeType != T->getPointeeType() || in TransformDependentAddressSpaceType()
5360 pointeeType, AddrSpace.get(), T->getAttributeLoc()); in TransformDependentAddressSpaceType()
/external/clang/lib/Sema/
DSemaType.cpp5894 QualType pointeeType = desugared->getPointeeType(); in checkNullabilityTypeSpecifier() local
5895 if (pointeeType->isAnyPointerType() || in checkNullabilityTypeSpecifier()
5896 pointeeType->isObjCObjectPointerType() || in checkNullabilityTypeSpecifier()
5897 pointeeType->isMemberPointerType()) { in checkNullabilityTypeSpecifier()
/external/llvm-project/flang/lib/Semantics/
Dresolve-names.cpp4252 if (const auto *pointeeType{pointee.GetType()}) { in Pre() local
4253 if (const auto *derived{pointeeType->AsDerived()}) { in Pre()