[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / lib / Target / Sparc / SparcTargetObjectFile.h
blob9bbe602b32b30d16c8ce293f76fe9ddc114aa141
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() :
22 TargetLoweringObjectFileELF()
25 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
27 const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
28 unsigned Encoding,
29 const TargetMachine &TM,
30 MachineModuleInfo *MMI,
31 MCStreamer &Streamer) const override;
34 } // end namespace llvm
36 #endif