15 #ifndef LLVM_CODEGEN_MACHINEMODULEINFOIMPLS_H
16 #define LLVM_CODEGEN_MACHINEMODULEINFOIMPLS_H
36 virtual void anchor();
41 assert(Sym &&
"Key cannot be null");
46 assert(Sym &&
"Key cannot be null");
47 return ThreadLocalGVStubs[Sym];
64 virtual void anchor();
69 assert(Sym &&
"Key cannot be null");
PointerIntPair< MCSymbol *, 1, bool > StubValueTy
SymbolListTy GetGVStubList()
Accessor methods to return the set of stubs in sorted order.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
std::vector< std::pair< MCSymbol *, StubValueTy > > SymbolListTy
StubValueTy & getThreadLocalGVStubEntry(MCSymbol *Sym)
PointerIntPair - This class implements a pair of a pointer and small integer.
StubValueTy & getGVStubEntry(MCSymbol *Sym)
StubValueTy & getGVStubEntry(MCSymbol *Sym)
SymbolListTy GetThreadLocalGVStubList()
SymbolListTy GetGVStubList()
Accessor methods to return the set of stubs in sorted order.
MachineModuleInfoELF(const MachineModuleInfo &)
MachineModuleInfoELF - This is a MachineModuleInfoImpl implementation for ELF targets.
MachineModuleInfoMachO - This is a MachineModuleInfoImpl implementation for MachO targets...
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
MachineModuleInfoMachO(const MachineModuleInfo &)
This class can be derived from and used by targets to hold private target-specific information for ea...
static SymbolListTy getSortedStubs(DenseMap< MCSymbol *, StubValueTy > &)
Return the entries from a DenseMap in a deterministic sorted orer.
This class contains meta information specific to a module.