LLVM
8.0.1
|
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"
Public Types | |
using | StubValueTy = PointerIntPair< MCSymbol *, 1, bool > |
using | SymbolListTy = std::vector< std::pair< MCSymbol *, StubValueTy > > |
Public Member Functions | |
virtual | ~MachineModuleInfoImpl () |
Static Protected Member Functions | |
static SymbolListTy | getSortedStubs (DenseMap< MCSymbol *, StubValueTy > &) |
Return the entries from a DenseMap in a deterministic sorted orer. More... | |
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 MMI::getInfo and destroyed when the MachineModuleInfo is destroyed.
Definition at line 60 of file MachineModuleInfo.h.
using llvm::MachineModuleInfoImpl::StubValueTy = PointerIntPair<MCSymbol *, 1, bool> |
Definition at line 62 of file MachineModuleInfo.h.
using llvm::MachineModuleInfoImpl::SymbolListTy = std::vector<std::pair<MCSymbol *, StubValueTy> > |
Definition at line 63 of file MachineModuleInfo.h.
|
virtual |
|
staticprotected |
Return the entries from a DenseMap in a deterministic sorted orer.
Clears the map.
Definition at line 35 of file MachineModuleInfoImpls.cpp.
References llvm::array_pod_sort(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::begin(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::clear(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::end(), List, and SortSymbolPair().
Referenced by llvm::MachineModuleInfoMachO::GetGVStubList(), llvm::MachineModuleInfoELF::GetGVStubList(), llvm::MachineModuleInfoCOFF::GetGVStubList(), and llvm::MachineModuleInfoMachO::GetThreadLocalGVStubList().