Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: lib/Target/PNaCl/PNaClTargetMachine.h

Issue 1395453003: Create a proper target machine for PNaCl. Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Fix a test Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/Target/PNaCl/Makefile ('k') | lib/Target/PNaCl/PNaClTargetMachine.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //===-- llvm/Target/PNaCl/PNaClTargetMachine.h - Target Information -*- 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 defines the TargetMachine class specific to PNaCl.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_LIB_TARGET_PNACL_PNACLTARGETMACHINE_H
15 #define LLVM_LIB_TARGET_PNACL_PNACLTARGETMACHINE_H
16
17 #include "llvm/IR/DataLayout.h"
18 #include "llvm/Target/TargetMachine.h"
19
20 namespace llvm {
21
22 class StringRef;
23
24 class PNaClTargetMachine final : public TargetMachine {
25 public:
26 PNaClTargetMachine(const Target& T, StringRef TT,
27 StringRef CPU, StringRef FS,
28 const TargetOptions &Options,
29 Reloc::Model RM,
30 CodeModel::Model CM,
31 CodeGenOpt::Level OL);
32 virtual ~PNaClTargetMachine();
33
34 bool addPassesToEmitFile(PassManagerBase &PM,
35 raw_pwrite_stream &Out,
36 CodeGenFileType FType,
37 bool DisableVerify = true,
38 AnalysisID StartAfter = nullptr,
39 AnalysisID StopAfter = nullptr) override;
40 private:
41 };
42 }
43
44 #endif
OLDNEW
« no previous file with comments | « lib/Target/PNaCl/Makefile ('k') | lib/Target/PNaCl/PNaClTargetMachine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698