John McCall
cd5d3ee8c4
Typo. Patch by arrowdodger.
...
llvm-svn: 127256
2011-03-08 18:01:22 +00:00
Benjamin Kramer
b8ca01fff5
Reduce vector reallocations.
...
llvm-svn: 127254
2011-03-08 17:28:36 +00:00
Douglas Gregor
f2f0806f71
Teach libclang's token-annotation logic about context-sensitive
...
keywords for Objective-C+ and C++0x.
llvm-svn: 127253
2011-03-08 17:10:18 +00:00
Chris Lattner
c7b48d40d4
fix incorrect comment.
...
llvm-svn: 127252
2011-03-08 16:59:03 +00:00
Abramo Bagnara
ea94788cf4
Fixed source range for StaticAssertDecl and LinkageSpecDecl. Fixed source range for declarations using postfix types.
...
llvm-svn: 127251
2011-03-08 16:41:52 +00:00
Devang Patel
e1aa67cff5
Since last couple of days, argument number is encoded using 8 bits from line number field in argument's debug info.
...
llvm-svn: 127250
2011-03-08 16:29:40 +00:00
Devang Patel
fb30b85e7c
Update DILexicalBlock doc to mention new fields.
...
llvm-svn: 127249
2011-03-08 16:25:29 +00:00
Anders Carlsson
a426705cc6
When writing file references in a pch, make sure to ask the file manager for the absolute path.
...
llvm-svn: 127248
2011-03-08 16:04:35 +00:00
Benjamin Kramer
679cfb54ec
X86: Fix the (saddo/ssub x, 1) -> incl/decl selection to check the right operand for 1.
...
Found by inspection.
llvm-svn: 127247
2011-03-08 15:20:20 +00:00
Justin Holewinski
42e9aaa4b1
PTX: Add intrinsic support for ntid, ctaid, and nctaid registers
...
llvm-svn: 127246
2011-03-08 14:10:18 +00:00
Oscar Fuentes
6ec5983a0c
Make a comparator's argument `const'. This fixes the build for MSVC 9.
...
llvm-svn: 127245
2011-03-08 13:52:07 +00:00
Oscar Fuentes
a693632dfd
Remove remnant of my experimentation with CMake.
...
llvm-svn: 127244
2011-03-08 13:30:52 +00:00
Duncan Sands
7dc3d47c34
Fix PR9331. Simplified version of a patch by Jakub Staszak.
...
llvm-svn: 127243
2011-03-08 12:39:03 +00:00
Abramo Bagnara
b5545be14b
Fixed NamespaceDecl source range.
...
llvm-svn: 127242
2011-03-08 12:38:20 +00:00
NAKAMURA Takumi
5918457b5b
lib/Support/regcomp.c: Fix cygwin warning.
...
llvm-svn: 127241
2011-03-08 12:25:29 +00:00
NAKAMURA Takumi
8506e4a1d6
Use $(ECHOPATH) to make llvm-lit from llvm-lit.in.
...
llvm-svn: 127240
2011-03-08 12:25:19 +00:00
NAKAMURA Takumi
0b26c3a674
Reapply r127073(partially): Introduce $(ECHOPATH) to print DOSish path string on MSYS bash for alternative of $(ECHO).
...
On mingw and python/w32, lit would not be expected to understand MSYS-style path.
llvm-svn: 127239
2011-03-08 12:25:10 +00:00
NAKAMURA Takumi
2b7eeb2b4b
lib/Basic/Targets.cpp: mingw-w64 should define __MINGW32__, too.
...
llvm-svn: 127238
2011-03-08 12:06:46 +00:00
Abramo Bagnara
20c9e24241
Fixed bitfields source range.
...
llvm-svn: 127237
2011-03-08 11:07:11 +00:00
Bill Wendling
05334dad60
Testcase for r127187.
...
llvm-svn: 127236
2011-03-08 10:27:58 +00:00
John McCall
5c8f6c47c4
Emit block capture initializers as if they were normal initializers for a local
...
variable that just happens to be stored in a wierd place.
llvm-svn: 127235
2011-03-08 09:38:48 +00:00
John McCall
91ca10fe64
Extract a function to emit an arbitrary expression as if it were the initializer
...
for a local variable.
llvm-svn: 127227
2011-03-08 09:11:50 +00:00
Abramo Bagnara
dff1930bf7
Fixed source range for all DeclaratorDecl's.
...
llvm-svn: 127225
2011-03-08 08:55:46 +00:00
Bill Wendling
45f470b86d
Don't show commands.
...
llvm-svn: 127224
2011-03-08 08:34:49 +00:00
John Wiegley
b4a9e51342
Removed trailing whitespace as a test commit
...
llvm-svn: 127223
2011-03-08 08:13:22 +00:00
John McCall
462c055d85
Fix my earlier commit to work with escaped newlines and leave breadcrumbs
...
in case we want to make a world where we can check intermediate instantiations
for this kind of breadcrumb.
llvm-svn: 127221
2011-03-08 07:59:04 +00:00
Nick Lewycky
afc8098c9e
Reorder comments to put them the right way around.
...
llvm-svn: 127220
2011-03-08 06:29:47 +00:00
John McCall
ed14ad24e0
objc_gc wants a pointer type, not a function type; give it a more appropriate
...
diagnostic. Also, these attributes are commonly written with macros which we
actually pre-define, so instead of expanding the macro location, refer to the
instantiation location and name it using the macro loc.
llvm-svn: 127219
2011-03-08 04:17:03 +00:00
Stephen Wilson
d126c8cc5a
Fix ObjectFileElf::GetEntryPointAddress()
...
ELF object files do not implicitly have a symbol named "start" as an entry
point. For example, on Linux it is often named "_start", but can be trivially
set to any symbol by passing an --entry argument to the linker.
Use the ELF header to determine the entry point and resolve the associated
section based on that address.
Also, update the linux dynamic loader to call GetEntryPointAddress instead of
GetEntryPoint.
llvm-svn: 127218
2011-03-08 04:12:15 +00:00
John McCall
97c250405b
Update the check for a NULL macro to use Preprocessor::getSpelling().
...
llvm-svn: 127217
2011-03-08 04:07:54 +00:00
John McCall
cff9bcfbd3
Add an API call to retrieve the spelling data of a token from its SourceLocation.
...
llvm-svn: 127216
2011-03-08 04:06:57 +00:00
Stephen Wilson
8f0daa28d4
Add Makefile support for the new DynamicLoaderStatic plugin.
...
llvm-svn: 127215
2011-03-08 03:57:00 +00:00
Devang Patel
97d0be8ee1
While sinking an instruction, do not lose llvm.dbg.value intrinsic.
...
llvm-svn: 127214
2011-03-08 03:06:19 +00:00
Bill Wendling
1d5532a0d5
Change the next release number to 3.0svn.
...
llvm-svn: 127213
2011-03-08 03:00:02 +00:00
Bill Wendling
a259686db1
A few more tests for instruction encodings.
...
llvm-svn: 127209
2011-03-08 02:51:48 +00:00
Eric Christopher
eb19e9e9fc
Turn on list-ilp scheduling by default on x86 and x86-64, fix up
...
testcases accordingly. Some are currently xfailed and will be filed
as bugs to be fixed or understood.
Performance results:
roughly neutral on SPEC
some micro benchmarks in the llvm suite are up between 100 and 150%, only
a pair of regressions that are due to be investigated
john-the-ripper saw:
10% improvement in traditional DES
8% improvement in BSDI DES
59% improvement in FreeBSD MD5
67% improvement in OpenBSD Blowfish
14% improvement in LM DES
Small compile time impact.
llvm-svn: 127208
2011-03-08 02:42:25 +00:00
Douglas Gregor
6203d49b0e
Detect attempts to provide a specialization of a function within a
...
dependent scope and produce an error (rather than crashing). Fixes PR8979.
llvm-svn: 127206
2011-03-08 02:04:14 +00:00
Jim Ingham
bd3f260698
I didn't notice there was already an ObjectFile::GetEntryPoint. Move that over to GetEntryPointAddress 'cause that's more consistent with other functions in ObjectFile, do the mutatis mutandi and also in the ELF case I return a section offset address rather than a bare load address.
...
llvm-svn: 127205
2011-03-08 01:54:01 +00:00
Andrew Trick
52b3e38a1f
Further improvements to pre-RA-sched=list-ilp.
...
This change uses the MaxReorderWindow for both height and depth, which
tends to limit the negative effects of high register pressure.
llvm-svn: 127203
2011-03-08 01:51:56 +00:00
Jim Ingham
5ca40258ea
Reverting the part of the debug-in-ofile patch from earlier today that removes them from the shared module list. That was causing a bunch of asserts. Greg is working on a better fix.
...
llvm-svn: 127201
2011-03-08 01:49:10 +00:00
Bob Wilson
45acbd03db
Fix a compiler crash where a Glue value had multiple uses. Radar 9049552.
...
llvm-svn: 127198
2011-03-08 01:17:20 +00:00
Bob Wilson
70bd363517
Fix comment typos.
...
llvm-svn: 127197
2011-03-08 01:17:16 +00:00
Jim Ingham
672e6f59c5
Add a method "GetEntryPoint" to the ObjectFile class, and implement it on MachO & ELF - though the ELF implementation is probably a little weak. Then use this method in place of directly looking for "start" in the ThreadPlanCallFunction constructor to find the stopping point for our function evaluation.
...
llvm-svn: 127194
2011-03-07 23:44:08 +00:00
Bill Wendling
77ad1dc56d
Rename the narrow shift right immediate operands to "shr_imm*" operands. Also
...
expand the testing of the narrowing shift right instructions.
No functionality change.
llvm-svn: 127193
2011-03-07 23:38:41 +00:00
Jakob Stoklund Olesen
71c380f6c7
Let shrinkToUses optionally return a list of now dead machine instructions.
...
llvm-svn: 127192
2011-03-07 23:29:10 +00:00
Caroline Tice
6258c53e12
Add thread state initialization to the thread where the interactive
...
interpreter is run (which is separate from the thread where
Py_Initialize is called, where this normally gets set up).
llvm-svn: 127191
2011-03-07 23:24:28 +00:00
Carl Norum
58d489fc6e
Fix tests to account for new warning "expected ';' at end of declaration list". Sorry, folks!
...
llvm-svn: 127188
2011-03-07 22:57:45 +00:00
Eric Christopher
ac546dc62e
Typos.
...
llvm-svn: 127186
2011-03-07 22:48:16 +00:00
Bill Wendling
ec9d2633f1
When we adjust the inline ASM type, we need to take into account an early
...
clobber with the 'y' constraint. Otherwise, we get the wrong return type and an
assert, because it created a '<1 x i64>' vector type instead of the x86_mmx
type.
llvm-svn: 127185
2011-03-07 22:47:14 +00:00
Johnny Chen
d648135902
Add an extra twist of stopping the inferior in a breakpoint, and then continue till it's done.
...
We should still see the entire stdout redirected once the process is finished.
llvm-svn: 127184
2011-03-07 22:46:30 +00:00