Home
last modified time | relevance | path

Searched refs:ContainedTy (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DDirectX.cpp50 QualType ContainedTy = ResType->getContainedType(); in getHLSLType() local
51 if (ContainedTy.isNull()) in getHLSLType()
55 llvm::Type *ElemType = CGM.getTypes().ConvertTypeForMem(ContainedTy); in getHLSLType()
63 const clang::Type *ElemType = ContainedTy->getUnqualifiedDesugaredType(); in getHLSLType()
74 QualType ContainedTy = ResType->getContainedType(); in getHLSLType() local
75 if (ContainedTy.isNull() || !ContainedTy->isStructureType()) in getHLSLType()
80 .createLayoutType(ContainedTy->getAsStructureType(), Packoffsets); in getHLSLType()
H A DSPIR.cpp481 QualType ContainedTy = ResType->getContainedType(); in getHLSLType() local
482 if (ContainedTy.isNull()) in getHLSLType()
490 return getSPIRVImageTypeFromHLSLResource(ResAttrs, ContainedTy, CGM); in getHLSLType()
493 llvm::Type *ElemType = CGM.getTypes().ConvertTypeForMem(ContainedTy); in getHLSLType()
502 QualType ContainedTy = ResType->getContainedType(); in getHLSLType() local
503 if (ContainedTy.isNull() || !ContainedTy->isStructureType()) in getHLSLType()
508 .createLayoutType(ContainedTy->getAsStructureType(), Packoffsets); in getHLSLType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp1615 QualType ContainedTy = QualType(); in CreateHLSLAttributedResourceType() local
1658 if (!ContainedTy.isNull()) { in CreateHLSLAttributedResourceType()
1659 S.Diag(A->getLocation(), ContainedTy == Ty in CreateHLSLAttributedResourceType()
1665 ContainedTy = Ty; in CreateHLSLAttributedResourceType()
1681 Wrapped, ContainedTy, ResAttrs); in CreateHLSLAttributedResourceType()
2760 QualType ContainedTy = ResourceTy->getContainedType(); in CheckBuiltinFunctionCall() local
2762 SemaRef.Context.getAddrSpaceQualType(ContainedTy, LangAS::hlsl_device); in CheckBuiltinFunctionCall()
H A DTreeTransform.h7671 QualType ContainedTy = QualType(); in TransformHLSLAttributedResourceType() local
7681 ContainedTy = ContainedTSI->getType(); in TransformHLSLAttributedResourceType()
7686 ContainedTy != oldType->getContainedType()) { in TransformHLSLAttributedResourceType()
7688 WrappedTy, ContainedTy, oldType->getAttrs()); in TransformHLSLAttributedResourceType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp2154 QualType ContainedTy = T->getContainedType(); in printHLSLAttributedResourceAfter() local
2155 if (!ContainedTy.isNull()) { in printHLSLAttributedResourceAfter()
2157 printBefore(ContainedTy, OS); in printHLSLAttributedResourceAfter()
2158 printAfter(ContainedTy, OS); in printHLSLAttributedResourceAfter()