aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorLayton Kifer <laytonkifer@gmail.com>2020-05-08 14:18:53 -0700
committerEli Friedman <efriedma@quicinc.com>2020-05-08 14:36:02 -0700
commit23cbea9a04e023d5b79dfee5964fae769340c993 (patch)
treeabc388bf2650536bf22343bd0c9ce24b60ae5655 /llvm/lib/Analysis/CodeMetrics.cpp
parent39772063f513ef24729ed9f20830e887d89459b6 (diff)
downloadllvm-23cbea9a04e023d5b79dfee5964fae769340c993.zip
llvm-23cbea9a04e023d5b79dfee5964fae769340c993.tar.gz
llvm-23cbea9a04e023d5b79dfee5964fae769340c993.tar.bz2
[TRE][NFC] Refactor shared state into member variables.
Separate functions that require shared state into a class to avoid needing to pass them though multiple functions just to be available where needed. The main motivation for this is that we would like to remove the limitation that accumulator values be dynamic constant, which would require additional shared state between call eliminations in the same function, compounding this issue. Differential Revision: https://reviews.llvm.org/D79299
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions