Lines Matching refs:MCSymbol
57 PointerUnion<MCSymbol *, std::vector<MCSymbol*>*> Symbols;
73 DenseMap<AssertingVH<Function>, std::vector<MCSymbol*> >
85 if (I->second.Symbols.is<std::vector<MCSymbol*>*>()) in ~MMIAddrLabelMap()
86 delete I->second.Symbols.get<std::vector<MCSymbol*>*>(); in ~MMIAddrLabelMap()
89 MCSymbol *getAddrLabelSymbol(BasicBlock *BB);
90 std::vector<MCSymbol*> getAddrLabelSymbolToEmit(BasicBlock *BB);
93 std::vector<MCSymbol*> &Result);
100 MCSymbol *MMIAddrLabelMap::getAddrLabelSymbol(BasicBlock *BB) { in getAddrLabelSymbol()
108 if (Entry.Symbols.is<MCSymbol*>()) in getAddrLabelSymbol()
109 return Entry.Symbols.get<MCSymbol*>(); in getAddrLabelSymbol()
110 return (*Entry.Symbols.get<std::vector<MCSymbol*>*>())[0]; in getAddrLabelSymbol()
119 MCSymbol *Result = Context.CreateTempSymbol(); in getAddrLabelSymbol()
124 std::vector<MCSymbol*>
130 std::vector<MCSymbol*> Result; in getAddrLabelSymbolToEmit()
135 else if (MCSymbol *Sym = Entry.Symbols.dyn_cast<MCSymbol*>()) in getAddrLabelSymbolToEmit()
138 Result = *Entry.Symbols.get<std::vector<MCSymbol*>*>(); in getAddrLabelSymbolToEmit()
146 takeDeletedSymbolsForFunction(Function *F, std::vector<MCSymbol*> &Result) { in takeDeletedSymbolsForFunction()
147 DenseMap<AssertingVH<Function>, std::vector<MCSymbol*> >::iterator I = in takeDeletedSymbolsForFunction()
172 if (MCSymbol *Sym = Entry.Symbols.dyn_cast<MCSymbol*>()) { in UpdateForDeletedBlock()
182 std::vector<MCSymbol*> *Syms = Entry.Symbols.get<std::vector<MCSymbol*>*>(); in UpdateForDeletedBlock()
185 MCSymbol *Sym = (*Syms)[i]; in UpdateForDeletedBlock()
220 if (MCSymbol *PrevSym = NewEntry.Symbols.dyn_cast<MCSymbol*>()) { in UpdateForRAUWBlock()
221 std::vector<MCSymbol*> *SymList = new std::vector<MCSymbol*>(); in UpdateForRAUWBlock()
226 std::vector<MCSymbol*> *SymList = in UpdateForRAUWBlock()
227 NewEntry.Symbols.get<std::vector<MCSymbol*>*>(); in UpdateForRAUWBlock()
230 if (MCSymbol *Sym = OldEntry.Symbols.dyn_cast<MCSymbol*>()) { in UpdateForRAUWBlock()
236 std::vector<MCSymbol*> *Syms =OldEntry.Symbols.get<std::vector<MCSymbol*>*>(); in UpdateForRAUWBlock()
344 MCSymbol *MachineModuleInfo::getAddrLabelSymbol(const BasicBlock *BB) { in getAddrLabelSymbol()
354 std::vector<MCSymbol*> MachineModuleInfo::
369 std::vector<MCSymbol*> &Result) { in takeDeletedSymbolsForFunction()
396 MCSymbol *BeginLabel, MCSymbol *EndLabel) { in addInvoke()
404 MCSymbol *MachineModuleInfo::addLandingPad(MachineBasicBlock *LandingPad) { in addLandingPad()
405 MCSymbol *LandingPadLabel = Context.CreateTempSymbol(); in addLandingPad()
461 void MachineModuleInfo::TidyLandingPads(DenseMap<MCSymbol*, uintptr_t> *LPMap) { in TidyLandingPads() argument
477 MCSymbol *BeginLabel = LandingPad.BeginLabels[j]; in TidyLandingPads()
478 MCSymbol *EndLabel = LandingPad.EndLabels[j]; in TidyLandingPads()
506 void MachineModuleInfo::setCallSiteLandingPad(MCSymbol *Sym, in setCallSiteLandingPad()