| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 IceV_Deleted = 1 << 1, | 165 IceV_Deleted = 1 << 1, |
| 166 IceV_InstNumbers = 1 << 2, | 166 IceV_InstNumbers = 1 << 2, |
| 167 IceV_Preds = 1 << 3, | 167 IceV_Preds = 1 << 3, |
| 168 IceV_Succs = 1 << 4, | 168 IceV_Succs = 1 << 4, |
| 169 IceV_Liveness = 1 << 5, | 169 IceV_Liveness = 1 << 5, |
| 170 IceV_RegOrigins = 1 << 6, | 170 IceV_RegOrigins = 1 << 6, |
| 171 IceV_LinearScan = 1 << 7, | 171 IceV_LinearScan = 1 << 7, |
| 172 IceV_Frame = 1 << 8, | 172 IceV_Frame = 1 << 8, |
| 173 IceV_AddrOpt = 1 << 9, | 173 IceV_AddrOpt = 1 << 9, |
| 174 IceV_Random = 1 << 10, | 174 IceV_Random = 1 << 10, |
| 175 IceV_Folding = 1 << 11, |
| 175 IceV_All = ~IceV_None, | 176 IceV_All = ~IceV_None, |
| 176 IceV_Most = IceV_All & ~IceV_LinearScan | 177 IceV_Most = IceV_All & ~IceV_LinearScan |
| 177 }; | 178 }; |
| 178 typedef uint32_t VerboseMask; | 179 typedef uint32_t VerboseMask; |
| 179 | 180 |
| 180 enum FileType { | 181 enum FileType { |
| 181 FT_Elf, // ELF .o file | 182 FT_Elf, // ELF .o file |
| 182 FT_Asm, // Assembly .s file | 183 FT_Asm, // Assembly .s file |
| 183 FT_Iasm // "Integrated assembler" .byte-style .s file | 184 FT_Iasm // "Integrated assembler" .byte-style .s file |
| 184 }; | 185 }; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 return llvm::make_range(Container.rbegin(), Container.rend()); | 220 return llvm::make_range(Container.rbegin(), Container.rend()); |
| 220 } | 221 } |
| 221 template <typename T> | 222 template <typename T> |
| 222 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { | 223 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { |
| 223 return llvm::make_range(Container.rbegin(), Container.rend()); | 224 return llvm::make_range(Container.rbegin(), Container.rend()); |
| 224 } | 225 } |
| 225 | 226 |
| 226 } // end of namespace Ice | 227 } // end of namespace Ice |
| 227 | 228 |
| 228 #endif // SUBZERO_SRC_ICEDEFS_H | 229 #endif // SUBZERO_SRC_ICEDEFS_H |
| OLD | NEW |