Chris Lattner
1d5cf4bcdd
add nounwinds
...
llvm-svn: 66773
2009-03-12 05:35:33 +00:00
Daniel Dunbar
6f2650de80
ccc: Tweak some group names.
...
llvm-svn: 66772
2009-03-12 04:50:20 +00:00
Bill Wendling
207495d8ea
Revert r66765 and r66766. These were causing build failures on Darwin.
...
llvm-svn: 66770
2009-03-12 04:10:09 +00:00
Daniel Dunbar
c800391fb9
Driver: Add definitions for all the gcc options the current ccc
...
understands.
llvm-svn: 66769
2009-03-12 03:55:01 +00:00
Zhongxing Xu
5a6fee9fb8
Use getAsRecordType() to get around sugar types.
...
llvm-svn: 66768
2009-03-12 03:45:35 +00:00
Daniel Dunbar
c727e9310d
Driver: Tweak option naming/def:
...
- Use OPT_ prefix for ids.
- Reference groups and aliases by shortend id (on the theory that
this is more readable).
- Rename the special option ids to more protected names.
llvm-svn: 66767
2009-03-12 03:42:54 +00:00
Nick Lewycky
c46949c278
Regenerate.
...
llvm-svn: 66766
2009-03-12 03:34:33 +00:00
Nick Lewycky
ca433d8a84
Set ARCH to x86 on mixed 32/64-bit Linux systems.
...
Remove the explicit if OS = Darwin test around the setting of -m32/-m64.
llvm-svn: 66765
2009-03-12 03:34:19 +00:00
Daniel Dunbar
a27669f1d8
ccc: Cleanup arguments a bit; we don't need a separate group for
...
-fblocks, and there were some duplicate options scattered in.
llvm-svn: 66764
2009-03-12 03:28:55 +00:00
Sanjiv Gupta
8bb50e2344
Forgot to check-in this as part of 7761.
...
llvm-svn: 66763
2009-03-12 03:20:07 +00:00
Daniel Dunbar
a61bb4d198
Fix uninitialized use in GetAddrOfGlobalBlock, reenable assert.
...
- Mike, please verify.
llvm-svn: 66762
2009-03-12 03:07:24 +00:00
Sanjiv Gupta
f883419b2f
Banksel optimization is now based on the section names of symbols, since the symbols in one section will always be put into one bank.
...
llvm-svn: 66761
2009-03-12 02:10:45 +00:00
Zhongxing Xu
ca026916f4
Add comments to test case.
...
llvm-svn: 66760
2009-03-12 01:55:38 +00:00
Daniel Dunbar
71dc375142
Driver: Reorder arguments in Options.def so option name is first.
...
llvm-svn: 66759
2009-03-12 01:46:53 +00:00
Daniel Dunbar
2c3939cb5d
Driver: Add ArgList::hasArg, for testing for the presence of an
...
argument matching some Option::ID.
llvm-svn: 66758
2009-03-12 01:36:44 +00:00
Daniel Dunbar
8fa943436b
Driver: Add Option::getId and Option::matches taking an option
...
identifier; we will want to use the latter in situations where we just
want to check for a match, but not load options unnecessarily.
llvm-svn: 66757
2009-03-12 01:34:20 +00:00
Daniel Dunbar
adca11c2dd
Driver: Add default index (=0) for Arg::getValue and add Arg::claim
...
(will be used to emit "command line argument unused" diagnostics).
llvm-svn: 66756
2009-03-12 01:32:10 +00:00
Dale Johannesen
9cdb9bb3e5
Allow for switch values bigger than 64 bits.
...
llvm-svn: 66751
2009-03-12 01:20:06 +00:00
Daniel Dunbar
aa75c9d8d8
Add StringMap::lookup.
...
llvm-svn: 66750
2009-03-12 01:16:06 +00:00
Dale Johannesen
5a41b2def5
Fix some nondeterministic behavior when forwarding
...
from a switch table. Multiple table entries that
branch to the same place were being sorted by the
pointer value of the ConstantInt*; changed to sort
by the actual value of the ConstantInt.
llvm-svn: 66749
2009-03-12 01:00:26 +00:00
Evan Cheng
690b635aa6
Also pass -gcc-tool-args when building a shared object.
...
llvm-svn: 66746
2009-03-12 00:53:34 +00:00
Douglas Gregor
83e9e91479
Note some advances in our C++ support
...
llvm-svn: 66742
2009-03-12 00:09:31 +00:00
Douglas Gregor
9f7c1c3d32
Properly restore ActiveScope when we exit parsing of a block. This
...
should fix the largest problem in <rdar://problem/6669847>.
llvm-svn: 66741
2009-03-11 23:54:15 +00:00
Douglas Gregor
04e9a03e6f
Fix various problems with matching out-of-line definitions of static
...
class members to the corresponding in-class declaration.
Diagnose the erroneous use of 'static' on out-of-line definitions of
class members.
llvm-svn: 66740
2009-03-11 23:52:16 +00:00
Ted Kremenek
f9351cff98
Remove '[naming convention]' from bug type.
...
llvm-svn: 66739
2009-03-11 23:43:16 +00:00
Chris Lattner
84f3afab97
add some spaces :)
...
llvm-svn: 66738
2009-03-11 23:09:16 +00:00
Daniel Dunbar
d295bf1d46
ccc: -x assembler-with-cpp was broken for darwin, and it wasn't using
...
clang as the preprocessor even when it should.
llvm-svn: 66737
2009-03-11 23:07:54 +00:00
Gabor Greif
65fe8349c6
gnu++0x is definitely *not* the default
...
llvm-svn: 66736
2009-03-11 23:07:18 +00:00
Dan Gohman
5637df37cd
Revert r66024. The JIT encoding for CALLpcrel32 is wrong -- see PR3773, and the
...
assembly text output uses an indirect call ("call *") instead of a direct call.
llvm-svn: 66735
2009-03-11 23:01:47 +00:00
Douglas Gregor
0c88030abd
Move most of the checking from ActOnCXXMemberDeclarator to other, more general routines. This is a step toward separating the checking logic from Declarators, which in turn is required for template instantiation.
...
llvm-svn: 66734
2009-03-11 23:00:04 +00:00
Gabor Greif
d9065c4e29
update
...
llvm-svn: 66733
2009-03-11 22:52:25 +00:00
Chris Lattner
99d892b892
don't use strtoul on a non-null-terminated string.
...
llvm-svn: 66732
2009-03-11 22:52:17 +00:00
Rafael Espindola
294943c99b
optimize i8 and i16 tls values.
...
llvm-svn: 66725
2009-03-11 22:40:04 +00:00
Owen Anderson
aabe06d92a
Reorganization: Move the Spiller out of VirtRegMap.cpp into its own files. No (intended) functionality change.
...
llvm-svn: 66720
2009-03-11 22:31:21 +00:00
Bill Wendling
42adc73a2b
Add a -no-implicit-float flag. This acts like -soft-float, but may generate
...
floating point instructions that are explicitly specified by the user.
llvm-svn: 66719
2009-03-11 22:30:01 +00:00
Dale Johannesen
08ccba73a7
Skip interleaved debug info when fast-forwarding through
...
allocations. Apparently the assumption is there is an
instruction (terminator?) following the allocation so I
am allowing the same assumption.
llvm-svn: 66716
2009-03-11 22:19:43 +00:00
Evan Cheng
6cba561648
My last coalescer fix introduced a subtler one. It's aborting a commuting optimization too late and left the live intervals to be out of sync with instructions. This fixes 8b10b.
...
llvm-svn: 66715
2009-03-11 22:18:44 +00:00
Daniel Dunbar
8ce48d8c10
x86_32 ABI: Don't try and expand structures with bitfields.
...
- This is an ABI incompatiblity, but this is not likely to be a huge
deal in practice. For now we at least generate self consistent code
instead of crashing.
- <rdar://problem/6657601> x86-32 ABI: Bitfields in small structures
are not passed correctly
llvm-svn: 66713
2009-03-11 22:05:26 +00:00
Ted Kremenek
0f4b0d27f8
Add TypedViewRegion::isBoundable() to indicate whether or not the
...
TypedViewRegion has a valid rvalue type. Also renamed instance variable 'T' to
'LvalueType' to make it unambiguous of its purpose.
This fixes some crashes I was seeing after:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090309/013771.html
This is because 'isBoundable()' is defined in TypedRegion (the parent class) in
terms of the rvalue type (which could be null), while for TypedViewRegion it
should be defined in terms of the lvalue type.
llvm-svn: 66712
2009-03-11 21:57:34 +00:00
Fariborz Jahanian
99bee42be2
Code refactoring. No change in functionality.
...
llvm-svn: 66710
2009-03-11 21:42:00 +00:00
Dale Johannesen
f61c8e81bd
Debug intriniscs should be skipped when looking
...
for a dependency, not terminate the search.
llvm-svn: 66709
2009-03-11 21:13:01 +00:00
Anton Korobeynikov
7d4d379a00
Another bug :(
...
llvm-svn: 66708
2009-03-11 21:05:21 +00:00
Fariborz Jahanian
cbaf73cd26
More of objc2's ivar layout bitmap (Next: specific).
...
Work in progress.
llvm-svn: 66707
2009-03-11 20:59:05 +00:00
Douglas Gregor
4261e4c363
Make sure that we set the access specifier for an instantiated FieldDecl, and that the aggregate and POD flags for an instantiated class template are updated based on instantiation of a FieldDecl
...
llvm-svn: 66701
2009-03-11 20:50:30 +00:00
Torok Edwin
5202cc0036
Make Print callable from a pass's print method: add const qualifier. No
...
functionality change.
llvm-svn: 66700
2009-03-11 20:50:17 +00:00
Anton Korobeynikov
38961d5bd6
I should definitely read make docs someday :(
...
llvm-svn: 66699
2009-03-11 20:40:15 +00:00
Douglas Gregor
775d092550
Eliminate CXXClassMemberWrapper
...
llvm-svn: 66698
2009-03-11 20:25:10 +00:00
Gabor Greif
42225e50f3
do not pretend llvm/.../*.h being system headers
...
llvm-svn: 66697
2009-03-11 20:23:40 +00:00
Douglas Gregor
212cab3f64
Eliminate CXXClassVarDecl. It doesn't add anything
...
llvm-svn: 66696
2009-03-11 20:22:50 +00:00
Anton Korobeynikov
3b046d084e
Unbreak the build. Dunno, why it did not fail on mingw :(
...
llvm-svn: 66692
2009-03-11 20:16:05 +00:00