Home | History | Annotate | Download | only in IR

Lines Matching defs:Entry

77   auto *&Entry = Context.pImpl->MetadataAsValues[MD];
78 if (!Entry)
79 Entry = new MetadataAsValue(Type::getMetadataTy(Context), MD);
80 return Entry;
101 auto *&Entry = Store[MD];
102 if (Entry) {
103 replaceAllUsesWith(Entry);
110 Entry = this;
255 auto *&Entry = Context.pImpl->ValuesAsMetadata[V];
256 if (!Entry) {
263 Entry = new ConstantAsMetadata(C);
265 Entry = new LocalAsMetadata(V);
268 return Entry;
284 // Remove old entry from the map.
310 // Remove old entry from the map.
340 auto *&Entry = Store[To];
341 if (Entry) {
343 MD->replaceAllUsesWith(Entry);
348 // Update MD in place (and update the map entry).
353 Entry = MD;
366 auto *Entry =
368 bool WasInserted = Store.insert(Entry);
370 assert(WasInserted && "Expected entry to be inserted");
371 Entry->second.Entry = Entry;
372 return &Entry->second;
376 assert(Entry && "Expected to find string map entry");
377 return Entry->first();
1083 // Just drop our entry at the store.
1095 // Drop our entry at the store.