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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_Folding = 1 << 11, |
| 176 IceV_RMW = 1 << 12, |
176 IceV_All = ~IceV_None, | 177 IceV_All = ~IceV_None, |
177 IceV_Most = IceV_All & ~IceV_LinearScan | 178 IceV_Most = IceV_All & ~IceV_LinearScan |
178 }; | 179 }; |
179 typedef uint32_t VerboseMask; | 180 typedef uint32_t VerboseMask; |
180 | 181 |
181 enum FileType { | 182 enum FileType { |
182 FT_Elf, // ELF .o file | 183 FT_Elf, // ELF .o file |
183 FT_Asm, // Assembly .s file | 184 FT_Asm, // Assembly .s file |
184 FT_Iasm // "Integrated assembler" .byte-style .s file | 185 FT_Iasm // "Integrated assembler" .byte-style .s file |
185 }; | 186 }; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 return llvm::make_range(Container.rbegin(), Container.rend()); | 221 return llvm::make_range(Container.rbegin(), Container.rend()); |
221 } | 222 } |
222 template <typename T> | 223 template <typename T> |
223 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { | 224 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { |
224 return llvm::make_range(Container.rbegin(), Container.rend()); | 225 return llvm::make_range(Container.rbegin(), Container.rend()); |
225 } | 226 } |
226 | 227 |
227 } // end of namespace Ice | 228 } // end of namespace Ice |
228 | 229 |
229 #endif // SUBZERO_SRC_ICEDEFS_H | 230 #endif // SUBZERO_SRC_ICEDEFS_H |
OLD | NEW |