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

Side by Side Diff: src/IceDefs.h

Issue 680733002: Subzero: Allow delaying Phi lowering until after register allocation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix vector const undef lowering for phis. Created 6 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 | « src/IceCfgNode.cpp ('k') | src/IceInst.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24 matching lines...) Expand all
35 35
36 namespace Ice { 36 namespace Ice {
37 37
38 class Cfg; 38 class Cfg;
39 class CfgNode; 39 class CfgNode;
40 class Constant; 40 class Constant;
41 class FunctionDeclaration; 41 class FunctionDeclaration;
42 class GlobalContext; 42 class GlobalContext;
43 class GlobalDeclaration; 43 class GlobalDeclaration;
44 class Inst; 44 class Inst;
45 class InstAssign;
45 class InstPhi; 46 class InstPhi;
46 class InstTarget; 47 class InstTarget;
47 class LiveRange; 48 class LiveRange;
48 class Liveness; 49 class Liveness;
49 class Operand; 50 class Operand;
50 class TargetLowering; 51 class TargetLowering;
51 class Variable; 52 class Variable;
52 class VariableDeclaration; 53 class VariableDeclaration;
53 class VariablesMetadata; 54 class VariablesMetadata;
54 55
55 // TODO: Switch over to LLVM's ADT container classes. 56 // TODO: Switch over to LLVM's ADT container classes.
56 // 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
57 typedef std::string IceString; 58 typedef std::string IceString;
58 typedef std::list<Inst *> InstList; 59 typedef std::list<Inst *> InstList;
60 typedef std::list<InstAssign *> AssignList;
59 typedef std::list<InstPhi *> PhiList; 61 typedef std::list<InstPhi *> PhiList;
60 typedef std::vector<Variable *> VarList; 62 typedef std::vector<Variable *> VarList;
61 typedef std::vector<Operand *> OperandList; 63 typedef std::vector<Operand *> OperandList;
62 typedef std::vector<CfgNode *> NodeList; 64 typedef std::vector<CfgNode *> NodeList;
63 typedef std::vector<Constant *> ConstantList; 65 typedef std::vector<Constant *> ConstantList;
64 66
65 // SizeT is for holding small-ish limits like number of source 67 // SizeT is for holding small-ish limits like number of source
66 // operands in an instruction. It is used instead of size_t (which 68 // operands in an instruction. It is used instead of size_t (which
67 // may be 64-bits wide) when we want to save space. 69 // may be 64-bits wide) when we want to save space.
68 typedef uint32_t SizeT; 70 typedef uint32_t SizeT;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 IceV_All = ~IceV_None, 115 IceV_All = ~IceV_None,
114 IceV_Most = IceV_All & ~IceV_LinearScan 116 IceV_Most = IceV_All & ~IceV_LinearScan
115 }; 117 };
116 typedef uint32_t VerboseMask; 118 typedef uint32_t VerboseMask;
117 119
118 typedef llvm::raw_ostream Ostream; 120 typedef llvm::raw_ostream Ostream;
119 121
120 } // end of namespace Ice 122 } // end of namespace Ice
121 123
122 #endif // SUBZERO_SRC_ICEDEFS_H 124 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceInst.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698