llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
ppc.h
1 // This file if part of the llir-opt project.
2 // Licensing information can be found in the LICENSE file.
3 // (C) 2018 Nandor Licker. All rights reserved.
4 
5 #pragma once
6 
7 #include <llvm/Target/TargetMachine.h>
8 
9 #include "core/target.h"
10 
11 
12 
16 class PPCTarget final : public Target {
17 private:
19  static const Kind kKind = Kind::PPC;
20 
21 public:
22  PPCTarget(
23  const llvm::Triple &triple,
24  const std::string &cpu,
25  const std::string &tuneCPU,
26  const std::string &fs,
27  const std::string &abi,
28  bool shared
29  );
30 
31 private:
32  friend class Target;
33 };
Target
Definition: target.h:24
PPCTarget
Definition: ppc.h:16
Target::Kind
Kind
Enumeration of supported targets.
Definition: target.h:27