LLVM
8.0.1
|
Public Member Functions | |
MMIAddrLabelMap (MCContext &context) | |
~MMIAddrLabelMap () | |
ArrayRef< MCSymbol * > | getAddrLabelSymbolToEmit (BasicBlock *BB) |
void | takeDeletedSymbolsForFunction (Function *F, std::vector< MCSymbol *> &Result) |
If we have any deleted symbols for F, return them. More... | |
void | UpdateForDeletedBlock (BasicBlock *BB) |
void | UpdateForRAUWBlock (BasicBlock *Old, BasicBlock *New) |
Definition at line 67 of file MachineModuleInfo.cpp.
|
inline |
Definition at line 90 of file MachineModuleInfo.cpp.
|
inline |
Definition at line 92 of file MachineModuleInfo.cpp.
References assert(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::empty(), and F().
ArrayRef< MCSymbol * > MMIAddrLabelMap::getAddrLabelSymbolToEmit | ( | BasicBlock * | BB | ) |
Definition at line 108 of file MachineModuleInfo.cpp.
References assert(), Context, llvm::BasicBlock::getParent(), llvm::BasicBlock::hasAddressTaken(), and takeDeletedSymbolsForFunction().
Referenced by llvm::MachineModuleInfo::getAddrLabelSymbolToEmit().
void MMIAddrLabelMap::takeDeletedSymbolsForFunction | ( | Function * | F, |
std::vector< MCSymbol *> & | Result | ||
) |
If we have any deleted symbols for F, return them.
Definition at line 131 of file MachineModuleInfo.cpp.
References llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::end(), I, and std::swap().
Referenced by getAddrLabelSymbolToEmit().
void MMIAddrLabelMap::UpdateForDeletedBlock | ( | BasicBlock * | BB | ) |
Definition at line 143 of file MachineModuleInfo.cpp.
References assert(), and llvm::MCSymbol::isDefined().
void MMIAddrLabelMap::UpdateForRAUWBlock | ( | BasicBlock * | Old, |
BasicBlock * | New | ||
) |
Definition at line 167 of file MachineModuleInfo.cpp.
References assert().