Home
last modified time | relevance | path

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

/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()