LLVM  14.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 class Constant;
24 class DataLayout;
25 class Function;
26 class GlobalObject;
27 class GlobalValue;
28 class MachineBasicBlock;
29 class MachineModuleInfo;
30 class Mangler;
31 class MCContext;
32 class MCExpr;
33 class MCSection;
34 class MCSymbol;
35 class MCSymbolRefExpr;
36 class MCStreamer;
37 class MCValue;
38 class Module;
39 class SectionKind;
40 class StringRef;
41 class TargetMachine;
42 class DSOLocalEquivalent;
43 
45  /// Name-mangler for global names.
46  Mangler *Mang = nullptr;
47 
48 protected:
53 
54  /// PersonalityEncoding, LSDAEncoding, TTypeEncoding - Some encoding values
55  /// for EH.
56  unsigned PersonalityEncoding = 0;
57  unsigned LSDAEncoding = 0;
58  unsigned TTypeEncoding = 0;
59  unsigned CallSiteEncoding = 0;
60 
61  /// This section contains the static constructor pointer list.
63 
64  /// This section contains the static destructor pointer list.
66 
67  const TargetMachine *TM = nullptr;
68 
69 public:
70  TargetLoweringObjectFile() = default;
73  operator=(const TargetLoweringObjectFile &) = delete;
74  virtual ~TargetLoweringObjectFile();
75 
76  Mangler &getMangler() const { return *Mang; }
77 
78  /// This method must be called before any actual lowering is done. This
79  /// specifies the current context for codegen, and gives the lowering
80  /// implementations a chance to set up their default sections.
81  virtual void Initialize(MCContext &ctx, const TargetMachine &TM);
82 
83  virtual void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM,
84  const MCSymbol *Sym) const;
85 
86  /// Emit the module-level metadata that the platform cares about.
87  virtual void emitModuleMetadata(MCStreamer &Streamer, Module &M) const {}
88 
89  /// Emit Call Graph Profile metadata.
90  void emitCGProfileMetadata(MCStreamer &Streamer, Module &M) const;
91 
92  /// Get the module-level metadata that the platform cares about.
93  virtual void getModuleMetadata(Module &M) {}
94 
95  /// Given a constant with the SectionKind, return a section that it should be
96  /// placed in.
98  SectionKind Kind, const Constant *C,
99  Align &Alignment) const;
100 
101  virtual MCSection *
103  const MachineBasicBlock &MBB,
104  const TargetMachine &TM) const;
105 
106  virtual MCSection *
108  const TargetMachine &TM) const;
109 
110  /// Classify the specified global variable into a set of target independent
111  /// categories embodied in SectionKind.
112  static SectionKind getKindForGlobal(const GlobalObject *GO,
113  const TargetMachine &TM);
114 
115  /// This method computes the appropriate section to emit the specified global
116  /// variable or function definition. This should not be passed external (or
117  /// available externally) globals.
119  const TargetMachine &TM) const;
120 
121  /// This method computes the appropriate section to emit the specified global
122  /// variable or function definition. This should not be passed external (or
123  /// available externally) globals.
125  const TargetMachine &TM) const;
126 
127  virtual void getNameWithPrefix(SmallVectorImpl<char> &OutName,
128  const GlobalValue *GV,
129  const TargetMachine &TM) const;
130 
131  virtual MCSection *getSectionForJumpTable(const Function &F,
132  const TargetMachine &TM) const;
133  virtual MCSection *getSectionForLSDA(const Function &, const MCSymbol &,
134  const TargetMachine &) const {
135  return LSDASection;
136  }
137 
138  virtual bool shouldPutJumpTableInFunctionSection(bool UsesLabelDifference,
139  const Function &F) const;
140 
141  /// Targets should implement this method to assign a section to globals with
142  /// an explicit section specfied. The implementation of this method can
143  /// assume that GO->hasSection() is true.
144  virtual MCSection *
146  const TargetMachine &TM) const = 0;
147 
148  /// Return an MCExpr to use for a reference to the specified global variable
149  /// from exception handling information.
150  virtual const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
151  unsigned Encoding,
152  const TargetMachine &TM,
153  MachineModuleInfo *MMI,
154  MCStreamer &Streamer) const;
155 
156  /// Return the MCSymbol for a private symbol with global value name as its
157  /// base, with the specified suffix.
159  StringRef Suffix,
160  const TargetMachine &TM) const;
161 
162  // The symbol that gets passed to .cfi_personality.
163  virtual MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV,
164  const TargetMachine &TM,
165  MachineModuleInfo *MMI) const;
166 
167  unsigned getPersonalityEncoding() const { return PersonalityEncoding; }
168  unsigned getLSDAEncoding() const { return LSDAEncoding; }
169  unsigned getTTypeEncoding() const { return TTypeEncoding; }
170  unsigned getCallSiteEncoding() const;
171 
172  const MCExpr *getTTypeReference(const MCSymbolRefExpr *Sym, unsigned Encoding,
173  MCStreamer &Streamer) const;
174 
175  virtual MCSection *getStaticCtorSection(unsigned Priority,
176  const MCSymbol *KeySym) const {
177  return StaticCtorSection;
178  }
179 
180  virtual MCSection *getStaticDtorSection(unsigned Priority,
181  const MCSymbol *KeySym) const {
182  return StaticDtorSection;
183  }
184 
185  /// Create a symbol reference to describe the given TLS variable when
186  /// emitting the address in debug info.
187  virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
188 
189  virtual const MCExpr *lowerRelativeReference(const GlobalValue *LHS,
190  const GlobalValue *RHS,
191  const TargetMachine &TM) const {
192  return nullptr;
193  }
194 
195  /// Target supports a native lowering of a dso_local_equivalent constant
196  /// without needing to replace it with equivalent IR.
199  }
200 
201  virtual const MCExpr *lowerDSOLocalEquivalent(const DSOLocalEquivalent *Equiv,
202  const TargetMachine &TM) const {
203  return nullptr;
204  }
205 
206  /// Target supports replacing a data "PC"-relative access to a symbol
207  /// through another symbol, by accessing the later via a GOT entry instead?
210  }
211 
212  /// Target GOT "PC"-relative relocation supports encoding an additional
213  /// binary expression with an offset?
216  }
217 
218  /// Target supports TLS offset relocation in debug section?
221  }
222 
223  /// Returns the register used as static base in RWPI variants.
224  virtual const MCRegister getStaticBase() const { return MCRegister::NoRegister; }
225 
226  /// Get the target specific RWPI relocation.
227  virtual const MCExpr *getIndirectSymViaRWPI(const MCSymbol *Sym) const {
228  return nullptr;
229  }
230 
231  /// Get the target specific PC relative GOT entry relocation
232  virtual const MCExpr *getIndirectSymViaGOTPCRel(const GlobalValue *GV,
233  const MCSymbol *Sym,
234  const MCValue &MV,
235  int64_t Offset,
236  MachineModuleInfo *MMI,
237  MCStreamer &Streamer) const {
238  return nullptr;
239  }
240 
241  /// If supported, return the section to use for the llvm.commandline
242  /// metadata. Otherwise, return nullptr.
244  return nullptr;
245  }
246 
247  /// On targets that use separate function descriptor symbols, return a section
248  /// for the descriptor given its symbol. Use only with defined functions.
249  virtual MCSection *
251  const TargetMachine &TM) const {
252  return nullptr;
253  }
254 
255  /// On targets that support TOC entries, return a section for the entry given
256  /// the symbol it refers to.
257  /// TODO: Implement this interface for existing ELF targets.
259  const TargetMachine &TM) const {
260  return nullptr;
261  }
262 
263  /// On targets that associate external references with a section, return such
264  /// a section for the given external global.
265  virtual MCSection *
267  const TargetMachine &TM) const {
268  return nullptr;
269  }
270 
271  /// Targets that have a special convention for their symbols could use
272  /// this hook to return a specialized symbol.
274  const TargetMachine &TM) const {
275  return nullptr;
276  }
277 
278  /// If supported, return the function entry point symbol.
279  /// Otherwise, returns nulltpr.
280  /// Func must be a function or an alias which has a function as base object.
282  const TargetMachine &TM) const {
283  return nullptr;
284  }
285 
286 protected:
287  virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
289  const TargetMachine &TM) const = 0;
290 };
291 
292 } // end namespace llvm
293 
294 #endif // LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
llvm::TargetLoweringObjectFile::getStaticDtorSection
virtual MCSection * getStaticDtorSection(unsigned Priority, const MCSymbol *KeySym) const
Definition: TargetLoweringObjectFile.h:180
llvm::TargetLoweringObjectFile::StaticDtorSection
MCSection * StaticDtorSection
This section contains the static destructor pointer list.
Definition: TargetLoweringObjectFile.h:65
llvm::TargetLoweringObjectFile::getStaticBase
virtual const MCRegister getStaticBase() const
Returns the register used as static base in RWPI variants.
Definition: TargetLoweringObjectFile.h:224
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
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:433
llvm::MCContext
Context object for machine code objects.
Definition: MCContext.h:72
llvm::Function
Definition: Function.h:62
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:129
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:316
llvm::TargetLoweringObjectFile::lowerRelativeReference
virtual const MCExpr * lowerRelativeReference(const GlobalValue *LHS, const GlobalValue *RHS, const TargetMachine &TM) const
Definition: TargetLoweringObjectFile.h:189
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:427
MCObjectFileInfo.h
llvm::TargetLoweringObjectFile::getIndirectSymViaRWPI
virtual const MCExpr * getIndirectSymViaRWPI(const MCSymbol *Sym) const
Get the target specific RWPI relocation.
Definition: TargetLoweringObjectFile.h:227
llvm::TargetLoweringObjectFile::getStaticCtorSection
virtual MCSection * getStaticCtorSection(unsigned Priority, const MCSymbol *KeySym) const
Definition: TargetLoweringObjectFile.h:175
llvm::MCRegister::NoRegister
static constexpr unsigned NoRegister
Definition: MCRegister.h:43
Offset
uint64_t Offset
Definition: ELFObjHandler.cpp:81
llvm::TargetLoweringObjectFile::StaticCtorSection
MCSection * StaticCtorSection
This section contains the static constructor pointer list.
Definition: TargetLoweringObjectFile.h:62
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:273
llvm::TargetLoweringObjectFile::CallSiteEncoding
unsigned CallSiteEncoding
Definition: TargetLoweringObjectFile.h:59
F
#define F(x, y, z)
Definition: MD5.cpp:56
llvm::TargetLoweringObjectFile
Definition: TargetLoweringObjectFile.h:44
llvm::MCStreamer
Streaming machine code generation interface.
Definition: MCStreamer.h:199
llvm::TargetLoweringObjectFile::lowerDSOLocalEquivalent
virtual const MCExpr * lowerDSOLocalEquivalent(const DSOLocalEquivalent *Equiv, const TargetMachine &TM) const
Definition: TargetLoweringObjectFile.h:201
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:71
llvm::TargetLoweringObjectFile::getSectionForCommandLines
virtual MCSection * getSectionForCommandLines() const
If supported, return the section to use for the llvm.commandline metadata.
Definition: TargetLoweringObjectFile.h:243
llvm::TargetLoweringObjectFile::getTTypeEncoding
unsigned getTTypeEncoding() const
Definition: TargetLoweringObjectFile.h:169
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:51
llvm::GlobalObject
Definition: GlobalObject.h:28
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:266
llvm::MachineModuleInfo
This class contains meta information specific to a module.
Definition: MachineModuleInfo.h:78
llvm::TargetLoweringObjectFile::emitCGProfileMetadata
void emitCGProfileMetadata(MCStreamer &Streamer, Module &M) const
Emit Call Graph Profile metadata.
Definition: TargetLoweringObjectFile.cpp:151
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:42
llvm::TargetLoweringObjectFile::getModuleMetadata
virtual void getModuleMetadata(Module &M)
Get the module-level metadata that the platform cares about.
Definition: TargetLoweringObjectFile.h:93
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:350
llvm::lltok::Kind
Kind
Definition: LLToken.h:18
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:202
MCRegister.h
llvm::MachineBasicBlock
Definition: MachineBasicBlock.h:95
llvm::TargetLoweringObjectFile::getFunctionEntryPointSymbol
virtual MCSymbol * getFunctionEntryPointSymbol(const GlobalValue *Func, const TargetMachine &TM) const
If supported, return the function entry point symbol.
Definition: TargetLoweringObjectFile.h:281
llvm::TargetLoweringObjectFile::emitPersonalityValue
virtual void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM, const MCSymbol *Sym) const
Definition: TargetLoweringObjectFile.cpp:146
llvm::TargetLoweringObjectFile::getSectionForLSDA
virtual MCSection * getSectionForLSDA(const Function &, const MCSymbol &, const TargetMachine &) const
Definition: TargetLoweringObjectFile.h:133
llvm::TargetLoweringObjectFile::TM
const TargetMachine * TM
Definition: TargetLoweringObjectFile.h:67
llvm::TargetLoweringObjectFile::getCallSiteEncoding
unsigned getCallSiteEncoding() const
Definition: TargetLoweringObjectFile.cpp:61
llvm::TargetLoweringObjectFile::SupportIndirectSymViaGOTPCRel
bool SupportIndirectSymViaGOTPCRel
Definition: TargetLoweringObjectFile.h:49
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:214
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:167
llvm::TargetLoweringObjectFile::supportIndirectSymViaGOTPCRel
bool supportIndirectSymViaGOTPCRel() const
Target supports replacing a data "PC"-relative access to a symbol through another symbol,...
Definition: TargetLoweringObjectFile.h:208
llvm::TargetLoweringObjectFile::supportDebugThreadLocalLocation
bool supportDebugThreadLocalLocation() const
Target supports TLS offset relocation in debug section?
Definition: TargetLoweringObjectFile.h:219
llvm::TargetLoweringObjectFile::getTTypeReference
const MCExpr * getTTypeReference(const MCSymbolRefExpr *Sym, unsigned Encoding, MCStreamer &Streamer) const
Definition: TargetLoweringObjectFile.cpp:408
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:232
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition: TargetMachine.h:79
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:197
llvm::Module
A Module instance is used to store all the information related to an LLVM module.
Definition: Module.h:67
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:358
llvm::TargetLoweringObjectFile::~TargetLoweringObjectFile
virtual ~TargetLoweringObjectFile()
Definition: TargetLoweringObjectFile.cpp:57
llvm::ReplayInlineScope::Function
@ Function
llvm::TargetLoweringObjectFile::getMangler
Mangler & getMangler() const
Definition: TargetLoweringObjectFile.h:76
llvm::TargetLoweringObjectFile::getLSDAEncoding
unsigned getLSDAEncoding() const
Definition: TargetLoweringObjectFile.h:168
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:58
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:384
llvm::TargetLoweringObjectFile::emitModuleMetadata
virtual void emitModuleMetadata(MCStreamer &Streamer, Module &M) const
Emit the module-level metadata that the platform cares about.
Definition: TargetLoweringObjectFile.h:87
llvm::TargetLoweringObjectFile::PersonalityEncoding
unsigned PersonalityEncoding
PersonalityEncoding, LSDAEncoding, TTypeEncoding - Some encoding values for EH.
Definition: TargetLoweringObjectFile.h:56
llvm::TargetLoweringObjectFile::getUniqueSectionForFunction
virtual MCSection * getUniqueSectionForFunction(const Function &F, const TargetMachine &TM) const
Definition: TargetLoweringObjectFile.cpp:390
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:375
llvm::TargetLoweringObjectFile::LSDAEncoding
unsigned LSDAEncoding
Definition: TargetLoweringObjectFile.h:57
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:258
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:250
llvm::TargetLoweringObjectFile::SupportGOTPCRelWithOffset
bool SupportGOTPCRelWithOffset
Definition: TargetLoweringObjectFile.h:50
llvm::TargetLoweringObjectFile::getCFIPersonalitySymbol
virtual MCSymbol * getCFIPersonalitySymbol(const GlobalValue *GV, const TargetMachine &TM, MachineModuleInfo *MMI) const
Definition: TargetLoweringObjectFile.cpp:140
llvm::SmallVectorImpl< char >
llvm::TargetLoweringObjectFile::TTypeEncoding
unsigned TTypeEncoding
Definition: TargetLoweringObjectFile.h:58
llvm::MCValue
This represents an "assembler immediate".
Definition: MCValue.h:37
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:52
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:398
llvm::DSOLocalEquivalent
Wrapper for a function that represents a value that functionally represents the original function.
Definition: Constants.h:894
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:26
llvm::ISD::MCSymbol
@ MCSymbol
Definition: ISDOpcodes.h:172
llvm::MCRegister
Wrapper class representing physical registers. Should be passed by value.
Definition: MCRegister.h:24