- May 07, 2009
-
-
Bill Wendling authored
llvm-svn: 71138
-
Argyrios Kyrtzidis authored
-Have it return a label ID -Remove the unused Instruction parameter No functionality change. llvm-svn: 71132
-
- May 06, 2009
-
-
Bill Wendling authored
change. - Reformatting. llvm-svn: 71118
-
Evan Cheng authored
llvm-svn: 71098
-
Oscar Fuentes authored
llvm-svn: 71085
-
Duncan Sands authored
are legal. Based on a patch by Micah Villmow. llvm-svn: 71078
-
Lang Hames authored
llvm-svn: 71057
-
- May 05, 2009
-
-
Dan Gohman authored
allow it to have multiple CFG edges to that block. This is needed to allow MachineBasicBlock::isOnlyReachableByFallthrough to work correctly. This fixes PR4126. llvm-svn: 71018
-
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
-