LLVM: llvm::MachineModuleInfoImpl Class Reference (original) (raw)
This class can be derived from and used by targets to hold private target-specific information for each Module. More...
#include "[llvm/CodeGen/MachineModuleInfo.h](MachineModuleInfo%5F8h%5Fsource.html)"
Public Types | |
---|---|
using | StubValueTy = PointerIntPair< MCSymbol *, 1, bool > |
using | SymbolListTy = std::vector< std::pair< MCSymbol *, StubValueTy > > |
using | ExprStubListTy = std::vector< std::pair< MCSymbol *, const MCExpr * > > |
A variant of SymbolListTy where the stub is a generalized MCExpr. | |
Static Protected Member Functions | |
---|---|
static SymbolListTy | getSortedStubs (DenseMap< MCSymbol *, StubValueTy > &) |
Return the entries from a DenseMap in a deterministic sorted orer. | |
static ExprStubListTy | getSortedExprStubs (DenseMap< MCSymbol *, const MCExpr * > &) |
Return the entries from a DenseMap in a deterministic sorted orer. | |
This class can be derived from and used by targets to hold private target-specific information for each Module.
Objects of type are accessed/created with MachineModuleInfo::getObjFileInfo and destroyed when the MachineModuleInfo is destroyed.
Definition at line 56 of file MachineModuleInfo.h.
◆ ExprStubListTy
◆ StubValueTy
◆ SymbolListTy
MachineModuleInfoImpl::~MachineModuleInfoImpl ( ) | virtualdefault |
---|
◆ getSortedExprStubs()
Return the entries from a DenseMap in a deterministic sorted orer.
Clears the map.
Definition at line 54 of file MachineModuleInfoImpls.cpp.
References llvm::array_pod_sort(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::begin(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::clear(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::List, and SortAuthStubPair().
Referenced by llvm::MachineModuleInfoMachO::getAuthGVStubList(), and llvm::MachineModuleInfoELF::getAuthGVStubList().
◆ getSortedStubs()
The documentation for this class was generated from the following files:
- include/llvm/CodeGen/MachineModuleInfo.h
- lib/CodeGen/MachineModuleInfo.cpp
- lib/CodeGen/MachineModuleInfoImpls.cpp