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
85 if ((*annotationCache).find(m) != (*annotationCache).end()) in cacheAnnotationFromMD()
86 (*annotationCache)[m][gv] = tmp; in cacheAnnotationFromMD()
90 (*annotationCache)[m] = tmp1; in cacheAnnotationFromMD()
97 if ((*annotationCache).find(m) == (*annotationCache).end()) in findOneNVVMAnnotation()
99 else if ((*annotationCache)[m].find(gv) == (*annotationCache)[m].end()) in findOneNVVMAnnotation()
101 if ((*annotationCache)[m][gv].find(prop) == (*annotationCache)[m][gv].end()) in findOneNVVMAnnotation()
103 retval = (*annotationCache)[m][gv][prop][0]; in findOneNVVMAnnotation()
110 if ((*annotationCache).find(m) == (*annotationCache).end()) in findAllNVVMAnnotation()
112 else if ((*annotationCache)[m].find(gv) == (*annotationCache)[m].end()) in findAllNVVMAnnotation()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/
DFeatureUtil.java43 private static Map<AnnotatedElement, Annotation[]> annotationCache = field in FeatureUtil
191 synchronized (annotationCache) { in getTesterAnnotations()
192 annotations = annotationCache.get(classOrMethod); in getTesterAnnotations()
195 annotationCache.put(classOrMethod, annotations); in getTesterAnnotations()