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

Side by Side Diff: src/IceDefs.h

Issue 641193002: Introduce the notion of function addresses in Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 years, 2 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/IceDefs.h - Common Subzero declaraions -------*- C++ -*-===// 1 //===- subzero/src/IceDefs.h - Common Subzero declaraions -------*- 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 various useful types and classes that have 10 // This file declares various useful types and classes that have
(...skipping 21 matching lines...) Expand all
32 #include "llvm/ADT/SmallBitVector.h" 32 #include "llvm/ADT/SmallBitVector.h"
33 #include "llvm/ADT/STLExtras.h" 33 #include "llvm/ADT/STLExtras.h"
34 #include "llvm/Support/Casting.h" 34 #include "llvm/Support/Casting.h"
35 #include "llvm/Support/raw_ostream.h" 35 #include "llvm/Support/raw_ostream.h"
36 36
37 namespace Ice { 37 namespace Ice {
38 38
39 class Cfg; 39 class Cfg;
40 class CfgNode; 40 class CfgNode;
41 class Constant; 41 class Constant;
42 class FunctionDeclaration;
42 class GlobalContext; 43 class GlobalContext;
44 class GlobalDeclaration;
43 class Inst; 45 class Inst;
44 class InstPhi; 46 class InstPhi;
45 class InstTarget; 47 class InstTarget;
46 class LiveRange; 48 class LiveRange;
47 class Liveness; 49 class Liveness;
48 class Operand; 50 class Operand;
49 class TargetLowering; 51 class TargetLowering;
50 class Variable; 52 class Variable;
53 class VariableDeclaration;
51 class VariablesMetadata; 54 class VariablesMetadata;
52 55
53 // TODO: Switch over to LLVM's ADT container classes. 56 // TODO: Switch over to LLVM's ADT container classes.
54 // http://llvm.org/docs/ProgrammersManual.html#picking-the-right-data-structure- for-a-task 57 // http://llvm.org/docs/ProgrammersManual.html#picking-the-right-data-structure- for-a-task
55 typedef std::string IceString; 58 typedef std::string IceString;
56 typedef std::list<Inst *> InstList; 59 typedef std::list<Inst *> InstList;
57 typedef std::list<InstPhi *> PhiList; 60 typedef std::list<InstPhi *> PhiList;
58 typedef std::vector<Variable *> VarList; 61 typedef std::vector<Variable *> VarList;
59 typedef std::vector<Operand *> OperandList; 62 typedef std::vector<Operand *> OperandList;
60 typedef std::vector<CfgNode *> NodeList; 63 typedef std::vector<CfgNode *> NodeList;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 IceV_All = ~IceV_None, 104 IceV_All = ~IceV_None,
102 IceV_Most = IceV_All & ~IceV_LinearScan 105 IceV_Most = IceV_All & ~IceV_LinearScan
103 }; 106 };
104 typedef uint32_t VerboseMask; 107 typedef uint32_t VerboseMask;
105 108
106 typedef llvm::raw_ostream Ostream; 109 typedef llvm::raw_ostream Ostream;
107 110
108 } // end of namespace Ice 111 } // end of namespace Ice
109 112
110 #endif // SUBZERO_SRC_ICEDEFS_H 113 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698