aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocFast.cpp
AgeCommit message (Expand)Author
2011-02-04Mark that the return is using EAX so that we don't use it for some otherNick Lewycky
2011-01-10Simplify a bunch of isVirtualRegister() and isPhysicalRegister() logic.Jakob Stoklund Olesen
2011-01-09Remove MachineRegisterInfo::getLastVirtReg(), it was giving wrong resultsJakob Stoklund Olesen
2011-01-09Replace TargetRegisterInfo::printReg with a PrintReg class that also works wi...Jakob Stoklund Olesen
2010-12-08Fix comment.Eric Christopher
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson
2010-09-10Add DEBUG message.Devang Patel
2010-09-03previous patch was a little too tricky for its own good. Don't try toJim Grosbach
2010-09-01The register allocator shouldn't consider allocating reserved registers.Jim Grosbach
2010-09-01tidy up a few 80-column and trailing whitespace bits.Jim Grosbach
2010-08-31Ignore unallocatable registers in RegAllocFast.Jakob Stoklund Olesen
2010-08-21Delete dead comment.Eli Friedman
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson
2010-08-06While emitting DBG_VALUE for registers spilled at the end of a block do not u...Devang Patel
2010-08-06Revert r110396 to fix buildbots.Owen Anderson
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson
2010-08-04While spilling live registers at the end of block check whether they are used...Devang Patel
2010-07-29Fix a bug in the -regalloc=fast handling of exotic two-address instruction withJakob Stoklund Olesen
2010-07-19Fix memory leak reported by valgrind. Devang Patel
2010-07-16Remove many calls to TII::isMoveInstr. Targets should be producing COPY anyway.Jakob Stoklund Olesen
2010-07-09Update DBG_VALUE to refer appropriate stack slot in case of a spill.Devang Patel
2010-07-03Detect and handle COPY in many places.Jakob Stoklund Olesen
2010-06-29Fix the handling of partial redefines in the fast register allocator.Jakob Stoklund Olesen
2010-06-28Add more special treatment for inline asm in RegAllocFast.Jakob Stoklund Olesen
2010-06-15Avoid processing early clobbers twice in RegAllocFast.Jakob Stoklund Olesen
2010-06-04Keep track of the call instructions whose clobber lists were skipped during fastJakob Stoklund Olesen
2010-05-19Add support for partial redefs to the fast register allocator.Jakob Stoklund Olesen
2010-05-18Properly handle multiple definitions of a virtual register in the sameJakob Stoklund Olesen
2010-05-17Pull the UsedInInstr.test() calls into calcSpillCost() and remember aliases.Jakob Stoklund Olesen
2010-05-17Remove debug option. Add comment on spill order determinism.Jakob Stoklund Olesen
2010-05-17Avoid allocating the same physreg to multiple virtregs in one instruction.Jakob Stoklund Olesen
2010-05-17Minor optimizations. DenseMap::begin() is surprisingly slow on an empty map.Jakob Stoklund Olesen
2010-05-17Extract spill cost calculation to a new method, and use definePhysReg() to clearJakob Stoklund Olesen
2010-05-17Only use clairvoyance when defining a register, and then only if it has one use.Jakob Stoklund Olesen
2010-05-17Eliminate a hash table probe when killing virtual registers.Jakob Stoklund Olesen
2010-05-17Execute virtreg kills immediately instead of after processing all uses.Jakob Stoklund Olesen
2010-05-17Sprinkle superregister <imp-def> and <imp-kill> operands when dealing with su...Jakob Stoklund Olesen
2010-05-17Now that we don't keep live registers across calls, there is not reason to goJakob Stoklund Olesen
2010-05-17Boldly attempt consistent capitalization. Functional changes unintended.Jakob Stoklund Olesen
2010-05-17Spill and kill all virtual registers across a call.Jakob Stoklund Olesen
2010-05-17Reduce hashtable probes by using DenseMap::insert() for lookup.Jakob Stoklund Olesen
2010-05-17Make MBB a class member instead of passing it around everywhere.Jakob Stoklund Olesen
2010-05-15Fix an GCC warning that seems to have actually caught a bug (!!!) inChandler Carruth
2010-05-15Calculate liveness on the fly for local registers.Jakob Stoklund Olesen
2010-05-14Don't bother spilling before a returnJakob Stoklund Olesen
2010-05-14Track allocatable instead of reserved regs, and never take an unallocatable h...Jakob Stoklund Olesen
2010-05-14Avoid scanning the long tail of physreg operands on callsJakob Stoklund Olesen
2010-05-14Count coalesced copiesJakob Stoklund Olesen
2010-05-14Allow virtreg redefines when verifying for RegAllocFastJakob Stoklund Olesen
2010-05-14When verifying two-address instructions, check the following:Jakob Stoklund Olesen