2014-01-29 12:51:35 +08:00
|
|
|
//===-- SparcTargetObjectFile.h - Sparc Object Info -------------*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08: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 12:51:35 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
|
|
|
|
#define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
|
2014-01-29 12:51:35 +08:00
|
|
|
|
|
|
|
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
class MCContext;
|
|
|
|
class TargetMachine;
|
|
|
|
|
|
|
|
class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF {
|
|
|
|
public:
|
|
|
|
SparcELFTargetObjectFile() :
|
|
|
|
TargetLoweringObjectFileELF()
|
|
|
|
{}
|
|
|
|
|
2017-06-22 04:36:32 +08:00
|
|
|
void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
|
|
|
|
|
2016-09-16 15:33:15 +08:00
|
|
|
const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
|
|
|
|
unsigned Encoding,
|
|
|
|
const TargetMachine &TM,
|
|
|
|
MachineModuleInfo *MMI,
|
|
|
|
MCStreamer &Streamer) const override;
|
2014-01-29 12:51:35 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
} // end namespace llvm
|
|
|
|
|
|
|
|
#endif
|