]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/Nios2/Nios2TargetMachine.h
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304149, and update
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / Nios2 / Nios2TargetMachine.h
1 //===-- Nios2TargetMachine.h - Define TargetMachine for Nios2 ---*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file declares the Nios2 specific subclass of TargetMachine.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_LIB_TARGET_NIOS2_NIOS2TARGETMACHINE_H
15 #define LLVM_LIB_TARGET_NIOS2_NIOS2TARGETMACHINE_H
16
17 #include "llvm/Target/TargetMachine.h"
18
19 namespace llvm {
20 class Nios2TargetMachine : public LLVMTargetMachine {
21 public:
22   Nios2TargetMachine(const Target &T, const Triple &TT, StringRef CPU,
23                      StringRef FS, const TargetOptions &Options,
24                      Optional<Reloc::Model> RM, CodeModel::Model CM,
25                      CodeGenOpt::Level OL);
26   ~Nios2TargetMachine() override;
27 };
28 } // namespace llvm
29
30 #endif