14#ifndef LLVM_CODEGEN_MACHINEMODULEINFOIMPLS_H
15#define LLVM_CODEGEN_MACHINEMODULEINFOIMPLS_H
44 virtual void anchor();
50 assert(Sym &&
"Key cannot be null");
55 assert(Sym &&
"Key cannot be null");
56 return ThreadLocalGVStubs[Sym];
60 assert(Sym &&
"Key cannot be null");
61 return AuthPtrStubs[Sym];
88 bool HasSignedPersonality =
false;
90 virtual void anchor();
96 assert(Sym &&
"Key cannot be null");
101 assert(Sym &&
"Key cannot be null");
102 return AuthPtrStubs[Sym];
123 virtual void anchor();
129 assert(Sym &&
"Key cannot be null");
141 virtual void anchor();
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
This file defines the DenseMap class.
This file implements a set that has insertion order iteration characteristics.
Base class for the full range of assembler expressions which are needed for parsing.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
StubValueTy & getGVStubEntry(MCSymbol *Sym)
SymbolListTy GetGVStubList()
Accessor methods to return the set of stubs in sorted order.
MachineModuleInfoCOFF(const MachineModuleInfo &)
MachineModuleInfoELF(const MachineModuleInfo &)
const MCExpr *& getAuthPtrStubEntry(MCSymbol *Sym)
ExprStubListTy getAuthGVStubList()
bool hasSignedPersonality() const
StubValueTy & getGVStubEntry(MCSymbol *Sym)
SymbolListTy GetGVStubList()
Accessor methods to return the set of stubs in sorted order.
This class can be derived from and used by targets to hold private target-specific information for ea...
std::vector< std::pair< MCSymbol *, StubValueTy > > SymbolListTy
static SymbolListTy getSortedStubs(DenseMap< MCSymbol *, StubValueTy > &)
Return the entries from a DenseMap in a deterministic sorted orer.
std::vector< std::pair< MCSymbol *, const MCExpr * > > ExprStubListTy
A variant of SymbolListTy where the stub is a generalized MCExpr.
PointerIntPair< MCSymbol *, 1, bool > StubValueTy
static ExprStubListTy getSortedExprStubs(DenseMap< MCSymbol *, const MCExpr * > &)
Return the entries from a DenseMap in a deterministic sorted orer.
SymbolListTy GetThreadLocalGVStubList()
const MCExpr *& getAuthPtrStubEntry(MCSymbol *Sym)
StubValueTy & getGVStubEntry(MCSymbol *Sym)
StubValueTy & getThreadLocalGVStubEntry(MCSymbol *Sym)
SymbolListTy GetGVStubList()
Accessor methods to return the set of stubs in sorted order.
ExprStubListTy getAuthGVStubList()
MachineModuleInfoMachO(const MachineModuleInfo &)
MachineModuleInfoWasm(const MachineModuleInfo &)
SetVector< StringRef > MachineSymbolsUsed
This class contains meta information specific to a module.
A vector that has set insertion semantics.
This is an optimization pass for GlobalISel generic memory operations.