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

Side by Side Diff: src/IceDefs.h

Issue 1768173002: Subzero: Count lookups of each constant value in the constant pool. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 4 years, 9 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
« no previous file with comments | « src/IceCompileServer.cpp ('k') | src/IceGlobalContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 IceV_Succs = 1 << 4, 204 IceV_Succs = 1 << 4,
205 IceV_Liveness = 1 << 5, 205 IceV_Liveness = 1 << 5,
206 IceV_RegOrigins = 1 << 6, 206 IceV_RegOrigins = 1 << 6,
207 IceV_LinearScan = 1 << 7, 207 IceV_LinearScan = 1 << 7,
208 IceV_Frame = 1 << 8, 208 IceV_Frame = 1 << 8,
209 IceV_AddrOpt = 1 << 9, 209 IceV_AddrOpt = 1 << 9,
210 IceV_Random = 1 << 10, 210 IceV_Random = 1 << 10,
211 IceV_Folding = 1 << 11, 211 IceV_Folding = 1 << 11,
212 IceV_RMW = 1 << 12, 212 IceV_RMW = 1 << 12,
213 IceV_Loop = 1 << 13, 213 IceV_Loop = 1 << 13,
214 IceV_Status = 1 << 14, 214 IceV_Mem = 1 << 14,
215 IceV_AvailableRegs = 1 << 15, 215 // Leave some extra space to make it easier to add new per-pass items.
216 IceV_Mem = 1 << 16, 216 IceV_NO_PER_PASS_DUMP_BEYOND = 1 << 19,
217 IceV_GlobalInit = 1 << 17, 217 // Items greater than IceV_NO_PER_PASS_DUMP_BEYOND don't by themselves trigger
218 // per-pass Cfg dump output.
219 IceV_Status = 1 << 20,
220 IceV_AvailableRegs = 1 << 21,
221 IceV_GlobalInit = 1 << 22,
222 IceV_ConstPoolStats = 1 << 23,
218 IceV_All = ~IceV_None, 223 IceV_All = ~IceV_None,
219 IceV_Most = IceV_All & ~IceV_LinearScan & ~IceV_GlobalInit 224 IceV_Most =
225 IceV_All & ~IceV_LinearScan & ~IceV_GlobalInit & IceV_ConstPoolStats
220 }; 226 };
221 using VerboseMask = uint32_t; 227 using VerboseMask = uint32_t;
222 228
223 enum FileType { 229 enum FileType {
224 FT_Elf, /// ELF .o file 230 FT_Elf, /// ELF .o file
225 FT_Asm, /// Assembly .s file 231 FT_Asm, /// Assembly .s file
226 FT_Iasm /// "Integrated assembler" .byte-style .s file 232 FT_Iasm /// "Integrated assembler" .byte-style .s file
227 }; 233 };
228 234
229 using Ostream = llvm::raw_ostream; 235 using Ostream = llvm::raw_ostream;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 RPE_PooledConstantReordering, 285 RPE_PooledConstantReordering,
280 RPE_RegAllocRandomization, 286 RPE_RegAllocRandomization,
281 RPE_num 287 RPE_num
282 }; 288 };
283 289
284 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>; 290 using RelocOffsetArray = llvm::SmallVector<class RelocOffset *, 4>;
285 291
286 } // end of namespace Ice 292 } // end of namespace Ice
287 293
288 #endif // SUBZERO_SRC_ICEDEFS_H 294 #endif // SUBZERO_SRC_ICEDEFS_H
OLDNEW
« no previous file with comments | « src/IceCompileServer.cpp ('k') | src/IceGlobalContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698