| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |