35 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H10#define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H11 12#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"13 14namespace llvm {15 16class MCContext;17class TargetMachine;18 19class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF {20public:21 SparcELFTargetObjectFile() = default;22 23 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;24 25 const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,26 unsigned Encoding,27 const TargetMachine &TM,28 MachineModuleInfo *MMI,29 MCStreamer &Streamer) const override;30};31 32} // end namespace llvm33 34#endif35