LLVM 20.0.0git
|
Public Member Functions | |
AddrLabelMap (MCContext &context) | |
~AddrLabelMap () | |
ArrayRef< MCSymbol * > | getAddrLabelSymbolToEmit (BasicBlock *BB) |
void | takeDeletedSymbolsForFunction (Function *F, std::vector< MCSymbol * > &Result) |
If we have any deleted symbols for F, return them. | |
void | UpdateForDeletedBlock (BasicBlock *BB) |
void | UpdateForRAUWBlock (BasicBlock *Old, BasicBlock *New) |
Definition at line 206 of file AsmPrinter.cpp.
|
inline |
Definition at line 229 of file AsmPrinter.cpp.
|
inline |
Definition at line 231 of file AsmPrinter.cpp.
References assert(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::empty().
ArrayRef< MCSymbol * > AddrLabelMap::getAddrLabelSymbolToEmit | ( | BasicBlock * | BB | ) |
Definition at line 245 of file AsmPrinter.cpp.
References assert(), llvm::MCContext::createNamedTempSymbol(), llvm::MCContext::createTempSymbol(), llvm::BasicBlock::getParent(), llvm::BasicBlock::hasAddressTaken(), and Sym.
void AddrLabelMap::takeDeletedSymbolsForFunction | ( | Function * | F, |
std::vector< MCSymbol * > & | Result | ||
) |
If we have any deleted symbols for F, return them.
Definition at line 269 of file AsmPrinter.cpp.
References F, I, and std::swap().
void AddrLabelMap::UpdateForDeletedBlock | ( | BasicBlock * | BB | ) |
Definition at line 303 of file AsmPrinter.cpp.
References assert(), llvm::BasicBlock::getParent(), and Sym.
void AddrLabelMap::UpdateForRAUWBlock | ( | BasicBlock * | Old, |
BasicBlock * | New | ||
) |
Definition at line 330 of file AsmPrinter.cpp.
References llvm::append_range(), and assert().