aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAlloc/InterferenceGraph.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-09-21 01:23:46 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-09-21 01:23:46 +0000
commit4efe342424898fb37027040676b96c41a536c361 (patch)
tree7757e4c885cf7f3cf2effafa63cd82567c169387 /lib/CodeGen/RegAlloc/InterferenceGraph.h
parent628bf091e6e1ceff40ee8847a8b044369318e243 (diff)
Convert PhyRegAlloc into a proper pass.
PhyRegAlloc.cpp: Don't include TargetMachine.h or TargetRegInfo.h, because these are provided by PhyRegAlloc.h. Merge class RegisterAllocator into class PhyRegAlloc. Simplify & move ctor, dtor to PhyRegAlloc.h. Make some of PhyRegAlloc's reference members into pointer members, so they can be more easily messed with. MarkAllocatedRegs() becomes a member method, with fewer args. PhyRegAlloc.h: Include Pass.h, TargetMachine.h and TargetRegInfo.h. Don't declare TargetRegInfo forward. Give AddedInstrns the obvious clear() method. Make some of PhyRegAlloc's reference members into pointer members, so they can be more easily messed with. Add prototype for markAllocatedRegs(). Remove unused inline void constructLiveRanges(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/InterferenceGraph.h')
0 files changed, 0 insertions, 0 deletions