aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCSE.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-05-06Re-revert r130877; it's apparently causing a regression on 197.parser,Eli Friedman1-50/+27
2011-05-05Minor correction to r130877; fixes PR9846 and hopefully the buildbot failures.Eli Friedman1-1/+2
2011-05-04Re-commit r130862 with a minor change to avoid an iterator running off the ed...Eli Friedman1-27/+49
2011-05-04Back out r130862; it appears to be breaking bootstrap.Eli Friedman1-43/+27
2011-05-04Teach MachineCSE how to do simple cross-block CSE involving physregs. This a...Eli Friedman1-27/+43
2011-04-11Fix a couple of places where changes are made but not tracked.Evan Cheng1-2/+6
2011-01-10fit in 80 cols and use MBB::isSuccessor instead of a handChris Lattner1-5/+4
2011-01-10Simplify a bunch of isVirtualRegister() and isPhysicalRegister() logic.Jakob Stoklund Olesen1-2/+2
2011-01-07Do not model all INLINEASM instructions as having unmodelled side effects.Evan Cheng1-1/+1
2011-01-03Use a RecyclingAllocator to allocate values for MachineCSE's ScopedHashTable forCameron Zwarich1-3/+7
2010-12-15Teach machine cse to commute instructions.Evan Cheng1-2/+19
2010-10-29Teach machine cse to eliminate instructions with multiple physreg uses and de...Evan Cheng1-50/+45
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson1-1/+3
2010-10-12Begin adding static dependence information to passes, which will allow us toOwen Anderson1-1/+5
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
2010-10-06Add MachineRegisterInfo::constrainRegClass and use it in MachineCSE.Jakob Stoklund Olesen1-7/+2
2010-09-17Machine CSE was forgetting to clear some data structures.Evan Cheng1-0/+7
2010-09-17Fix a potential bug that can cause miscomparison with and without debug info.Evan Cheng1-1/+1
2010-08-17Machine CSE preserves CFG. Pass manager was freeing machineloopinfo after mac...Evan Cheng1-0/+1
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-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson1-2/+2
2010-07-16Remove many calls to TII::isMoveInstr. Targets should be producing COPY anyway.Jakob Stoklund Olesen1-30/+4
2010-07-08Convert EXTRACT_SUBREG to COPY when emitting machine instrs.Jakob Stoklund Olesen1-0/+22
2010-07-03Detect and handle COPY in many places.Jakob Stoklund Olesen1-2/+2
2010-06-04Re-apply 105308 with fix.Evan Cheng1-7/+13
2010-06-03Revert 105308.Bob Wilson1-1/+4
2010-06-02Enable machine cse of instructions which define physical registers.Evan Cheng1-4/+1
2010-05-21Make this LookAheadLimit, not the uninitialized LookAheadLeft.Eric Christopher1-1/+1
2010-05-21Allow machine cse to cse instructions which define physical registers. Contro...Evan Cheng1-27/+81
2010-05-13Add a utility function for conservatively clearing kill flags, and makeDan Gohman1-1/+4
2010-04-21Rewrite machine cse to avoid recursion.Evan Cheng1-11/+85
2010-04-20Typo.Evan Cheng1-1/+1
2010-04-02After trivial coalescing, the MI being visited may have become a copy. Avoid ...Evan Cheng1-1/+5
2010-03-24dbg_value may end a block.Evan Cheng1-4/+4
2010-03-23Code clean up.Evan Cheng1-6/+6
2010-03-11Fix debug_value handling.Dale Johannesen1-2/+6
2010-03-10Add a couple more heuristics to neuter machine cse some more.Evan Cheng1-13/+57
2010-03-09Allow more cross-rc coalescing.Evan Cheng1-10/+13
2010-03-09Don't do illegal cross-class coalescing.Jakob Stoklund Olesen1-1/+1
2010-03-09- Make the machine cse dumb coalescer (as opposed to the more awesome simpleEvan Cheng1-13/+57
2010-03-08Don't waste time trying to CSE labels, phis, inline asm. Definitely avoid cse...Evan Cheng1-0/+4
2010-03-08Restrict machine cse to really trivial coalescing. Leave the heavy lifting to...Evan Cheng1-0/+3
2010-03-06Don't update physical register def.Evan Cheng1-2/+3
2010-03-04Avoid cse load instructions unless they are known to be invariant loads.Evan Cheng1-10/+36
2010-03-04Look ahead a bit to determine if a physical register def that is not marked d...Evan Cheng1-6/+61
2010-03-03Fix a logic error. An instruction that has a live physical register def canno...Evan Cheng1-2/+5
2010-03-03Re-apply r97667 but with a little bit of thought put into the patch. This imp...Evan Cheng1-65/+3
2010-03-03Revert 97667. It broke a bunch of tests.Dan Gohman1-0/+63