blob: 9bbe602b32b30d16c8ce293f76fe9ddc114aa141 [file] [log] [blame]
Venkatraman Govindarajufd5c1f92014-01-29 04:51:35 +00001//===-- SparcTargetObjectFile.h - Sparc Object Info -------------*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Venkatraman Govindarajufd5c1f92014-01-29 04:51:35 +00006//
7//===----------------------------------------------------------------------===//
8
Benjamin Kramera7c40ef2014-08-13 16:26:38 +00009#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
10#define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
Venkatraman Govindarajufd5c1f92014-01-29 04:51:35 +000011
12#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
13
14namespace llvm {
15
16class MCContext;
17class TargetMachine;
18
19class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF {
20public:
21 SparcELFTargetObjectFile() :
22 TargetLoweringObjectFileELF()
23 {}
24
Davide Italiano9b8e3d32017-06-21 20:36:32 +000025 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
26
Eric Christopher4367c7f2016-09-16 07:33:15 +000027 const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
28 unsigned Encoding,
29 const TargetMachine &TM,
30 MachineModuleInfo *MMI,
31 MCStreamer &Streamer) const override;
Venkatraman Govindarajufd5c1f92014-01-29 04:51:35 +000032};
33
34} // end namespace llvm
35
36#endif