Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/coreclr/jit/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -2898,6 +2898,7 @@ class Compiler
friend class CSE_HeuristicParameterized;
friend class CSE_HeuristicRLHook;
friend class CSE_Heuristic;
friend class CSE_CallPressure;
friend class CodeGenInterface;
friend class CodeGen;
friend class LclVarDsc;
Expand Down Expand Up @@ -8082,6 +8083,9 @@ class Compiler
unsigned optCSEcount = 0; // The total count of CSEs introduced.
unsigned optCSEunmarks = 0; // Number of CSE trees unmarked
weight_t optCSEweight; // The weight of the current block when we are doing PerformCSE
bool* optCSEusedLocals = nullptr; // Locals with remaining reads, collected while locating candidates;
// liveness ran before the value-number phases, so locals that since
// lost all reads can linger in the live sets
CSE_HeuristicCommon* optCSEheuristic = nullptr; // CSE Heuristic to use for this method

bool optIsCSEcandidate(GenTree* tree, bool isReturn = false);
Expand Down
3 changes: 3 additions & 0 deletions src/coreclr/jit/jitmetadatalist.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ JITMETADATAMETRIC(HoistedExpressions, int, 0)
JITMETADATAMETRIC(RedundantBranchesEliminated, int, JIT_METADATA_HIGHER_IS_BETTER)
JITMETADATAMETRIC(JumpThreadingsPerformed, int, JIT_METADATA_HIGHER_IS_BETTER)
JITMETADATAMETRIC(CseCount, int, 0)
JITMETADATAMETRIC(CsePressureSolvePasses, int, 0)
JITMETADATAMETRIC(CsePressureBlocksMeasured, int, 0)
JITMETADATAMETRIC(CsePressureNodesWalked, int, 0)
JITMETADATAMETRIC(BasicBlocksAtCodegen, int, 0)
JITMETADATAMETRIC(PerfScore, double, JIT_METADATA_LOWER_IS_BETTER)
JITMETADATAMETRIC(BytesAllocated, int64_t, JIT_METADATA_LOWER_IS_BETTER)
Expand Down
Loading
Loading