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

Issue 1768173002: Subzero: Count lookups of each constant value in the constant pool. (Closed)

Created:
4 years, 9 months ago by Jim Stichnoth
Modified:
4 years, 9 months ago
Reviewers:
Eric Holk, Karl, sehr, John
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero: Count lookups of each constant value in the constant pool. With "-verbose cpool", at the end it dumps counts of the number of times each pooled constant was looked up. The output is grouped by type and sorted by constant value, but it's easy to run it through "sort -nr" to see it ordered by popularity. BUG= none R=jpp@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=9f9aa2c1953db5253dab1216cf44a9cbcb7cb176

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -17 lines) Patch
M src/IceCfg.h View 1 chunk +1 line, -1 line 0 comments Download
M src/IceClFlags.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/IceCompileServer.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceDefs.h View 1 chunk +11 lines, -5 lines 0 comments Download
M src/IceGlobalContext.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 3 chunks +36 lines, -5 lines 0 comments Download
M src/IceOperand.h View 1 3 chunks +19 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Jim Stichnoth
4 years, 9 months ago (2016-03-07 15:27:07 UTC) #3
John
lgtm https://codereview.chromium.org/1768173002/diff/1/src/IceGlobalContext.cpp File src/IceGlobalContext.cpp (right): https://codereview.chromium.org/1768173002/diff/1/src/IceGlobalContext.cpp#newcode775 src/IceGlobalContext.cpp:775: for (Constant * C : getConstPool()->WhichPool.getConstantPool()) { \ ...
4 years, 9 months ago (2016-03-07 15:50:26 UTC) #4
Jim Stichnoth
Also did s/shouldBePooled/ShouldBePooled/ per LLVM conventions. https://codereview.chromium.org/1768173002/diff/1/src/IceGlobalContext.cpp File src/IceGlobalContext.cpp (right): https://codereview.chromium.org/1768173002/diff/1/src/IceGlobalContext.cpp#newcode775 src/IceGlobalContext.cpp:775: for (Constant * ...
4 years, 9 months ago (2016-03-07 16:11:10 UTC) #5
John
lgtm
4 years, 9 months ago (2016-03-07 16:21:59 UTC) #6
Jim Stichnoth
4 years, 9 months ago (2016-03-07 16:25:31 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
9f9aa2c1953db5253dab1216cf44a9cbcb7cb176 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698