LLVM  16.0.0git
TargetLoweringObjectFile.h
Go to the documentation of this file.
1 //===-- llvm/Target/TargetLoweringObjectFile.h - Object Info ----*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file implements classes used to handle lowerings specific to common
10 // object file formats.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
15 #define LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
16 
18 #include "llvm/MC/MCRegister.h"
19 #include <cstdint>
20 
21 namespace llvm {
22 
23 struct Align;
24 class Constant;
25 class DataLayout;
26 class Function;
27 class GlobalObject;
28 class GlobalValue;
29 class MachineBasicBlock;
30 class MachineModuleInfo;
31 class Mangler;
32 class MCContext;
33 class MCExpr;
34 class MCSection;
35 class MCSymbol;
36 class MCSymbolRefExpr;
37 class MCStreamer;
38 class MCValue;
39 class Module;
40 class SectionKind;
41 class StringRef;
42 class TargetMachine;
43 class DSOLocalEquivalent;
44 
46  /// Name-mangler for global names.
47  Mangler *Mang = nullptr;
48 
49 protected:
54 
55  /// PersonalityEncoding, LSDAEncoding, TTypeEncoding - Some encoding values
56  /// for EH.
57  unsigned PersonalityEncoding = 0;
58  unsigned LSDAEncoding = 0;
59  unsigned TTypeEncoding = 0;
60  unsigned CallSiteEncoding = 0;
61 
62  /// This section contains the static constructor pointer list.
64 
65  /// This section contains the static destructor pointer list.
67 
68  const TargetMachine *TM = nullptr;
69 
70 public:
71  TargetLoweringObjectFile() = default;
74  operator=(const TargetLoweringObjectFile &) = delete;
75  virtual ~TargetLoweringObjectFile();
76 
77  Mangler &getMangler() const { return *Mang; }
78 
79  /// This method must be called before any actual lowering is done. This
80  /// specifies the current context for codegen, and gives the lowering
81  /// implementations a chance to set up their default sections.
82  virtual void Initialize(MCContext &ctx, const TargetMachine &TM);
83 
84  virtual void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM,
85  const MCSymbol *Sym) const;
86 
87  /// Emit the module-level metadata that the platform cares about.
88  virtual void emitModuleMetadata(MCStreamer &Streamer, Module &M) const {}
89 
90  /// Emit Call Graph Profile metadata.
91  void emitCGProfileMetadata(MCStreamer &Streamer, Module &M) const;
92 
93  /// Get the module-level metadata that the platform cares about.
94  virtual void getModuleMetadata(Module &M) {}
95 
96  /// Given a constant with the SectionKind, return a section that it should be
97  /// placed in.
99  SectionKind Kind, const Constant *C,
100  Align &Alignment) const;
101 
102  virtual MCSection *
104  const MachineBasicBlock &MBB,
105  const TargetMachine &TM) const;
106 
107  virtual MCSection *
109  const TargetMachine &TM) const;
110 
111  /// Classify the specified global variable into a set of target independent
112  /// categories embodied in SectionKind.
113  static SectionKind getKindForGlobal(const GlobalObject *GO,
114  const TargetMachine &TM);
115 
116  /// This method computes the appropriate section to emit the specified global
117  /// variable or function definition. This should not be passed external (or
118  /// available externally) globals.
120  const TargetMachine &TM) const;
121 
122  /// This method computes the appropriate section to emit the specified global
123  /// variable or function definition. This should not be passed external (or
124  /// available externally) globals.
126  const TargetMachine &TM) const;
127 
128  virtual void getNameWithPrefix(SmallVectorImpl<char> &OutName,
129  const GlobalValue *GV,
130  const TargetMachine &TM) const;
131 
132  virtual MCSection *getSectionForJumpTable(const Function &F,
133  const TargetMachine &TM) const;
134  virtual MCSection *getSectionForLSDA(const Function &, const MCSymbol &,
135  const TargetMachine &) const {
136  return LSDASection;
137  }
138 
139  virtual bool shouldPutJumpTableInFunctionSection(bool UsesLabelDifference,
140  const Function &F) const;
141 
142  /// Targets should implement this method to assign a section to globals with
143  /// an explicit section specfied. The implementation of this method can
144  /// assume that GO->hasSection() is true.
145  virtual MCSection *
147  const TargetMachine &TM) const = 0;
148 
149  /// Return an MCExpr to use for a reference to the specified global variable
150  /// from exception handling information.
151  virtual const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
152  unsigned Encoding,
153  const TargetMachine &TM,
154  MachineModuleInfo *MMI,
155  MCStreamer &Streamer) const;
156 
157  /// Return the MCSymbol for a private symbol with global value name as its
158  /// base, with the specified suffix.
160  StringRef Suffix,
161  const TargetMachine &TM) const;
162 
163  // The symbol that gets passed to .cfi_personality.
164  virtual MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV,
165  const TargetMachine &TM,
166  MachineModuleInfo *MMI) const;
167 
168  unsigned getPersonalityEncoding() const { return PersonalityEncoding; }
169  unsigned getLSDAEncoding() const { return LSDAEncoding; }
170  unsigned getTTypeEncoding() const { return TTypeEncoding; }
171  unsigned getCallSiteEncoding() const;
172 
173  const MCExpr *getTTypeReference(const MCSymbolRefExpr *Sym, unsigned Encoding,
174  MCStreamer &Streamer) const;
175 
176  virtual MCSection *getStaticCtorSection(unsigned Priority,
177  const MCSymbol *KeySym) const {
178  return StaticCtorSection;
179  }
180 
181  virtual MCSection *getStaticDtorSection(unsigned Priority,
182  const MCSymbol *KeySym) const {
183  return StaticDtorSection;
184  }
185 
186  /// Create a symbol reference to describe the given TLS variable when
187  /// emitting the address in debug info.
188  virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
189 
191  const GlobalValue *RHS,
192  const TargetMachine &TM) const {
193  return nullptr;
194  }
195 
196  /// Target supports a native lowering of a dso_local_equivalent constant
197  /// without needing to replace it with equivalent IR.
200  }
201 
202  virtual const MCExpr *lowerDSOLocalEquivalent(const DSOLocalEquivalent *Equiv,
203  const TargetMachine &TM) const {
204  return nullptr;
205  }
206 
207  /// Target supports replacing a data "PC"-relative access to a symbol
208  /// through another symbol, by accessing the later via a GOT entry instead?
211  }
212 
213  /// Target GOT "PC"-relative relocation supports encoding an additional
214  /// binary expression with an offset?
217  }
218 
219  /// Target supports TLS offset relocation in debug section?
222  }
223 
224  /// Returns the register used as static base in RWPI variants.
225  virtual MCRegister getStaticBase() const { return MCRegister::NoRegister; }
226 
227  /// Get the target specific RWPI relocation.
228  virtual const MCExpr *getIndirectSymViaRWPI(const MCSymbol *Sym) const {
229  return nullptr;
230  }
231 
232  /// Get the target specific PC relative GOT entry relocation
233  virtual const MCExpr *getIndirectSymViaGOTPCRel(const GlobalValue *GV,
234  const MCSymbol *Sym,
235  const MCValue &MV,
236  int64_t Offset,
237  MachineModuleInfo *MMI,
238  MCStreamer &Streamer) const {
239  return nullptr;
240  }
241 
242  /// If supported, return the section to use for the llvm.commandline
243  /// metadata. Otherwise, return nullptr.
245  return nullptr;
246  }
247 
248  /// On targets that use separate function descriptor symbols, return a section
249  /// for the descriptor given its symbol. Use only with defined functions.
250  virtual MCSection *
252  const TargetMachine &TM) const {
253  return nullptr;
254  }
255 
256  /// On targets that support TOC entries, return a section for the entry given
257  /// the symbol it refers to.
258  /// TODO: Implement this interface for existing ELF targets.
260  const TargetMachine &TM) const {
261  return nullptr;
262  }
263 
264  /// On targets that associate external references with a section, return such
265  /// a section for the given external global.
266  virtual MCSection *
268  const TargetMachine &TM) const {
269  return nullptr;
270  }
271 
272  /// Targets that have a special convention for their symbols could use
273  /// this hook to return a specialized symbol.
275  const TargetMachine &TM) const {
276  return nullptr;
277  }
278 
279  /// If supported, return the function entry point symbol.
280  /// Otherwise, returns nullptr.
281  /// Func must be a function or an alias which has a function as base object.
283  const TargetMachine &TM) const {
284  return nullptr;
285  }
286 
287 protected:
288  virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
289  SectionKind Kind,
290  const TargetMachine &TM) const = 0;
291 };
292 
293 } // end namespace llvm
294 
295 #endif // LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
llvm::TargetLoweringObjectFile::getStaticDtorSection
virtual MCSection * getStaticDtorSection(unsigned Priority, const MCSymbol *KeySym) const
Definition: TargetLoweringObjectFile.h:181
llvm::TargetLoweringObjectFile::StaticDtorSection
MCSection * StaticDtorSection
This section contains the static destructor pointer list.
Definition: TargetLoweringObjectFile.h:66
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::MCSymbol
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
llvm::DataLayout
A parsed version of the target data layout string in and methods for querying it.
Definition: DataLayout.h:113
llvm::TargetLoweringObjectFile::getNameWithPrefix
virtual void getNameWithPrefix(SmallVectorImpl< char > &OutName, const GlobalValue *GV, const TargetMachine &TM) const
Definition: TargetLoweringObjectFile.cpp:438
llvm::MCContext
Context object for machine code objects.
Definition: MCContext.h:76
llvm::Function
Definition: Function.h:60
llvm::TargetLoweringObjectFile::getSymbolWithGlobalValueBase
MCSymbol * getSymbolWithGlobalValueBase(const GlobalValue *GV, StringRef Suffix, const TargetMachine &TM) const
Return the MCSymbol for a private symbol with global value name as its base, with the specified suffi...
Definition: TargetLoweringObjectFile.cpp:127
llvm::TargetLoweringObjectFile::SectionForGlobal
MCSection * SectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const
This method computes the appropriate section to emit the specified global variable or function defini...
Definition: TargetLoweringObjectFile.cpp:321
llvm::TargetLoweringObjectFile::lowerRelativeReference
virtual const MCExpr * lowerRelativeReference(const GlobalValue *LHS, const GlobalValue *RHS, const TargetMachine &TM) const
Definition: TargetLoweringObjectFile.h:190
llvm::TargetLoweringObjectFile::getDebugThreadLocalSymbol
virtual const MCExpr * getDebugThreadLocalSymbol(const MCSymbol *Sym) const
Create a symbol reference to describe the given TLS variable when emitting the address in debug info.
Definition: TargetLoweringObjectFile.cpp:432
MCObjectFileInfo.h
llvm::TargetLoweringObjectFile::getIndirectSymViaRWPI
virtual const MCExpr * getIndirectSymViaRWPI(const MCSymbol *Sym) const
Get the target specific RWPI relocation.
Definition: TargetLoweringObjectFile.h:228
llvm::TargetLoweringObjectFile::getStaticCtorSection
virtual MCSection * getStaticCtorSection(unsigned Priority, const MCSymbol *KeySym) const
Definition: TargetLoweringObjectFile.h:176
llvm::MCRegister::NoRegister
static constexpr unsigned NoRegister
Definition: MCRegister.h:43
llvm::TargetLoweringObjectFile::StaticCtorSection
MCSection * StaticCtorSection
This section contains the static constructor pointer list.
Definition: TargetLoweringObjectFile.h:63
RHS
Value * RHS
Definition: X86PartialReduction.cpp:76
llvm::Mangler
Definition: Mangler.h:27
llvm::TargetLoweringObjectFile::getTargetSymbol
virtual MCSymbol * getTargetSymbol(const GlobalValue *GV, const TargetMachine &TM) const
Targets that have a special convention for their symbols could use this hook to return a specialized ...
Definition: TargetLoweringObjectFile.h:274
llvm::TargetLoweringObjectFile::CallSiteEncoding
unsigned CallSiteEncoding
Definition: TargetLoweringObjectFile.h:60
F
#define F(x, y, z)
Definition: MD5.cpp:55
llvm::TargetLoweringObjectFile
Definition: TargetLoweringObjectFile.h:45
llvm::MCStreamer
Streaming machine code generation interface.
Definition: MCStreamer.h:212
llvm::TargetLoweringObjectFile::lowerDSOLocalEquivalent
virtual const MCExpr * lowerDSOLocalEquivalent(const DSOLocalEquivalent *Equiv, const TargetMachine &TM) const
Definition: TargetLoweringObjectFile.h:202
LHS
Value * LHS
Definition: X86PartialReduction.cpp:75
llvm::MCObjectFileInfo::LSDASection
MCSection * LSDASection
If exception handling is supported by the target, this is the section the Language Specific Data Area...
Definition: MCObjectFileInfo.h:73
llvm::TargetLoweringObjectFile::getSectionForCommandLines
virtual MCSection * getSectionForCommandLines() const
If supported, return the section to use for the llvm.commandline metadata.
Definition: TargetLoweringObjectFile.h:244
llvm::TargetLoweringObjectFile::getTTypeEncoding
unsigned getTTypeEncoding() const
Definition: TargetLoweringObjectFile.h:170
llvm::ISD::Constant
@ Constant
Definition: ISDOpcodes.h:76
llvm::TargetLoweringObjectFile::operator=
TargetLoweringObjectFile & operator=(const TargetLoweringObjectFile &)=delete
C
(vector float) vec_cmpeq(*A, *B) C
Definition: README_ALTIVEC.txt:86
llvm::TargetLoweringObjectFile::SupportDebugThreadLocalLocation
bool SupportDebugThreadLocalLocation
Definition: TargetLoweringObjectFile.h:52
llvm::GlobalObject
Definition: GlobalObject.h:27
llvm::TargetLoweringObjectFile::getSectionForExternalReference
virtual MCSection * getSectionForExternalReference(const GlobalObject *GO, const TargetMachine &TM) const
On targets that associate external references with a section, return such a section for the given ext...
Definition: TargetLoweringObjectFile.h:267
llvm::MachineModuleInfo
This class contains meta information specific to a module.
Definition: MachineModuleInfo.h:74
llvm::TargetLoweringObjectFile::emitCGProfileMetadata
void emitCGProfileMetadata(MCStreamer &Streamer, Module &M) const
Emit Call Graph Profile metadata.
Definition: TargetLoweringObjectFile.cpp:149
llvm::TargetLoweringObjectFile::Initialize
virtual void Initialize(MCContext &ctx, const TargetMachine &TM)
This method must be called before any actual lowering is done.
Definition: TargetLoweringObjectFile.cpp:40
llvm::TargetLoweringObjectFile::getModuleMetadata
virtual void getModuleMetadata(Module &M)
Get the module-level metadata that the platform cares about.
Definition: TargetLoweringObjectFile.h:94
Align
uint64_t Align
Definition: ELFObjHandler.cpp:82
llvm::Align
This struct is a compact representation of a valid (non-zero power of two) alignment.
Definition: Alignment.h:39
llvm::TargetLoweringObjectFile::getSectionForJumpTable
virtual MCSection * getSectionForJumpTable(const Function &F, const TargetMachine &TM) const
Definition: TargetLoweringObjectFile.cpp:355
llvm::TargetLoweringObjectFile::getKindForGlobal
static SectionKind getKindForGlobal(const GlobalObject *GO, const TargetMachine &TM)
Classify the specified global variable into a set of target independent categories embodied in Sectio...
Definition: TargetLoweringObjectFile.cpp:200
MCRegister.h
llvm::MachineBasicBlock
Definition: MachineBasicBlock.h:94
llvm::TargetLoweringObjectFile::getFunctionEntryPointSymbol
virtual MCSymbol * getFunctionEntryPointSymbol(const GlobalValue *Func, const TargetMachine &TM) const
If supported, return the function entry point symbol.
Definition: TargetLoweringObjectFile.h:282
llvm::TargetLoweringObjectFile::emitPersonalityValue
virtual void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM, const MCSymbol *Sym) const
Definition: TargetLoweringObjectFile.cpp:144
llvm::TargetLoweringObjectFile::getSectionForLSDA
virtual MCSection * getSectionForLSDA(const Function &, const MCSymbol &, const TargetMachine &) const
Definition: TargetLoweringObjectFile.h:134
llvm::TargetLoweringObjectFile::TM
const TargetMachine * TM
Definition: TargetLoweringObjectFile.h:68
llvm::TargetLoweringObjectFile::getCallSiteEncoding
unsigned getCallSiteEncoding() const
Definition: TargetLoweringObjectFile.cpp:59
llvm::TargetLoweringObjectFile::SupportIndirectSymViaGOTPCRel
bool SupportIndirectSymViaGOTPCRel
Definition: TargetLoweringObjectFile.h:50
llvm::GlobalValue
Definition: GlobalValue.h:44
llvm::Constant
This is an important base class in LLVM.
Definition: Constant.h:41
llvm::TargetLoweringObjectFile::supportGOTPCRelWithOffset
bool supportGOTPCRelWithOffset() const
Target GOT "PC"-relative relocation supports encoding an additional binary expression with an offset?
Definition: TargetLoweringObjectFile.h:215
llvm::TargetLoweringObjectFile::SelectSectionForGlobal
virtual MCSection * SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const =0
llvm::TargetLoweringObjectFile::getPersonalityEncoding
unsigned getPersonalityEncoding() const
Definition: TargetLoweringObjectFile.h:168
llvm::TargetLoweringObjectFile::supportIndirectSymViaGOTPCRel
bool supportIndirectSymViaGOTPCRel() const
Target supports replacing a data "PC"-relative access to a symbol through another symbol,...
Definition: TargetLoweringObjectFile.h:209
llvm::TargetLoweringObjectFile::supportDebugThreadLocalLocation
bool supportDebugThreadLocalLocation() const
Target supports TLS offset relocation in debug section?
Definition: TargetLoweringObjectFile.h:220
llvm::TargetLoweringObjectFile::getTTypeReference
const MCExpr * getTTypeReference(const MCSymbolRefExpr *Sym, unsigned Encoding, MCStreamer &Streamer) const
Definition: TargetLoweringObjectFile.cpp:413
llvm::TargetLoweringObjectFile::getIndirectSymViaGOTPCRel
virtual const MCExpr * getIndirectSymViaGOTPCRel(const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const
Get the target specific PC relative GOT entry relocation.
Definition: TargetLoweringObjectFile.h:233
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition: TargetMachine.h:77
llvm::TargetLoweringObjectFile::supportDSOLocalEquivalentLowering
bool supportDSOLocalEquivalentLowering() const
Target supports a native lowering of a dso_local_equivalent constant without needing to replace it wi...
Definition: TargetLoweringObjectFile.h:198
llvm::Module
A Module instance is used to store all the information related to an LLVM module.
Definition: Module.h:65
llvm::MCSymbolRefExpr
Represent a reference to a symbol from inside an expression.
Definition: MCExpr.h:192
llvm::TargetLoweringObjectFile::shouldPutJumpTableInFunctionSection
virtual bool shouldPutJumpTableInFunctionSection(bool UsesLabelDifference, const Function &F) const
Definition: TargetLoweringObjectFile.cpp:363
llvm::TargetLoweringObjectFile::~TargetLoweringObjectFile
virtual ~TargetLoweringObjectFile()
Definition: TargetLoweringObjectFile.cpp:55
llvm::TargetLoweringObjectFile::getMangler
Mangler & getMangler() const
Definition: TargetLoweringObjectFile.h:77
llvm::TargetLoweringObjectFile::getLSDAEncoding
unsigned getLSDAEncoding() const
Definition: TargetLoweringObjectFile.h:169
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:50
llvm::TargetLoweringObjectFile::TargetLoweringObjectFile
TargetLoweringObjectFile()=default
DL
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
Definition: AArch64SLSHardening.cpp:76
llvm::MCSection
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition: MCSection.h:39
S
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
Definition: README.txt:210
Module
Machine Check Debug Module
Definition: MachineCheckDebugify.cpp:122
llvm::TargetLoweringObjectFile::getSectionForMachineBasicBlock
virtual MCSection * getSectionForMachineBasicBlock(const Function &F, const MachineBasicBlock &MBB, const TargetMachine &TM) const
Definition: TargetLoweringObjectFile.cpp:389
llvm::TargetLoweringObjectFile::emitModuleMetadata
virtual void emitModuleMetadata(MCStreamer &Streamer, Module &M) const
Emit the module-level metadata that the platform cares about.
Definition: TargetLoweringObjectFile.h:88
llvm::TargetLoweringObjectFile::getStaticBase
virtual MCRegister getStaticBase() const
Returns the register used as static base in RWPI variants.
Definition: TargetLoweringObjectFile.h:225
llvm::TargetLoweringObjectFile::PersonalityEncoding
unsigned PersonalityEncoding
PersonalityEncoding, LSDAEncoding, TTypeEncoding - Some encoding values for EH.
Definition: TargetLoweringObjectFile.h:57
llvm::TargetLoweringObjectFile::getUniqueSectionForFunction
virtual MCSection * getUniqueSectionForFunction(const Function &F, const TargetMachine &TM) const
Definition: TargetLoweringObjectFile.cpp:395
MBB
MachineBasicBlock & MBB
Definition: AArch64SLSHardening.cpp:74
llvm::SectionKind
SectionKind - This is a simple POD value that classifies the properties of a section.
Definition: SectionKind.h:22
llvm::TargetLoweringObjectFile::getSectionForConstant
virtual MCSection * getSectionForConstant(const DataLayout &DL, SectionKind Kind, const Constant *C, Align &Alignment) const
Given a constant with the SectionKind, return a section that it should be placed in.
Definition: TargetLoweringObjectFile.cpp:380
llvm::TargetLoweringObjectFile::LSDAEncoding
unsigned LSDAEncoding
Definition: TargetLoweringObjectFile.h:58
llvm::TargetLoweringObjectFile::getSectionForTOCEntry
virtual MCSection * getSectionForTOCEntry(const MCSymbol *S, const TargetMachine &TM) const
On targets that support TOC entries, return a section for the entry given the symbol it refers to.
Definition: TargetLoweringObjectFile.h:259
llvm::TargetLoweringObjectFile::getSectionForFunctionDescriptor
virtual MCSection * getSectionForFunctionDescriptor(const Function *F, const TargetMachine &TM) const
On targets that use separate function descriptor symbols, return a section for the descriptor given i...
Definition: TargetLoweringObjectFile.h:251
llvm::TargetLoweringObjectFile::SupportGOTPCRelWithOffset
bool SupportGOTPCRelWithOffset
Definition: TargetLoweringObjectFile.h:51
llvm::TargetLoweringObjectFile::getCFIPersonalitySymbol
virtual MCSymbol * getCFIPersonalitySymbol(const GlobalValue *GV, const TargetMachine &TM, MachineModuleInfo *MMI) const
Definition: TargetLoweringObjectFile.cpp:138
llvm::SmallVectorImpl< char >
llvm::TargetLoweringObjectFile::TTypeEncoding
unsigned TTypeEncoding
Definition: TargetLoweringObjectFile.h:59
llvm::MCValue
This represents an "assembler immediate".
Definition: MCValue.h:36
llvm::TargetLoweringObjectFile::getExplicitSectionGlobal
virtual MCSection * getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const =0
Targets should implement this method to assign a section to globals with an explicit section specfied...
llvm::TargetLoweringObjectFile::SupportDSOLocalEquivalentLowering
bool SupportDSOLocalEquivalentLowering
Definition: TargetLoweringObjectFile.h:53
llvm::TargetLoweringObjectFile::getTTypeGlobalReference
virtual const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const
Return an MCExpr to use for a reference to the specified global variable from exception handling info...
Definition: TargetLoweringObjectFile.cpp:403
llvm::DSOLocalEquivalent
Wrapper for a function that represents a value that functionally represents the original function.
Definition: Constants.h:895
llvm::MCExpr
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:35
llvm::MCObjectFileInfo
Definition: MCObjectFileInfo.h:28
llvm::codeview::PublicSymFlags::Function
@ Function
llvm::ISD::MCSymbol
@ MCSymbol
Definition: ISDOpcodes.h:172
llvm::MCRegister
Wrapper class representing physical registers. Should be passed by value.
Definition: MCRegister.h:24