Home
last modified time | relevance | path

Searched refs:annotationCache (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp37 static ManagedStatic<per_module_annot_t> annotationCache; variable
42 annotationCache->erase(Mod); in clearAnnotationCache()
95 if ((*annotationCache).find(m) != (*annotationCache).end()) in cacheAnnotationFromMD()
96 (*annotationCache)[m][gv] = std::move(tmp); in cacheAnnotationFromMD()
100 (*annotationCache)[m] = std::move(tmp1); in cacheAnnotationFromMD()
108 if ((*annotationCache).find(m) == (*annotationCache).end()) in findOneNVVMAnnotation()
110 else if ((*annotationCache)[m].find(gv) == (*annotationCache)[m].end()) in findOneNVVMAnnotation()
112 if ((*annotationCache)[m][gv].find(prop) == (*annotationCache)[m][gv].end()) in findOneNVVMAnnotation()
114 retval = (*annotationCache)[m][gv][prop][0]; in findOneNVVMAnnotation()
122 if ((*annotationCache).find(m) == (*annotationCache).end()) in findAllNVVMAnnotation()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp35 ManagedStatic<per_module_annot_t> annotationCache; variable
40 annotationCache->erase(Mod); in clearAnnotationCache()
93 if ((*annotationCache).find(m) != (*annotationCache).end()) in cacheAnnotationFromMD()
94 (*annotationCache)[m][gv] = std::move(tmp); in cacheAnnotationFromMD()
98 (*annotationCache)[m] = std::move(tmp1); in cacheAnnotationFromMD()
106 if ((*annotationCache).find(m) == (*annotationCache).end()) in findOneNVVMAnnotation()
108 else if ((*annotationCache)[m].find(gv) == (*annotationCache)[m].end()) in findOneNVVMAnnotation()
110 if ((*annotationCache)[m][gv].find(prop) == (*annotationCache)[m][gv].end()) in findOneNVVMAnnotation()
112 retval = (*annotationCache)[m][gv][prop][0]; in findOneNVVMAnnotation()
120 if ((*annotationCache).find(m) == (*annotationCache).end()) in findAllNVVMAnnotation()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/
DFeatureUtil.java41 private static Map<AnnotatedElement, Annotation[]> annotationCache = field in FeatureUtil
189 synchronized (annotationCache) { in getTesterAnnotations()
190 annotations = annotationCache.get(classOrMethod); in getTesterAnnotations()
193 annotationCache.put(classOrMethod, annotations); in getTesterAnnotations()