Chromium Code Reviews| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 61 class GlobalDeclaration; | 61 class GlobalDeclaration; |
| 62 class Inst; | 62 class Inst; |
| 63 class InstAssign; | 63 class InstAssign; |
| 64 class InstJumpTable; | 64 class InstJumpTable; |
| 65 class InstPhi; | 65 class InstPhi; |
| 66 class InstSwitch; | 66 class InstSwitch; |
| 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 RelocOffset; | |
| 71 class TargetDataLowering; | 72 class TargetDataLowering; |
| 72 class TargetLowering; | 73 class TargetLowering; |
| 73 class Variable; | 74 class Variable; |
| 74 class VariableDeclaration; | 75 class VariableDeclaration; |
| 75 class VariablesMetadata; | 76 class VariablesMetadata; |
| 76 | 77 |
| 77 template <size_t SlabSize = 1024 * 1024> | 78 template <size_t SlabSize = 1024 * 1024> |
| 78 using ArenaAllocator = | 79 using ArenaAllocator = |
| 79 llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, SlabSize>; | 80 llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, SlabSize>; |
| 80 | 81 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 302 RPE_BasicBlockReordering, | 303 RPE_BasicBlockReordering, |
| 303 RPE_ConstantBlinding, | 304 RPE_ConstantBlinding, |
| 304 RPE_FunctionReordering, | 305 RPE_FunctionReordering, |
| 305 RPE_GlobalVariableReordering, | 306 RPE_GlobalVariableReordering, |
| 306 RPE_NopInsertion, | 307 RPE_NopInsertion, |
| 307 RPE_PooledConstantReordering, | 308 RPE_PooledConstantReordering, |
| 308 RPE_RegAllocRandomization, | 309 RPE_RegAllocRandomization, |
| 309 RPE_num | 310 RPE_num |
| 310 }; | 311 }; |
| 311 | 312 |
| 313 using RelocOffsetArray = llvm::SmallVector<RelocOffset *, 4>; | |
|
Jim Stichnoth
2016/02/02 20:57:49
You could use "class RelocOffset" here and remove
John
2016/02/03 15:50:41
Done.
| |
| 314 | |
| 312 } // end of namespace Ice | 315 } // end of namespace Ice |
| 313 | 316 |
| 314 #endif // SUBZERO_SRC_ICEDEFS_H | 317 #endif // SUBZERO_SRC_ICEDEFS_H |
| OLD | NEW |