| OLD | NEW |
| 1 //===- subzero/src/IceDefs.h - Common Subzero declarations ------*- C++ -*-===// | 1 //===- subzero/src/IceDefs.h - Common Subzero declarations ------*- 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 /// \file | 10 /// \file |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 class InstTarget; | 67 class InstTarget; |
| 68 class LiveRange; | 68 class LiveRange; |
| 69 class Liveness; | 69 class Liveness; |
| 70 class Operand; | 70 class Operand; |
| 71 class TargetDataLowering; | 71 class TargetDataLowering; |
| 72 class TargetLowering; | 72 class TargetLowering; |
| 73 class Variable; | 73 class Variable; |
| 74 class VariableDeclaration; | 74 class VariableDeclaration; |
| 75 class VariablesMetadata; | 75 class VariablesMetadata; |
| 76 | 76 |
| 77 constexpr char GlobalOffsetTable[] = "_GLOBAL_OFFSET_TABLE_"; |
| 78 |
| 77 template <size_t SlabSize = 1024 * 1024> | 79 template <size_t SlabSize = 1024 * 1024> |
| 78 using ArenaAllocator = | 80 using ArenaAllocator = |
| 79 llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, SlabSize>; | 81 llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, SlabSize>; |
| 80 | 82 |
| 81 ArenaAllocator<> *getCurrentCfgAllocator(); | 83 ArenaAllocator<> *getCurrentCfgAllocator(); |
| 82 | 84 |
| 83 template <typename T> struct CfgLocalAllocator { | 85 template <typename T> struct CfgLocalAllocator { |
| 84 using value_type = T; | 86 using value_type = T; |
| 85 using pointer = T *; | 87 using pointer = T *; |
| 86 using const_pointer = const T *; | 88 using const_pointer = const T *; |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 RPE_PooledConstantReordering, | 309 RPE_PooledConstantReordering, |
| 308 RPE_RegAllocRandomization, | 310 RPE_RegAllocRandomization, |
| 309 RPE_num | 311 RPE_num |
| 310 }; | 312 }; |
| 311 | 313 |
| 312 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>; | 314 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>; |
| 313 | 315 |
| 314 } // end of namespace Ice | 316 } // end of namespace Ice |
| 315 | 317 |
| 316 #endif // SUBZERO_SRC_ICEDEFS_H | 318 #endif // SUBZERO_SRC_ICEDEFS_H |
| OLD | NEW |