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

Side by Side Diff: lib/Target/JSBackend/JSTargetMachine.h

Issue 1692803002: Remove Emscripten support (Closed) Base URL: https://chromium.googlesource.com/a/native_client/pnacl-llvm.git@master
Patch Set: Created 4 years, 10 months 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/JSBackend/JSBackend.cpp ('k') | lib/Target/JSBackend/JSTargetMachine.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 //===-- JSTargetMachine.h - TargetMachine for the JS Backend ----*- 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 TargetMachine that is used by the JS/asm.js/
11 // emscripten backend.
12 //
13 //===---------------------------------------------------------------------===//
14
15 #ifndef JSTARGETMACHINE_H
16 #define JSTARGETMACHINE_H
17
18 #include "JS.h"
19 #include "llvm/Target/TargetMachine.h"
20
21 namespace llvm {
22
23 class formatted_raw_ostream;
24
25 class JSTargetMachine : public TargetMachine {
26 public:
27 JSTargetMachine(const Target &T, StringRef Triple,
28 StringRef CPU, StringRef FS, const TargetOptions &Options,
29 Reloc::Model RM, CodeModel::Model CM,
30 CodeGenOpt::Level OL);
31
32 bool addPassesToEmitFile(PassManagerBase &PM, raw_pwrite_stream &Out,
33 CodeGenFileType FileType, bool DisableVerify,
34 AnalysisID StartAfter,
35 AnalysisID StopAfter) override;
36
37 TargetIRAnalysis getTargetIRAnalysis() override;
38 };
39
40 } // End llvm namespace
41
42 #endif
OLDNEW
« no previous file with comments | « lib/Target/JSBackend/JSBackend.cpp ('k') | lib/Target/JSBackend/JSTargetMachine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698