llvm/llvm/lib/Target/Sparc/SparcTargetMachine.h

//===-- SparcTargetMachine.h - Define TargetMachine for Sparc ---*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// This file declares the Sparc specific subclass of TargetMachine.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETMACHINE_H
#define LLVM_LIB_TARGET_SPARC_SPARCTARGETMACHINE_H

#include "SparcInstrInfo.h"
#include "SparcSubtarget.h"
#include "llvm/Target/TargetMachine.h"
#include <optional>

namespace llvm {

class SparcTargetMachine : public LLVMTargetMachine {};

/// Sparc 32-bit target machine
///
class SparcV8TargetMachine : public SparcTargetMachine {};

/// Sparc 64-bit target machine
///
class SparcV9TargetMachine : public SparcTargetMachine {};

class SparcelTargetMachine : public SparcTargetMachine {};

} // end namespace llvm

#endif