| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 49 class FunctionDeclaration; | 49 class FunctionDeclaration; | 
| 50 class GlobalContext; | 50 class GlobalContext; | 
| 51 class GlobalDeclaration; | 51 class GlobalDeclaration; | 
| 52 class Inst; | 52 class Inst; | 
| 53 class InstAssign; | 53 class InstAssign; | 
| 54 class InstPhi; | 54 class InstPhi; | 
| 55 class InstTarget; | 55 class InstTarget; | 
| 56 class LiveRange; | 56 class LiveRange; | 
| 57 class Liveness; | 57 class Liveness; | 
| 58 class Operand; | 58 class Operand; | 
|  | 59 class TargetGlobalLowering; | 
| 59 class TargetLowering; | 60 class TargetLowering; | 
| 60 class Variable; | 61 class Variable; | 
| 61 class VariableDeclaration; | 62 class VariableDeclaration; | 
| 62 class VariablesMetadata; | 63 class VariablesMetadata; | 
| 63 | 64 | 
| 64 template <size_t SlabSize = 1024 * 1024> | 65 template <size_t SlabSize = 1024 * 1024> | 
| 65 using ArenaAllocator = | 66 using ArenaAllocator = | 
| 66     llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, SlabSize>; | 67     llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, SlabSize>; | 
| 67 | 68 | 
| 68 ArenaAllocator<> *getCurrentCfgAllocator(); | 69 ArenaAllocator<> *getCurrentCfgAllocator(); | 
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 168   return llvm::make_range(Container.rbegin(), Container.rend()); | 169   return llvm::make_range(Container.rbegin(), Container.rend()); | 
| 169 } | 170 } | 
| 170 template <typename T> | 171 template <typename T> | 
| 171 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { | 172 llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { | 
| 172   return llvm::make_range(Container.rbegin(), Container.rend()); | 173   return llvm::make_range(Container.rbegin(), Container.rend()); | 
| 173 } | 174 } | 
| 174 | 175 | 
| 175 } // end of namespace Ice | 176 } // end of namespace Ice | 
| 176 | 177 | 
| 177 #endif // SUBZERO_SRC_ICEDEFS_H | 178 #endif // SUBZERO_SRC_ICEDEFS_H | 
| OLD | NEW | 
|---|