diff options
| author | Layton Kifer <laytonkifer@gmail.com> | 2020-05-08 14:18:53 -0700 | 
|---|---|---|
| committer | Eli Friedman <efriedma@quicinc.com> | 2020-05-08 14:36:02 -0700 | 
| commit | 23cbea9a04e023d5b79dfee5964fae769340c993 (patch) | |
| tree | abc388bf2650536bf22343bd0c9ce24b60ae5655 /llvm/lib/Analysis/CodeMetrics.cpp | |
| parent | 39772063f513ef24729ed9f20830e887d89459b6 (diff) | |
| download | llvm-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
