Lines Matching refs:annot
135 unsigned annot; in isTexture() local
136 if (findOneNVVMAnnotation(gv, "texture", annot)) { in isTexture()
137 assert((annot == 1) && "Unexpected annotation on a texture symbol"); in isTexture()
146 unsigned annot; in isSurface() local
147 if (findOneNVVMAnnotation(gv, "surface", annot)) { in isSurface()
148 assert((annot == 1) && "Unexpected annotation on a surface symbol"); in isSurface()
159 unsigned annot; in isSampler() local
160 if (findOneNVVMAnnotation(gv, AnnotationName, annot)) { in isSampler()
161 assert((annot == 1) && "Unexpected annotation on a sampler symbol"); in isSampler()
167 std::vector<unsigned> annot; in isSampler() local
168 if (findAllNVVMAnnotation(func, AnnotationName, annot)) { in isSampler()
169 if (is_contained(annot, arg->getArgNo())) in isSampler()
179 std::vector<unsigned> annot; in isImageReadOnly() local
180 if (findAllNVVMAnnotation(func, "rdoimage", annot)) { in isImageReadOnly()
181 if (is_contained(annot, arg->getArgNo())) in isImageReadOnly()
191 std::vector<unsigned> annot; in isImageWriteOnly() local
192 if (findAllNVVMAnnotation(func, "wroimage", annot)) { in isImageWriteOnly()
193 if (is_contained(annot, arg->getArgNo())) in isImageWriteOnly()
203 std::vector<unsigned> annot; in isImageReadWrite() local
204 if (findAllNVVMAnnotation(func, "rdwrimage", annot)) { in isImageReadWrite()
205 if (is_contained(annot, arg->getArgNo())) in isImageReadWrite()
218 unsigned annot; in isManaged() local
219 if (findOneNVVMAnnotation(gv, "managed", annot)) { in isManaged()
220 assert((annot == 1) && "Unexpected annotation on a managed symbol"); in isManaged()