summaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2011-06-28- Rename TargetInstrDesc, TargetOperandInfo to MCInstrDesc and MCOperandInfo andEvan Cheng1-3/+3
2011-06-14Add 132986 back, but avoid non-determinism if a bb address gets reused.Rafael Espindola1-5/+24
2011-06-14revert 132986 to see if the bots go green.Rafael Espindola1-21/+5
2011-06-14Make the threshold used by branch folding softer. Before we would get aRafael Espindola1-5/+21
2011-05-26Add comment.Devang Patel1-0/+3
2011-05-26During branch folding avoid inserting redundant DBG_VALUE machine instructions.Devang Patel1-0/+13
2011-05-12Update comment.Evan Cheng1-2/+0
2011-05-12Re-enable branchfolding common code hoisting optimization. Fixed a liveness t...Evan Cheng1-13/+38
2011-05-12Temporarily disable the transformation. It's breaking 186.crafty in some conf...Evan Cheng1-0/+4
2011-05-12Re-commit 131172 with fix. MachineInstr identity checks should check deadEvan Cheng1-6/+263
2011-05-11Revert 131172 as it is causing clang to miscompile itself. I will tryRafael Espindola1-261/+6
2011-05-11Add a late optimization to BranchFolding that hoist common instruction sequencesEvan Cheng1-6/+261
2011-04-22Branch folding is folding a landing pad into a regular BB.Bill Wendling1-1/+1
2011-02-21Add more debugging output.Evan Cheng1-2/+4
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson1-1/+1
2010-08-06Revert r110396 to fix buildbots.Owen Anderson1-1/+1
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson1-1/+1
2010-06-22Tail merging pass shall not break up IT blocks. rdar://8115404Evan Cheng1-5/+18
2010-06-18Allow ARM if-converter to be run after post allocation scheduling.Evan Cheng1-16/+2
2010-06-17Add a DebugLoc parameter to TargetInstrInfo::InsertBranch(). ThisStuart Hastings1-13/+18
2010-05-03Fix a bug which prevented tail merging of return instructions inDan Gohman1-24/+5