Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: src/IceDefs.h

Issue 2185193002: Enable Local CSE by default (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Address Comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 /// live-out variables for each block. Identifies and deletes dead 301 /// live-out variables for each block. Identifies and deletes dead
302 /// instructions (primarily stores). 302 /// instructions (primarily stores).
303 Liveness_Basic, 303 Liveness_Basic,
304 304
305 /// In addition to Liveness_Basic, also calculate the complete live range for 305 /// In addition to Liveness_Basic, also calculate the complete live range for
306 /// each variable in a form suitable for interference calculation and register 306 /// each variable in a form suitable for interference calculation and register
307 /// allocation. 307 /// allocation.
308 Liveness_Intervals 308 Liveness_Intervals
309 }; 309 };
310 310
311 enum LCSEOptions {
312 LCSE_Disabled,
313 LCSE_EnabledSSA, // Default Mode, assumes SSA.
314 LCSE_EnabledNoSSA // Does not assume SSA, to be enabled if CSE is done later.
315 };
316
311 enum RegAllocKind { 317 enum RegAllocKind {
312 RAK_Unknown, 318 RAK_Unknown,
313 RAK_Global, /// full, global register allocation 319 RAK_Global, /// full, global register allocation
314 RAK_SecondChance, /// second-chance bin-packing after full regalloc attempt 320 RAK_SecondChance, /// second-chance bin-packing after full regalloc attempt
315 RAK_Phi, /// infinite-weight Variables with active spilling/filling 321 RAK_Phi, /// infinite-weight Variables with active spilling/filling
316 RAK_InfOnly /// allocation only for infinite-weight Variables 322 RAK_InfOnly /// allocation only for infinite-weight Variables
317 }; 323 };
318 324
319 enum VerboseItem { 325 enum VerboseItem {
320 IceV_None = 0, 326 IceV_None = 0,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 RPE_PooledConstantReordering, 440 RPE_PooledConstantReordering,
435 RPE_RegAllocRandomization, 441 RPE_RegAllocRandomization,
436 RPE_num 442 RPE_num
437 }; 443 };
438 444
439 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>; 445 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>;
440 446
441 } // end of namespace Ice 447 } // end of namespace Ice
442 448
443 #endif // SUBZERO_SRC_ICEDEFS_H 449 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW
« src/IceClFlags.def ('K') | « src/IceClFlags.def ('k') | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698