LLVM 20.0.0git
|
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 > > |
using | ExprStubListTy = std::vector< std::pair< MCSymbol *, const MCExpr * > > |
A variant of SymbolListTy where the stub is a generalized MCExpr. | |
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. | |
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.
using llvm::MachineModuleInfoImpl::ExprStubListTy = std::vector<std::pair<MCSymbol *, const MCExpr *> > |
A variant of SymbolListTy where the stub is a generalized MCExpr.
Definition at line 62 of file MachineModuleInfo.h.
using llvm::MachineModuleInfoImpl::StubValueTy = PointerIntPair<MCSymbol *, 1, bool> |
Definition at line 58 of file MachineModuleInfo.h.
using llvm::MachineModuleInfoImpl::SymbolListTy = std::vector<std::pair<MCSymbol *, StubValueTy> > |
Definition at line 59 of file MachineModuleInfo.h.
|
virtualdefault |
|
staticprotected |
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().
|
staticprotected |
Return the entries from a DenseMap in a deterministic sorted orer.
Clears the map.
Definition at line 38 of file MachineModuleInfoImpls.cpp.
References llvm::array_pod_sort(), llvm::List, and SortSymbolPair().
Referenced by llvm::MachineModuleInfoMachO::GetGVStubList(), llvm::MachineModuleInfoELF::GetGVStubList(), llvm::MachineModuleInfoCOFF::GetGVStubList(), and llvm::MachineModuleInfoMachO::GetThreadLocalGVStubList().