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

Side by Side Diff: src/IceTranslator.h

Issue 1202253002: Includes module header first. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes All Subzero includes to match LLVM style guide. Created 5 years, 6 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
OLDNEW
1 //===- subzero/src/IceTranslator.h - ICE to machine code --------*- C++ -*-===// 1 //===- subzero/src/IceTranslator.h - ICE to machine code --------*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file declares the general driver class for translating ICE to 10 // This file declares the general driver class for translating ICE to
11 // machine code. 11 // machine code.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #ifndef SUBZERO_SRC_ICETRANSLATOR_H 15 #ifndef SUBZERO_SRC_ICETRANSLATOR_H
16 #define SUBZERO_SRC_ICETRANSLATOR_H 16 #define SUBZERO_SRC_ICETRANSLATOR_H
17 17
18 #include "IceDefs.h"
19 #include "IceGlobalContext.h"
20
18 namespace llvm { 21 namespace llvm {
19 class Module; 22 class Module;
20 } 23 } // end of namespace llvm
21 24
22 namespace Ice { 25 namespace Ice {
23 26
24 class ClFlags; 27 class ClFlags;
25 class Cfg; 28 class Cfg;
26 class VariableDeclaration; 29 class VariableDeclaration;
27 class GlobalContext; 30 class GlobalContext;
28 31
29 // Base class for translating ICE to machine code. Derived classes convert 32 // Base class for translating ICE to machine code. Derived classes convert
30 // other intermediate representations down to ICE, and then call the appropriate 33 // other intermediate representations down to ICE, and then call the appropriate
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 protected: 70 protected:
68 GlobalContext *Ctx; 71 GlobalContext *Ctx;
69 uint32_t NextSequenceNumber; 72 uint32_t NextSequenceNumber;
70 // ErrorCode of the translation. 73 // ErrorCode of the translation.
71 ErrorCode ErrorStatus; 74 ErrorCode ErrorStatus;
72 }; 75 };
73 76
74 } // end of namespace Ice 77 } // end of namespace Ice
75 78
76 #endif // SUBZERO_SRC_ICETRANSLATOR_H 79 #endif // SUBZERO_SRC_ICETRANSLATOR_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698