Evan Cheng
c9ec735aa8
80 col violation.
...
llvm-svn: 76629
2009-07-21 19:25:09 +00:00
Mike Stump
f4464156cf
Prep for new warning.
...
llvm-svn: 76628
2009-07-21 19:03:43 +00:00
Mike Stump
447351f1ff
Prep for new warning.
...
llvm-svn: 76627
2009-07-21 19:02:55 +00:00
Mike Stump
c4e34f2d8b
Prep for new warning.
...
llvm-svn: 76626
2009-07-21 19:01:48 +00:00
Mike Stump
d6fce57ba7
Prep for new warning.
...
llvm-svn: 76625
2009-07-21 19:01:31 +00:00
Mike Stump
414c3b435a
Prep for new warning.
...
llvm-svn: 76624
2009-07-21 19:01:01 +00:00
Mike Stump
a319fe36c3
Prep for new warning.
...
llvm-svn: 76623
2009-07-21 19:00:12 +00:00
Douglas Gregor
ddbf4e0c2c
Make Sema::ActOnCXXEnterDeclaratorScope robust against failures to compute
...
the declaration context, as occurs with out-of-line class template member
definitions.
llvm-svn: 76622
2009-07-21 18:59:28 +00:00
Mike Stump
3fe60b2118
Prep for new warning.
...
llvm-svn: 76621
2009-07-21 18:59:16 +00:00
Mike Stump
d74687fac6
Prep for new warning.
...
llvm-svn: 76620
2009-07-21 18:58:50 +00:00
Mike Stump
13876e914b
Prep for new warning.
...
llvm-svn: 76619
2009-07-21 18:58:15 +00:00
Mike Stump
4cac3e34e5
Prep for new warning.
...
llvm-svn: 76617
2009-07-21 18:57:14 +00:00
Mike Stump
5fbc72bfd5
Prep for new warning.
...
llvm-svn: 76616
2009-07-21 18:56:34 +00:00
David Greene
ef1f36d3c7
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
2009-07-21 18:56:32 +00:00
Mike Stump
6a2bf11c55
Prep for new warning.
...
llvm-svn: 76614
2009-07-21 18:56:04 +00:00
Mike Stump
0aaf1308fc
Prep for new warning.
...
llvm-svn: 76613
2009-07-21 18:54:29 +00:00
Evan Cheng
18e32946f8
Add fake v7 itineraries for now.
...
llvm-svn: 76612
2009-07-21 18:54:14 +00:00
Mike Stump
6a18fb2dad
Prep for new warning.
...
llvm-svn: 76611
2009-07-21 18:52:41 +00:00
Mike Stump
9832fcb598
Prep for new warning.
...
llvm-svn: 76610
2009-07-21 18:51:31 +00:00
Mike Stump
c2ec778641
Prep for new warning.
...
llvm-svn: 76609
2009-07-21 18:48:43 +00:00
Mike Stump
79a9f20c4d
Prep for new warning.
...
llvm-svn: 76608
2009-07-21 18:46:15 +00:00
Mike Stump
41ecf6cc3d
Prep for new warning.
...
llvm-svn: 76607
2009-07-21 18:45:53 +00:00
Mike Stump
d1ee66e412
Prep for new warning.
...
llvm-svn: 76606
2009-07-21 18:45:22 +00:00
Mike Stump
77cfd7a9ca
Prep for new warnings about control flow falling off the ends of
...
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
2009-07-21 18:44:24 +00:00
Chris Lattner
100865e59d
make AsmPrinter::doFinalization iterate over the global variables
...
and call PrintGlobalVariable, allowing elimination and simplification
of various targets.
llvm-svn: 76604
2009-07-21 18:38:57 +00:00
David Greene
3b458645be
Add PrefixPrinter arguments to the dump routines for MachineFunction and
...
MachineBasicBlock. We'll use these shortly.
llvm-svn: 76603
2009-07-21 18:27:05 +00:00
David Greene
92ebf9dd6e
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
2009-07-21 18:21:46 +00:00
David Greene
5e165083a0
Make a bunch of changes suggested by Chris and others to improve
...
efficiency. Fix a few formatting bugs along the way.
llvm-svn: 76601
2009-07-21 18:16:24 +00:00
Evan Cheng
38e88cb53f
Do not select tSXTB / tSXTH in thumb2 mode.
...
llvm-svn: 76600
2009-07-21 18:15:26 +00:00
Owen Anderson
a265a3876c
Update for LLVM API change.
...
llvm-svn: 76599
2009-07-21 18:06:41 +00:00
Owen Anderson
c37bc69e91
Rename getConstantInt{True|False} to get{True|False} at Chris' behest.
...
llvm-svn: 76598
2009-07-21 18:03:38 +00:00
Torok Edwin
26aafc1ab5
Add freed memory poisoning in !NDEBUG mode for DenseMap.
...
llvm-svn: 76597
2009-07-21 18:01:37 +00:00
Chris Lattner
f5f5880c5a
reduce indentation by using an early exit.
...
llvm-svn: 76596
2009-07-21 17:59:36 +00:00
Ted Kremenek
d0014cf36d
Update CMake files.
...
llvm-svn: 76595
2009-07-21 17:43:20 +00:00
Ted Kremenek
4f9b1d0327
Use string comparison instead of numeric comparison when comparing digests.
...
llvm-svn: 76594
2009-07-21 17:41:55 +00:00
Chris Lattner
767e90ef30
whitespace cleanups, make the MipsAsmPrinter::doInitialization
...
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
2009-07-21 17:39:48 +00:00
Chris Lattner
249df80306
fix Sparc, SystemZ, and MSP430 to not override AsmPrinter::doInitialization.
...
This eliminates redundancy setting up the mangler and adds support to them
for module-level inline asm and a .file directive.
llvm-svn: 76592
2009-07-21 17:37:35 +00:00
Chris Lattner
8e55200089
convert this test to filecheck format, which is faster and avoids false matches of "st" -> "stdin"
...
llvm-svn: 76591
2009-07-21 17:36:24 +00:00
Chris Lattner
1177cee9dc
Rename LessPrivateGlobalPrefix -> LinkerPrivateGlobalPrefix to match the
...
LLVM IR concept.
llvm-svn: 76590
2009-07-21 17:30:51 +00:00
Daniel Dunbar
731269f9a7
Move StringRef comparison operators out of class.
...
Also, tweak the return type of size().
llvm-svn: 76588
2009-07-21 17:25:46 +00:00
Chris Lattner
ca8192744a
fix indentation
...
llvm-svn: 76587
2009-07-21 17:25:13 +00:00
Chris Lattner
b43f7cba73
remove an unneeded override.
...
llvm-svn: 76586
2009-07-21 17:23:41 +00:00
Chris Lattner
ecaf7dedd2
more random whitespace cleanup, eliminate #define, avoid copying
...
vectors needlessly, doxygenify comments, improve constness, etc.
llvm-svn: 76585
2009-07-21 17:20:18 +00:00
Argyrios Kyrtzidis
33c70c9388
Consider nested-names as part of the declarator when resolving an ambiguous statement.
...
llvm-svn: 76583
2009-07-21 17:05:03 +00:00
Chris Lattner
b61f9c8c8d
add a testcase for the pic16 section handling stuff.
...
llvm-svn: 76579
2009-07-21 16:48:20 +00:00
Chris Lattner
0e6e8cb590
some simple whitespace cleanup, avoid copying vectors for no reason
...
as much, etc.
llvm-svn: 76578
2009-07-21 16:44:47 +00:00
Fariborz Jahanian
b154ecafa6
Diagnose when a destructor uses a unrelated class type as its name.
...
llvm-svn: 76577
2009-07-21 15:28:50 +00:00
Douglas Gregor
82fe3e3398
Add the location of the tag keyword into TagDecl. From Enea
...
Zaffanella, with tweaks from Abramo Bagnara.
llvm-svn: 76576
2009-07-21 14:46:17 +00:00
Daniel Dunbar
1f982105a6
Add StringRef::{substr, startswith}.
...
llvm-svn: 76559
2009-07-21 09:18:49 +00:00
Evan Cheng
07a6ac6b29
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
2009-07-21 09:15:00 +00:00