Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Entry

97   AddrLabelSymEntry &Entry = AddrLabelSymbols[BB];
99 // If we already had an entry for this block, just return it.
100 if (!Entry.Symbols.empty()) {
101 assert(BB->getParent() == Entry.Fn && "Parent changed");
102 return Entry.Symbols;
105 // Otherwise, this is a new entry, create a new symbol for it and add an
106 // entry to BBCallbacks so we can be notified if the BB is deleted or RAUWd.
109 Entry.Index = BBCallbacks.size() - 1;
110 Entry.Fn = BB->getParent();
111 Entry.Symbols.push_back(Context.createTempSymbol());
112 return Entry.Symbols;
135 AddrLabelSymEntry Entry = std::move(AddrLabelSymbols[BB]);
137 assert(!Entry.Symbols.empty() && "Didn't have a symbol, why a callback?");
138 BBCallbacks[Entry.Index] = nullptr; // Clear the callback.
140 assert((BB->getParent() == nullptr || BB->getParent() == Entry.Fn) &&
143 for (MCSymbol *Sym : Entry.Symbols) {
150 // parent may already be removed, we have to get the function from 'Entry'.
151 DeletedAddrLabelsNeedingEmission[Entry.Fn].push_back(Sym);
156 // Get the entry for the RAUW'd block and remove it from our map.
166 NewEntry = std::move(OldEntry); // Set New's entry.