LLVM 24.0.0git
SparcTargetObjectFile.h
Go to the documentation of this file.
1//===-- SparcTargetObjectFile.h - Sparc 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#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
10#define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
11
13
14namespace llvm {
15
16class MCContext;
17class TargetMachine;
18
20public:
22
23 void initialize(MCContext &Ctx, const TargetMachine &TM,
24 const Module &M) override;
25
27 unsigned Encoding,
28 const TargetMachine &TM,
30 MCStreamer &Streamer) const override;
31
32 const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
33};
34
35} // end namespace llvm
36
37#endif
std::unique_ptr< MCStreamer > && Streamer
Context object for machine code objects.
Definition MCContext.h:84
Base class for the full range of assembler expressions which are needed for parsing.
Definition MCExpr.h:34
Streaming machine code generation interface.
Definition MCStreamer.h:222
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition MCSymbol.h:42
This class contains meta information specific to a module.
A Module instance is used to store all the information related to an LLVM module.
Definition Module.h:68
void initialize(MCContext &Ctx, const TargetMachine &TM, const Module &M) override
This method must be called before any actual lowering is done.
const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const override
Return an MCExpr to use for a reference to the specified global variable from exception handling info...
const MCExpr * getDebugThreadLocalSymbol(const MCSymbol *Sym) const override
Create a symbol reference to describe the given TLS variable when emitting the address in debug info.
Primary interface to the complete machine description for the target machine.
This is an optimization pass for GlobalISel generic memory operations.