- Jul 21, 2009
-
-
David Greene authored
Prefix IR dumps with LiveInterval indices when possible. This turns this: %ESI<def> = MOV32rr %EDI<kill> ADJCALLSTACKDOWN64 0, %RSP<imp-def>, %EFLAGS<imp-def,dead>, %RSP<imp-use> %reg1027<def> = MOVZX64rr32 %ESI %reg1027<def> = ADD64ri8 %reg1027, 15, %EFLAGS<imp-def,dead> %reg1027<def> = AND64ri8 %reg1027, -16, %EFLAGS<imp-def,dead> %RDI<def> = MOV64rr %RSP %RDI<def> = SUB64rr %RDI, %reg1027<kill>, %EFLAGS<imp-def,dead> %RSP<def> = MOV64rr %RDI into this: 4 %reg1024<def> = MOV32rr %EDI<kill> 12 ADJCALLSTACKDOWN64 0, %RSP<imp-def>, %EFLAGS<imp-def,dead>, %RSP<imp-use> 20 %reg1025<def> = MOVZX64rr32 %reg1024 28 %reg1026<def> = MOV64rr %reg1025<kill> 36 %reg1026<def> = ADD64ri8 %reg1026, 15, %EFLAGS<imp-def,dead> 44 %reg1027<def> = MOV64rr %reg1026<kill> 52 %reg1027<def> = AND64ri8 %reg1027, -16, %EFLAGS<imp-def,dead> 60 %reg1028<def> = MOV64rr %RSP 68 %reg1029<def> = MOV64rr %reg1028<kill> 76 %reg1029<def> = SUB64rr %reg1029, %reg1027<kill>, %EFLAGS<imp-def,dead> 84 %RSP<def> = MOV64rr %reg1029 This helps greatly when debugging register allocation and coalescing problems. llvm-svn: 76615
-
Mike Stump authored
llvm-svn: 76614
-
Mike Stump authored
llvm-svn: 76613
-
Evan Cheng authored
llvm-svn: 76612
-
Mike Stump authored
llvm-svn: 76611
-
Mike Stump authored
llvm-svn: 76610
-
Mike Stump authored
llvm-svn: 76609
-
Mike Stump authored
llvm-svn: 76608
-
Mike Stump authored
llvm-svn: 76607
-
Mike Stump authored
llvm-svn: 76606
-
Mike Stump authored
functions that return a value. I was going to buffer the whole lot up, but it should be easier to review if I check them in incrementally. Most of the forth coming changes either add a return value, or make it impossible to return, or alter the return type. llvm-svn: 76605
-
Chris Lattner authored
and call PrintGlobalVariable, allowing elimination and simplification of various targets. llvm-svn: 76604
-
David Greene authored
Add PrefixPrinter arguments to the dump routines for MachineFunction and MachineBasicBlock. We'll use these shortly. llvm-svn: 76603
-
David Greene authored
Add a small utility class to configure IR printers. This will allow printers to do neat and wonderful things when printing debug information. The ideas is to allow passes to configer printers to emit pass-specific information when dumping IR. llvm-svn: 76602
-
David Greene authored
Make a bunch of changes suggested by Chris and others to improve efficiency. Fix a few formatting bugs along the way. llvm-svn: 76601
-
Evan Cheng authored
llvm-svn: 76600
-
Owen Anderson authored
llvm-svn: 76599
-
Owen Anderson authored
llvm-svn: 76598
-
Torok Edwin authored
llvm-svn: 76597
-
Chris Lattner authored
llvm-svn: 76596
-
Ted Kremenek authored
llvm-svn: 76595
-
Ted Kremenek authored
llvm-svn: 76594
-
Chris Lattner authored
chain to the super class instead of initializing mangler directly. This gives it .file and module level inline asm support among other things. llvm-svn: 76593
-
Chris Lattner authored
This eliminates redundancy setting up the mangler and adds support to them for module-level inline asm and a .file directive. llvm-svn: 76592
-
Chris Lattner authored
llvm-svn: 76591
-
Chris Lattner authored
LLVM IR concept. llvm-svn: 76590
-
Daniel Dunbar authored
Also, tweak the return type of size(). llvm-svn: 76588
-
Chris Lattner authored
llvm-svn: 76587
-
Chris Lattner authored
llvm-svn: 76586
-
Chris Lattner authored
vectors needlessly, doxygenify comments, improve constness, etc. llvm-svn: 76585
-
Argyrios Kyrtzidis authored
llvm-svn: 76583
-
Chris Lattner authored
llvm-svn: 76579
-
Chris Lattner authored
as much, etc. llvm-svn: 76578
-
Fariborz Jahanian authored
llvm-svn: 76577
-
Douglas Gregor authored
Zaffanella, with tweaks from Abramo Bagnara. llvm-svn: 76576
-
Daniel Dunbar authored
llvm-svn: 76559
-
Evan Cheng authored
Another rewriter bug exposed by recent coalescer changes. ReuseInfo::GetRegForReload() should make sure the "switched" register is in the desired register class. I'm surprised this hasn't caused more failures in the past. llvm-svn: 76558
-
Daniel Dunbar authored
llvm-svn: 76555
-
Daniel Dunbar authored
llvm-svn: 76554
-
Daniel Dunbar authored
llvm-svn: 76553
-