- May 05, 2009
-
-
Evan Cheng authored
llvm-svn: 71010
-
Chris Lattner authored
For implicit decls like "self" and "_cmd" in ObjC, these decls should not have a location. llvm-svn: 70964
-
Evan Cheng authored
llvm-svn: 70953
-
Evan Cheng authored
llvm-svn: 70950
-
Evan Cheng authored
llvm-svn: 70937
-
Chris Lattner authored
shows up in -print-machineinstrs. This doesn't appear to affect anything, but it was weird for some DBG_LABELs to have DebugLocs but not all of them. llvm-svn: 70921
-
- May 04, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 70900
-
Argyrios Kyrtzidis authored
-Depend on DebugLocs for source line info. (Comes with Regression-Be-Gone(tm)) llvm-svn: 70871
-
Evan Cheng authored
llvm-svn: 70821
-
Evan Cheng authored
The stack slots which share the same stack slot after coloring can, but do not have to, use the same register. In fact, they each may have different register class requirements. llvm-svn: 70815
-
Argyrios Kyrtzidis authored
llvm-svn: 70811
-
Argyrios Kyrtzidis authored
-Depend on DebugLocs for source line info. llvm-svn: 70803
-
- May 03, 2009
-
-
Evan Cheng authored
llvm-svn: 70792
-
Evan Cheng authored
In some rare cases, the register allocator can spill registers but end up not utilizing registers at all. The fundamental problem is linearscan's backtracking can end up freeing more than one allocated registers. However, reloads and restores might be folded into uses / defs and freed registers might not be used at all. VirtRegMap keeps track of allocations so it knows what's not used. As a horrible hack, the stack coloring can color spill slots with *free* registers. That is, it replace reload and spills with copies from and to the free register. It unfold instructions that load and store the spill slot and replace them with register using variants. Not yet enabled. This is part 1. More coming. llvm-svn: 70787
-
Anton Korobeynikov authored
llvm-svn: 70770
-
Anton Korobeynikov authored
llvm-svn: 70764
-
Anton Korobeynikov authored
llvm-svn: 70750
-
Anton Korobeynikov authored
llvm-svn: 70749
-
Argyrios Kyrtzidis authored
-Create DebugLocs without the need to have a DwarfWriter around llvm-svn: 70682
-
- May 01, 2009
-
-
Bob Wilson authored
Changes to take advantage of this will come later. llvm-svn: 70560
-
Bill Wendling authored
llvm-svn: 70539
-
Bill Wendling authored
llvm-svn: 70537
-
Bill Wendling authored
llvm-svn: 70534
-
Bill Wendling authored
llvm-svn: 70533
-
Evan Cheng authored
llvm-svn: 70524
-
Argyrios Kyrtzidis authored
-Replace DebugLocTuple's Source ID with CompileUnit's GlobalVariable* -Remove DwarfWriter::getOrCreateSourceID -Make necessary changes for the above (fix callsites, etc.) llvm-svn: 70520
-
- Apr 30, 2009
-
-
Jakob Stoklund Olesen authored
llvm-svn: 70513
-
Evan Cheng authored
Add a smarter heuristic to determine when to coalesce a virtual register with a physical one. More specifically, it avoid tying a virtual register in the loop with a physical register defined / used outside the loop. When it determines it's not profitable, it will use the physical register as the allocation preference instead. This is *not* turned on by default. Testing indicates this is just as likely to pessimize code. The main issue seems to be allocation preference doesn't work effectively. That will change once I've taught register allocator "swapping". llvm-svn: 70503
-
Jay Foad authored
class. llvm-svn: 70488
-
Chris Lattner authored
memory operands otherwise the writebacks get lost when the inline asm doesn't otherwise have side effects. This fixes rdar://6839427, though clang really shouldn't generate these anymore. llvm-svn: 70455
-
Bill Wendling authored
which better identifies what the optimization is doing. And is more flexible for future uses. llvm-svn: 70440
-
Nate Begeman authored
llvm-svn: 70425
-
- Apr 29, 2009
-
-
Jakob Stoklund Olesen authored
llvm-svn: 70408
-
Nate Begeman authored
llvm-svn: 70391
-
Evan Cheng authored
spillPhysRegAroundRegDefsUses() may have invalidated iterators stored in fixed_ IntervalPtrs. Reset them. llvm-svn: 70378
-
Nate Begeman authored
llvm-svn: 70372
-
Sanjiv Gupta authored
llvm-svn: 70366
-
Chris Lattner authored
anything larger than 64-bits, avoiding a crash. This should really be fixed to use APInts, though type legalization happens to help us out and we get good code on the attached testcase at least. This fixes rdar://6836460 llvm-svn: 70360
-
Evan Cheng authored
Determine allocation 'preference' with right register class. I haven't seen this changing codegen so no test case. llvm-svn: 70351
-
Bill Wendling authored
Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to use the old behavior, the flag is -O0. This change allows for finer-grained control over which optimizations are run at different -O levels. Most of this work was pretty mechanical. The majority of the fixes came from verifying that a "fast" variable wasn't used anymore. The JIT still uses a "Fast" flag. I'll change the JIT with a follow-up patch. llvm-svn: 70343
-