Lines Matching refs:AC

42   static AnnotationCache AC;  in getAnnotationCache()  local
43 return AC; in getAnnotationCache()
48 auto &AC = getAnnotationCache(); in clearAnnotationCache() local
49 std::lock_guard<sys::Mutex> Guard(AC.Lock); in clearAnnotationCache()
50 AC.Cache.erase(Mod); in clearAnnotationCache()
54 auto &AC = getAnnotationCache(); in cacheAnnotationFromMD() local
55 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD()
81 auto &AC = getAnnotationCache(); in cacheAnnotationFromMD() local
82 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD()
105 if (AC.Cache.find(m) != AC.Cache.end()) in cacheAnnotationFromMD()
106 AC.Cache[m][gv] = std::move(tmp); in cacheAnnotationFromMD()
110 AC.Cache[m] = std::move(tmp1); in cacheAnnotationFromMD()
116 auto &AC = getAnnotationCache(); in findOneNVVMAnnotation() local
117 std::lock_guard<sys::Mutex> Guard(AC.Lock); in findOneNVVMAnnotation()
119 if (AC.Cache.find(m) == AC.Cache.end()) in findOneNVVMAnnotation()
121 else if (AC.Cache[m].find(gv) == AC.Cache[m].end()) in findOneNVVMAnnotation()
123 if (AC.Cache[m][gv].find(prop) == AC.Cache[m][gv].end()) in findOneNVVMAnnotation()
125 retval = AC.Cache[m][gv][prop][0]; in findOneNVVMAnnotation()
131 auto &AC = getAnnotationCache(); in findAllNVVMAnnotation() local
132 std::lock_guard<sys::Mutex> Guard(AC.Lock); in findAllNVVMAnnotation()
134 if (AC.Cache.find(m) == AC.Cache.end()) in findAllNVVMAnnotation()
136 else if (AC.Cache[m].find(gv) == AC.Cache[m].end()) in findAllNVVMAnnotation()
138 if (AC.Cache[m][gv].find(prop) == AC.Cache[m][gv].end()) in findAllNVVMAnnotation()
140 retval = AC.Cache[m][gv][prop]; in findAllNVVMAnnotation()