aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BranchFolding.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-11-19Update SetVector to rely on the underlying set's insert to return a pair<iter...David Blaikie1-1/+1
2014-10-14Remove unnecessary TargetMachine.h includes.Eric Christopher1-1/+0
2014-08-07[Branch probability] Recompute branch weights of tail-merged basic blocks.Akira Hatanaka1-5/+72
2014-08-05Have MachineFunction cache a pointer to the subtarget to make lookupsEric Christopher1-4/+3
2014-08-04Changed the liveness tracking in the RegisterScavengerPedro Artigas1-4/+2
2014-08-04Remove the TargetMachine forwards for TargetSubtargetInfo basedEric Christopher1-4/+5
2014-06-05Prevent hoisting the instruction whose def might be clobbered by the terminator.Sasa Stankovic1-4/+11
2014-04-22[Modules] Remove potential ODR violations by sinking the DEBUG_TYPEChandler Carruth1-1/+2
2014-04-14[C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper1-35/+36
2014-03-31Disable each MachineFunctionPass for 'optnone' functions, unless thatPaul Robinson1-0/+3
2014-03-26This is a fix for PR# 19051. I noticed code gen differences due to code motio...Ekaterina Romanova1-1/+1
2014-03-07[C++11] Add 'override' keyword to virtual methods that override their base cl...Craig Topper1-2/+2
2014-03-02[C++11] Replace llvm::next and llvm::prior with std::next and std::prev.Benjamin Kramer1-17/+17
2013-12-07Add a RequireStructuredCFG Field to TargetMachine.Vincent Lejeune1-1/+5
2013-06-24Fix tail merging to assign the (more) correct BasicBlock when splitting.Andrew Trick1-4/+11
2013-05-22Simplify logic now that r182490 is in place. No functional change intended.Chad Rosier1-2/+2
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-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-9/+9
2012-11-27Remove unneeded #include.Jakub Staszak1-1/+0
2012-10-09Create enums for the different attributes.Bill Wendling1-1/+2
2012-10-07Fix indentation. Remove 'else' after return. No functional change.Craig Topper1-11/+8
2012-09-26Remove the `hasFnAttr' method from Function.Bill Wendling1-1/+1
2012-08-22Reduce duplicated hash map lookups.Benjamin Kramer1-2/+1
2012-06-02Fix typos found by http://github.com/lyda/misspell-checkBenjamin Kramer1-1/+1
2012-06-01Switch all register list clients to the new MC*Iterator interface.Jakob Stoklund Olesen1-9/+8
2012-06-01Switch some getAliasSet clients to MCRegAliasIterator.Jakob Stoklund Olesen1-9/+6
2012-05-23Forgot to reverse conditional.Bill Wendling1-1/+1
2012-05-23Reduce indentation by early detection of 'continue'. No functionality change.Bill Wendling1-79/+87
2012-04-23This patch fixes a problem which arose when using the Post-RA schedulerPreston Gurd1-1/+1
2012-03-27Branch folding may invalidate liveness.Jakob Stoklund Olesen1-2/+9
2012-03-07Where the BranchFolding pass removes a branch then adds another better branch,Bill Wendling1-4/+27
2012-03-05Convert more GenRegisterInfo tables from unsigned to uint16_t to reduce stati...Craig Topper1-2/+2
2012-03-04Use uint16_t to store register overlaps to reduce static data.Craig Topper1-5/+5
2012-02-22Remove extra semi-colons.Chad Rosier1-2/+2
2012-02-15Handle register masks in branch folding.Jakob Stoklund Olesen1-0/+8
2012-02-08Move pass configuration out of pass constructors: BranchFolderPassAndrew Trick1-12/+16
2012-02-08whitespaceAndrew Trick1-2/+2
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie1-1/+2
2012-01-12When hoisting common code, watch out for uses which are marked "kill". If theEvan Cheng1-0/+5
2012-01-07Revert part of r147716. Looks like x87 instructions kill markers are all messedEvan Cheng1-9/+11
2012-01-07Added a late machine instruction copy propagation pass. This catchesEvan Cheng1-11/+9
2011-12-14- Add MachineInstrBundle.h and MachineInstrBundle.cpp. This includes a functionEvan Cheng1-2/+3
2011-12-07Add bundle aware API for querying instruction properties and switch the codeEvan Cheng1-8/+7
2011-10-26Reapply r142920 with fix:Bill Wendling1-0/+3
2011-10-25Revert commit 142891. Takumi bisected the tablegen miscompilesDuncan Sands1-2/+1
2011-10-25An MBB which branches to an EH landing pad shouldn't be considered for tail m...Bill Wendling1-1/+2
2011-08-05Fix liveness computations in BranchFolding.Jakob Stoklund Olesen1-13/+16
2011-07-06When tail-merging multiple blocks, make sure to correctly update the live-in ...Eli Friedman1-10/+21