2014-01-29 04:51:35 +00:00
|
|
|
//===-- SparcTargetObjectFile.h - Sparc Object Info -------------*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 08:50:56 +00:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2014-01-29 04:51:35 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 16:26:38 +00:00
|
|
|
#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
|
|
|
|
#define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
|
2014-01-29 04:51:35 +00:00
|
|
|
|
|
|
|
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
class MCContext;
|
|
|
|
class TargetMachine;
|
|
|
|
|
|
|
|
class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF {
|
|
|
|
public:
|
2022-02-06 22:18:35 -08:00
|
|
|
SparcELFTargetObjectFile() = default;
|
2014-01-29 04:51:35 +00:00
|
|
|
|
2017-06-21 20:36:32 +00:00
|
|
|
void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
|
|
|
|
|
2016-09-16 07:33:15 +00:00
|
|
|
const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
|
|
|
|
unsigned Encoding,
|
|
|
|
const TargetMachine &TM,
|
|
|
|
MachineModuleInfo *MMI,
|
|
|
|
MCStreamer &Streamer) const override;
|
2014-01-29 04:51:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // end namespace llvm
|
|
|
|
|
|
|
|
#endif
|