Chris Lattner
e36fd8a2ff
Reid had to call this class "slot machine" out of some strange reference
...
to the gambling device. Name it something more meaningful.
llvm-svn: 54974
2008-08-19 04:26:57 +00:00
Chris Lattner
cdceb08ca2
Use raw_ostream to output an unsigned.
...
llvm-svn: 54973
2008-08-19 04:23:15 +00:00
Chris Lattner
6e0fab4e43
add raw_ostream method for emitting an unsigned.
...
llvm-svn: 54972
2008-08-19 04:23:02 +00:00
Devang Patel
3978c758f7
Compress manpages.
...
llvm-svn: 54971
2008-08-19 01:17:41 +00:00
Ted Kremenek
55a3c78835
Update checker-78.
...
llvm-svn: 54970
2008-08-19 01:17:30 +00:00
Owen Anderson
7f3bfbd23b
Make SimpleSpiller respect subregister indices.
...
llvm-svn: 54968
2008-08-19 01:05:33 +00:00
Chris Lattner
5caafe598f
add testcase we already handle.
...
llvm-svn: 54967
2008-08-19 00:58:40 +00:00
Chris Lattner
f076d5eea8
add a note
...
llvm-svn: 54964
2008-08-19 00:41:02 +00:00
Owen Anderson
442dc6fed0
Add a flag to enable the fast spilling path.
...
llvm-svn: 54958
2008-08-19 00:17:30 +00:00
Dan Gohman
4afb478d59
Fix the FastISel class' doxygen comment.
...
llvm-svn: 54957
2008-08-18 23:41:46 +00:00
Owen Anderson
a57c57067d
Fix a few more bugs:
...
1) Assign stack slots to new temporaries.
2) Don't insert an interval into the return vector more than once.
llvm-svn: 54956
2008-08-18 23:41:04 +00:00
Argyrios Kyrtzidis
3bab3d21f9
Add ExplicitCastExpr to replace the current CastExpr, and have ImplicitCastExpr and ExplicitCastExpr derive from a common base class (CastExpr):
...
Expr
-> CastExpr
-> ExplicitCastExpr
-> ImplicitCastExpr
llvm-svn: 54955
2008-08-18 23:01:59 +00:00
Chris Lattner
3f4c68b78e
proper grammar n stuph
...
llvm-svn: 54954
2008-08-18 22:51:28 +00:00
Chris Lattner
e5d812af59
warn when someone tries to make an array of ObjC interfaces instead of array
...
of pointers to them. rdar://4304469
llvm-svn: 54953
2008-08-18 22:49:54 +00:00
Argyrios Kyrtzidis
22fc2665e6
"Remove the 'else' since the code is fallthrough after it." - suggestion by Chris.
...
llvm-svn: 54952
2008-08-18 22:49:40 +00:00
Chris Lattner
927b5a5ac2
remove empty file
...
llvm-svn: 54950
2008-08-18 21:27:19 +00:00
Owen Anderson
60f6b2cac0
Fix several bugs in the new fast-path:
...
1) Remove an incorrect assertion.
2) Set the stack slot weight properly.
3) Resize the VirtRegMap when needed.
llvm-svn: 54949
2008-08-18 21:20:32 +00:00
Ted Kremenek
b3c98d3a88
Record arguments in .info file.
...
llvm-svn: 54947
2008-08-18 20:55:25 +00:00
Daniel Dunbar
aa64b7e0a8
Support initialization of incomplete array with zero size (as
...
extension).
llvm-svn: 54946
2008-08-18 20:28:46 +00:00
Chris Lattner
22361bf422
Fix PR2627, support for Q constraint.
...
llvm-svn: 54943
2008-08-18 20:05:00 +00:00
Anton Korobeynikov
4ebf3009ed
Unbreak cpp backend: upgrade output due to change in APInt API
...
llvm-svn: 54942
2008-08-18 20:03:45 +00:00
Chris Lattner
496acc1815
Several cleanups and tweaks to diagnostics in Sema::ActOnAsmStmt,
...
no other functionality change.
llvm-svn: 54941
2008-08-18 19:55:17 +00:00
Chris Lattner
7f33544cc7
fix bogus run line.
...
llvm-svn: 54940
2008-08-18 19:54:48 +00:00
Owen Anderson
e996a12f27
Clients of addIntervalForSpills expect the added intervals to be returned sorted by starting index.
...
llvm-svn: 54939
2008-08-18 19:52:22 +00:00
Chris Lattner
30fc0583b3
Fix a bug daniel pointed out to me, where asmprinter started
...
printing ascii code for hex numbers instead of the hex numbers
themselves.
llvm-svn: 54936
2008-08-18 19:41:26 +00:00
Ted Kremenek
5abf546865
scan-build/ccc-analyzer now also report clang parser failures.
...
llvm-svn: 54931
2008-08-18 18:38:29 +00:00
Owen Anderson
75e27d2402
Simplify the fast-patch interval spilling by using MachineRegisterInfo::reg_iterator.
...
llvm-svn: 54930
2008-08-18 18:38:12 +00:00
Bill Wendling
fe18a8d9f1
XFAIL this test for now.
...
llvm-svn: 54929
2008-08-18 18:29:54 +00:00
Daniel Dunbar
031ace2a6a
Make TargetInfo::DescriptionString const (avoid compiler warnings)
...
llvm-svn: 54928
2008-08-18 18:25:59 +00:00
Daniel Dunbar
8c1d83f3b5
Add svn:ignore on lib/Driver/Release-Asserts
...
llvm-svn: 54925
2008-08-18 18:05:58 +00:00
Owen Anderson
cc9314ba32
Resurrect some ancient code to add spill ranges without attempting folding, remat, or splitting. This code has been updated to current APIs
...
in so far as it compiles and, in theory, works, but does not take advantage of recent advancements. For instance, it could be improved by using
MachineRegisterInfo::use_iterator.
llvm-svn: 54924
2008-08-18 18:05:32 +00:00
Daniel Dunbar
309dd7e31a
Change test/Makefile to automatically test all subdirs.
...
llvm-svn: 54923
2008-08-18 18:05:17 +00:00
Daniel Dunbar
5a42754328
Fix test case RUN: line (thanks Argiris)
...
llvm-svn: 54922
2008-08-18 17:52:17 +00:00
Nicolas Geoffray
ba694a32dc
Register the frame register function when allocating the JIT,
...
so that lli works out of the box with -enable-eh.
llvm-svn: 54920
2008-08-18 14:53:56 +00:00
Sanjiv Gupta
14f18f3f91
Allow targets to override description string.
...
llvm-svn: 54914
2008-08-18 10:05:22 +00:00
Evan Cheng
0d19699e52
ARM asm printer can't handle dwarf info yet.
...
llvm-svn: 54913
2008-08-18 08:52:48 +00:00
Bill Wendling
cf596eb12f
Don't hoist instructions that have implicit uses or defines. Before, it was
...
hoisting out some "test" and "cmp" instructions. This was obvious badness.
llvm-svn: 54908
2008-08-18 00:33:49 +00:00
Nick Lewycky
75d4a83f2f
Make this comment clearer. Instead of using an ambiguous ~ (not) on an icmp
...
predicate, swap the order of the operands.
llvm-svn: 54907
2008-08-17 20:02:02 +00:00
Nick Lewycky
53b44029d6
Consider the case where xor by -1 and xor by 128 have been combined already to
...
produce an xor by 127.
llvm-svn: 54906
2008-08-17 19:58:24 +00:00
Gordon Henriksen
f37daa50da
Update VC++ project.
...
llvm-svn: 54905
2008-08-17 19:57:31 +00:00
Evan Cheng
8ec334f45e
Didn't mean to change this.
...
llvm-svn: 54904
2008-08-17 19:25:28 +00:00
Evan Cheng
ab35bfdf18
Fix a (u)comiss intrinsic lowering bug. It was using anyext which can return junk in higher bits. Patch by Nate Begeman.
...
llvm-svn: 54903
2008-08-17 19:22:34 +00:00
Gordon Henriksen
aa8ab4501a
Don't require Registry specializations to define random static variables.
...
llvm-svn: 54902
2008-08-17 19:08:34 +00:00
Gordon Henriksen
86e7d0a1df
Drop an unnecessary include.
...
llvm-svn: 54901
2008-08-17 18:54:05 +00:00
Gordon Henriksen
a149e7ab25
Regenerate.
...
llvm-svn: 54900
2008-08-17 18:48:50 +00:00
Gordon Henriksen
d930f913e6
Rename some GC classes so that their roll will hopefully be clearer.
...
In particular, Collector was confusing to implementors. Several
thought that this compile-time class was the place to implement
their runtime GC heap. Of course, it doesn't even exist at runtime.
Specifically, the renames are:
Collector -> GCStrategy
CollectorMetadata -> GCFunctionInfo
CollectorModuleMetadata -> GCModuleInfo
CollectorRegistry -> GCRegistry
Function::getCollector -> getGC (setGC, hasGC, clearGC)
Several accessors and nested types have also been renamed to be
consistent. These changes should be obvious.
llvm-svn: 54899
2008-08-17 18:44:35 +00:00
Cedric Venet
954553c4ce
Make it compile on VC2005:
...
- update VC projects.
- Add an overload to llvm::Stream for <<, since std::hex and std::dec have type std::ios_base& (*)(std::ios_base&) in VC++. (templating the function don't work, due to ambiguities)
- add ../ on several include in X86/AsmPrinter/
llvm-svn: 54898
2008-08-17 18:24:26 +00:00
Chris Lattner
663d292430
getLLVMName is only used for types now, which always pass in LocalPrefix. Specialize on it.
...
llvm-svn: 54897
2008-08-17 17:28:37 +00:00
Chris Lattner
a204d41ac7
switch valuemap's from std::map to densemap. This speeds up llvm-dis
...
on a stripped kc++ .bc file from 0.83 to 0.77s (8%)
llvm-svn: 54896
2008-08-17 17:25:25 +00:00
Gordon Henriksen
e431adbfc7
Don't instantiate GC metadata for declarations.
...
llvm-svn: 54895
2008-08-17 16:18:50 +00:00