Searched refs:ImageTy (Results 1 – 2 of 2) sorted by relevance
1031 auto ImageTy = getAnalysis<OCLTypeToSPIRV>().getAdaptedType(Args[0]); in visitCallReadImageWithSampler() local1032 if (isOCLImageType(ImageTy)) in visitCallReadImageWithSampler()1033 ImageTy = getSPIRVImageTypeFromOCL(M, ImageTy); in visitCallReadImageWithSampler()1035 M, ImageTy, kSPIRVTypeName::Image, kSPIRVTypeName::SampledImg); in visitCallReadImageWithSampler()
1442 Type *getSPIRVImageTypeFromOCL(Module *M, Type *ImageTy) { in getSPIRVImageTypeFromOCL() argument1443 assert(isOCLImageType(ImageTy) && "Unsupported type"); in getSPIRVImageTypeFromOCL()1444 auto ImageTypeName = ImageTy->getPointerElementType()->getStructName(); in getSPIRVImageTypeFromOCL()