diff options
author | Marcello Maggioni <hayarms@gmail.com> | 2020-03-22 19:08:29 -0700 |
---|---|---|
committer | Marcello Maggioni <hayarms@gmail.com> | 2020-04-10 11:26:21 -0700 |
commit | ea11f4726f2fb30ec319ca579234c620532d088b (patch) | |
tree | 48e758beabd4c6e4afeba35fc36e202057f39966 /llvm/lib/CodeGen/MachineDebugify.cpp | |
parent | 882ba484743763b8560b08f483ae21d26ab336f9 (diff) | |
download | llvm-ea11f4726f2fb30ec319ca579234c620532d088b.zip llvm-ea11f4726f2fb30ec319ca579234c620532d088b.tar.gz llvm-ea11f4726f2fb30ec319ca579234c620532d088b.tar.bz2 |
Split LiveRangeCalc in LiveRangeCalc/LiveIntervalCalc. NFC
Summary:
Refactor LiveRangeCalc such that it is now split into two classes
The objective is to split all the "register specific" logic away
from LiveRangeCalc.
The two new classes created are:
- LiveRangeCalc - is meant as a generic class to compute and modify
live ranges in a generic way. This class should deal only with
SlotIndices and VNInfo objects.
- LiveIntervalCals - is meant to be equivalent to the old LiveRangeCalc.
It computes the liveness virtual registers tracked by a LiveInterval
object.
With this refactoring LiveRangeCalc can be used to implement tracking of
liveness of LiveRanges that represent other things than just registers.
Subscribers: MatzeB, qcolombet, mgorny, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76584
Diffstat (limited to 'llvm/lib/CodeGen/MachineDebugify.cpp')
0 files changed, 0 insertions, 0 deletions