LLVM  13.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 
14 namespace llvm {
15 
16 class MCContext;
17 class TargetMachine;
18 
20 public:
23  {}
24 
25  void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
26 
28  unsigned Encoding,
29  const TargetMachine &TM,
30  MachineModuleInfo *MMI,
31  MCStreamer &Streamer) const override;
32 };
33 
34 } // end namespace llvm
35 
36 #endif
llvm
Definition: AllocatorList.h:23
llvm::MCContext
Context object for machine code objects.
Definition: MCContext.h:71
llvm::TargetLoweringObjectFileELF
Definition: TargetLoweringObjectFileImpl.h:33
llvm::MCStreamer
Streaming machine code generation interface.
Definition: MCStreamer.h:197
llvm::SparcELFTargetObjectFile
Definition: SparcTargetObjectFile.h:19
llvm::MachineModuleInfo
This class contains meta information specific to a module.
Definition: MachineModuleInfo.h:78
llvm::TargetLoweringObjectFile::TM
const TargetMachine * TM
Definition: TargetLoweringObjectFile.h:66
llvm::GlobalValue
Definition: GlobalValue.h:44
llvm::SparcELFTargetObjectFile::SparcELFTargetObjectFile
SparcELFTargetObjectFile()
Definition: SparcTargetObjectFile.h:21
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition: TargetMachine.h:77
llvm::SparcELFTargetObjectFile::Initialize
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Definition: SparcTargetObjectFile.cpp:18
llvm::SparcELFTargetObjectFile::getTTypeGlobalReference
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 type info global variable from exception han...
Definition: SparcTargetObjectFile.cpp:23
llvm::MCExpr
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:35
TargetLoweringObjectFileImpl.h