summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineBlockPlacement.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-03-07[C++11] Add 'override' keyword to virtual methods that override their base cl...Craig Topper1-4/+4
2014-03-02[C++11] Replace llvm::next and llvm::prior with std::next and std::prev.Benjamin Kramer1-13/+13
2014-03-01Now that we have C++11, turn simple functors into lambdas and remove a ton of...Benjamin Kramer1-18/+3
2014-01-03Add a LLVM_DUMP_METHOD macro.Nico Weber1-1/+1
2013-12-14[block-freq] Update MachineBlockPlacement and RegAllocGreedy to use the new M...Michael Gottesman1-5/+6
2013-12-10Fix gcc warnings.Matt Arsenault1-0/+2
2013-12-05Revert part of GCC warning fix to fix debug build.Matt Arsenault1-0/+1
2013-12-05Fix minor GCC warnings.Matt Arsenault1-1/+0
2013-11-25Output a bit more information in the debug printing for MBP. This wasChandler Carruth1-3/+4
2013-11-20MachineBlockPlacement: Strengthen the source order bias when picking an exit ...Benjamin Kramer1-4/+13
2013-06-04Fix a defect in code-layout pass, improving Benchmarks/Olden/em3d/em3d by abo...Shuxin Yang1-1/+25
2013-04-12Don't disable block layout when forcing block alignment.Nadav Rotem1-8/+6
2013-04-12Add a flag to align all basic blocks in the function.Nadav Rotem1-0/+14
2013-03-29Fix a typoNadav Rotem1-1/+1
2013-01-11Split TargetLowering into a CodeGen and a SelectionDAG part.Benjamin Kramer1-1/+1
2012-12-30Remove the Function::getFnAttributes method in favor of using the AttributeSetBill Wendling1-2/+2
2012-12-19Rename the 'Attributes' class to 'Attribute'. It's going to represent a singl...Bill Wendling1-1/+1
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-5/+5
2012-10-09Create enums for the different attributes.Bill Wendling1-1/+2
2012-09-26Remove the `hasFnAttr' method from Function.Bill Wendling1-1/+1
2012-09-14Remove silly dead store. Patch by Ettl Martin.Duncan Sands1-2/+1
2012-08-07Add a much more conservative strategy for aligning branch targets.Chandler Carruth1-15/+49
2012-07-31Reverse order of the two branches at end of a basic block if it is profitable.Manman Ren1-1/+15
2012-06-26Update a bunch of stale comments that dated from when this folled theChandler Carruth1-14/+11
2012-06-02Fix typos found by http://github.com/lyda/misspell-checkBenjamin Kramer1-4/+4
2012-04-16Add a somewhat hacky heuristic to do something different from whole-loopChandler Carruth1-3/+78
2012-04-16Tweak the loop rotation logic to check whether the loop is naturallyChandler Carruth1-11/+51
2012-04-16Rewrite how machine block placement handles loop rotation.Chandler Carruth1-66/+70
2012-04-10Make a somewhat subtle change in the logic of block placement. SometimesChandler Carruth1-0/+12
2012-04-08Remove an over zealous assert. The assert was trying to catch placesChandler Carruth1-1/+0
2012-04-08Add a debug-only 'dump' method to the BlockChain structure to easeChandler Carruth1-0/+8
2012-02-08Codegen pass definition cleanup. No functionality.Andrew Trick1-12/+2
2011-12-21Revert patch from 147090. There is not point to make code less readable if weJakub Staszak1-43/+45
2011-12-21- Change a few operator[] to lookup which is cheaper.Jakub Staszak1-45/+43
2011-12-07Remove unneeded semicolon.Jakub Staszak1-3/+3
2011-12-07Remove unneeded type.Jakub Staszak1-2/+0
2011-12-06- Remove unneeded #includes.Jakub Staszak1-25/+4
2011-11-27Prevent rotating the blocks of a loop (and thus getting a backedge to beChandler Carruth1-0/+16
2011-11-27Take two on rotating the block ordering of loops. My previous attemptChandler Carruth1-85/+103
2011-11-27Fix an impressive type-o / spell-o Duncan noticed.Chandler Carruth1-1/+1
2011-11-27Rework a bit of the implementation of loop block rotation to not rely soChandler Carruth1-21/+31
2011-11-27Introduce a loop block rotation optimization to the new block placementChandler Carruth1-3/+92
2011-11-24Fix a silly use-after-free issue. A much earlier version of this codeChandler Carruth1-2/+2
2011-11-24When adding blocks to the list of those which no longer have any CFGChandler Carruth1-3/+3
2011-11-23Relax an invariant that block placement was trying to assert a bitChandler Carruth1-3/+1
2011-11-23Fix a crash in block placement due to an inner loop that happened to beChandler Carruth1-1/+4
2011-11-20The logic for breaking the CFG in the presence of hot successors didn'tChandler Carruth1-3/+29
2011-11-19Move the handling of unanalyzable branches out of the loop-driven chainChandler Carruth1-25/+33
2011-11-15Rather than trying to use the loop block sequence *or* the functionChandler Carruth1-27/+24
2011-11-14It helps to deallocate memory as well as allocate it. =] This actuallyChandler Carruth1-0/+1