aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/EdgeBundles.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-04-30Convert several loops over MachineFunction basic blocks to range-based loopsAlexey Samsonov1-8/+5
llvm-svn: 207683
2014-04-24Remove C++11ism (specializing a template in a surrounding namespace) to ↵Richard Smith1-3/+5
appease the buildbots. llvm-svn: 207136
2014-04-24[modules] "Specialize" a function by actually specializing a function templateRichard Smith1-8/+9
rather than by adding an overload and hoping that it's declared before the code that calls it. (In a modules build, it isn't.) llvm-svn: 207133
2011-11-15Twinify GraphWriter a little bit.Benjamin Kramer1-1/+1
llvm-svn: 144647
2011-06-16Function::getNumBlockIDs() should be used instead of Function::size() to set ↵Anna Zaks1-1/+1
the upper limit on the block IDs since basic blocks might get removed (simplified away) after being initially numbered. Plus the test case, in which SelectionDAGBuilder::visitBr() calls llvm::MachineFunction::removeFromMBBNumbering(), which introduces the hole in numbering leading to an assert in llc (prior to the fix). llvm-svn: 133113
2011-04-09Build the Hopfield network incrementally when splitting global live ranges.Jakob Stoklund Olesen1-2/+13
It is common for large live ranges to have few basic blocks with register uses and many live-through blocks without any uses. This approach grows the Hopfield network incrementally around the use blocks, completely avoiding checking interference for some through blocks. llvm-svn: 129188
2011-01-05Add a hidden command line option to display edge bundle graphs as they areJakob Stoklund Olesen1-0/+7
calculated. llvm-svn: 122912
2011-01-04Turn the EdgeBundles class into a stand-alone machine CFG analysis pass.Jakob Stoklund Olesen1-0/+79
The analysis will be needed by both the greedy register allocator and the X86FloatingPoint pass. It only needs to be computed once when the CFG doesn't change. This pass is very fast, usually showing up as 0.0% wall time. llvm-svn: 122832