Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / lib / Target / Sparc / SparcTargetObjectFile.h
blob28ab139180423c8f5132c12378188865a68130ef
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
10 #define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
12 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
14 namespace llvm {
16 class MCContext;
17 class TargetMachine;
19 class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF {
20 public:
21 SparcELFTargetObjectFile() = default;
23 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
25 const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
26 unsigned Encoding,
27 const TargetMachine &TM,
28 MachineModuleInfo *MMI,
29 MCStreamer &Streamer) const override;
32 } // end namespace llvm
34 #endif