aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RenderMachineFunction.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-06-16Add TargetRegisterInfo::getRawAllocationOrder().Jakob Stoklund Olesen1-4/+2
This virtual function will replace allocation_order_begin/end as the one to override when implementing custom allocation orders. It is simpler to have one function return an ArrayRef than having two virtual functions computing different ends of the same array. Use getRawAllocationOrder() in place of allocation_order_begin() where it makes sense, but leave some clients that look like they really want the filtered allocation orders from RegisterClassInfo. llvm-svn: 133170
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner1-1/+1
Luis Felipe Strano Moraes! llvm-svn: 129558
2010-10-21The variable liTRC is not used for anything useful, zap itDuncan Sands1-5/+0
(gcc-4.6 warning). llvm-svn: 117022
2010-10-12Begin adding static dependence information to passes, which will allow us toOwen Anderson1-1/+6
perform initialization without static constructors AND without explicit initialization by the client. For the moment, passes are required to initialize both their (potential) dependencies and any passes they preserve. I hope to be able to relax the latter requirement in the future. llvm-svn: 116334
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
llvm-svn: 115996
2010-09-02Added support for register allocators to record which intervals are spill ↵Lang Hames1-10/+95
intervals, and where the uses and defs of the original intervals were in the original code. Spill intervals can be hidden using the "-rmf-intervals=virt-nospills*" option. llvm-svn: 112811
2010-08-11Fix a FIXME. The SlotIndex::Slot enum should be private.Jakob Stoklund Olesen1-5/+3
llvm-svn: 110826
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson1-2/+3
llvm-svn: 109045
2010-07-21Changed OStream templates to functions on raw_ostream, removed the unused ↵Lang Hames1-25/+12
"renderWarnings" function. llvm-svn: 109003
2010-07-20Updated css classes for the pressure table legend.Lang Hames1-3/+3
llvm-svn: 108839
2010-07-20Oops - I tables render poorly in Chrome without this explicit height ↵Lang Hames1-1/+1
specification. llvm-svn: 108824
2010-07-20Use run-length encoding to represent identical adjacent cells in the pressureLang Hames1-33/+87
and interval table. Reduces output HTML file sizes by ~80% in my test cases. Also fix access of private member type by << operator. llvm-svn: 108823
2010-07-20Added support for turning HTML indentation on and off (indentation off by ↵Lang Hames1-80/+105
default). Reduces output file size ~20% on my test cases. llvm-svn: 108822
2010-07-20Switched to rendering after allocation (but before rewriting) in PBQP.Lang Hames1-30/+60
Updated renderer to use allocation information from VirtRegMap (if available) to render spilled intervals differently. llvm-svn: 108815
2010-07-19Render MachineFunctions to HTML pages, with options to render registerLang Hames1-0/+834
pressure estimates and liveness alongside. Still experimental. llvm-svn: 108698