Venkatraman Govindaraju | fd5c1f9 | 2014-01-29 04:51:35 +0000 | [diff] [blame] | 1 | //===-- SparcTargetObjectFile.h - Sparc Object Info -------------*- C++ -*-===// |
| 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 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 |
Venkatraman Govindaraju | fd5c1f9 | 2014-01-29 04:51:35 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
Benjamin Kramer | a7c40ef | 2014-08-13 16:26:38 +0000 | [diff] [blame] | 9 | #ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H |
| 10 | #define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H |
Venkatraman Govindaraju | fd5c1f9 | 2014-01-29 04:51:35 +0000 | [diff] [blame] | 11 | |
| 12 | #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" |
| 13 | |
| 14 | namespace llvm { |
| 15 | |
| 16 | class MCContext; |
| 17 | class TargetMachine; |
| 18 | |
| 19 | class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF { |
| 20 | public: |
| 21 | SparcELFTargetObjectFile() : |
| 22 | TargetLoweringObjectFileELF() |
| 23 | {} |
| 24 | |
Davide Italiano | 9b8e3d3 | 2017-06-21 20:36:32 +0000 | [diff] [blame] | 25 | void Initialize(MCContext &Ctx, const TargetMachine &TM) override; |
| 26 | |
Eric Christopher | 4367c7f | 2016-09-16 07:33:15 +0000 | [diff] [blame] | 27 | const MCExpr *getTTypeGlobalReference(const GlobalValue *GV, |
| 28 | unsigned Encoding, |
| 29 | const TargetMachine &TM, |
| 30 | MachineModuleInfo *MMI, |
| 31 | MCStreamer &Streamer) const override; |
Venkatraman Govindaraju | fd5c1f9 | 2014-01-29 04:51:35 +0000 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | } // end namespace llvm |
| 35 | |
| 36 | #endif |