Chris Lattner
b9d4dfc86a
Change to match 115473.
...
llvm-svn: 115474
2010-10-03 19:09:22 +00:00
Chris Lattner
d3593c3a8e
the immediate field of pshufw is actually an 8-bit field, not a 8-bit field that is sign extended. This fixes PR8288
...
llvm-svn: 115473
2010-10-03 19:09:13 +00:00
Rafael Espindola
66e08d43d2
Jim Asked us to move DataLayout on ARM back to the most specialized classes. Do
...
so and also change X86 for consistency.
Investigating if this can be improved a bit.
llvm-svn: 115469
2010-10-03 18:59:45 +00:00
Chris Lattner
b44b202d66
add support for the prefetch/prefetchw instructions, move femms into
...
the right file. The assembler supports all the 3dnow instructions now,
but not the "3dnowa" ones.
llvm-svn: 115468
2010-10-03 18:42:30 +00:00
Chris Lattner
3a0a620c2e
what the heck, add support for the rest of the 3dNow! binary operations.
...
llvm-svn: 115467
2010-10-03 18:24:18 +00:00
Chris Lattner
45270db916
Implement support for the bizarre 3DNow! encoding (which is unlike anything
...
else in X86), and add support for pavgusb. This is apparently the
only instruction (other than movsx) that is preventing ffmpeg from building
with clang.
If someone else is interested in banging out the rest of the 3DNow!
instructions, it should be quite easy now.
llvm-svn: 115466
2010-10-03 18:08:05 +00:00
Duncan Sands
5db3884d94
GCC extensions are no longer used here - update the comment.
...
llvm-svn: 115463
2010-10-03 15:31:50 +00:00
Duncan Sands
6d80481b68
Remove two uses of the gcc specific 'aligned' attribute. This
...
is partly because this attribute caused trouble in the past (the
SmallVector one had to be changed from aligned to aligned(8) due
to causing crashes on i386 for example; in theory the same might
be needed in the Allocator case...). But it's mostly because
there seems to be no point in special casing gcc here. Using the
same implementation for all compilers results in better testing.
llvm-svn: 115462
2010-10-03 15:15:19 +00:00
Howard Hinnant
2ec672fff5
Tweak to make clang blocks work with std::functional (very fragile)
...
llvm-svn: 115461
2010-10-03 13:59:56 +00:00
Bill Wendling
a76cdeb783
Do x86_64.
...
llvm-svn: 115460
2010-10-03 08:34:05 +00:00
Bill Wendling
4a58223401
Test to verify that all of the MMX builtins are handled by the front-end.
...
llvm-svn: 115459
2010-10-03 03:39:54 +00:00
Bill Wendling
5d9089ae14
Add test to make sure that the MMX intrinsic calls make it out the other end in
...
tact.
llvm-svn: 115458
2010-10-03 03:30:30 +00:00
Evan Cheng
73eac2aadf
Major changes to Cortex-A9 itinerary.
...
1. Model dual issues as two FUs.
2. Model the pipelines correctly: two symmetric ALUs, the multiplier is a
dependent pipeline on ALU0.
The changes do not have much impact on codegen right now. But I plan to make
pre-RA scheduler multi-issue aware which should take good advantage of the
changes.
llvm-svn: 115457
2010-10-03 02:03:59 +00:00
Bill Wendling
14d07adf0b
Auto-upgrade tests for the new MMX intrinsic calls.
...
llvm-svn: 115456
2010-10-03 01:12:20 +00:00
Rafael Espindola
f70b4e0c2e
Implement a very basic PIC case.
...
llvm-svn: 115454
2010-10-03 00:46:57 +00:00
Bill Wendling
3c70417883
Cleanup. Get rid of extraneous variable.
...
llvm-svn: 115453
2010-10-03 00:46:06 +00:00
Douglas Gregor
af25cfaae0
When providing a block literal as a code completion for a
...
function/method argument, include the parameter name and always
include parentheses (even for zero-parameter blocks). Otherwise, the
block literal placeholder '^' can look very weird.
llvm-svn: 115444
2010-10-02 23:49:58 +00:00
Howard Hinnant
f717f3ae61
Bug 7984 by Bernhard Rosenkraenzer
...
llvm-svn: 115443
2010-10-02 23:27:23 +00:00
Howard Hinnant
18217738c7
Bug 8254 by Bernhard Rosenkraenzer
...
llvm-svn: 115430
2010-10-02 23:23:25 +00:00
Chris Lattner
ae1a9de083
stub out a header to put 3dNow! instructions into.
...
llvm-svn: 115429
2010-10-02 23:06:23 +00:00
Douglas Gregor
97c7571ef3
Introduce a new libclang function, clang_getCursorDisplayName(), which
...
produces a simple "display" name that captures the
arguments/parameters for a function, function template, class
template, or class template specialization.
llvm-svn: 115428
2010-10-02 22:49:11 +00:00
Chris Lattner
743bc472ac
random updates
...
llvm-svn: 115427
2010-10-02 22:44:15 +00:00
Chris Lattner
bf1cf670a6
checkpoint, don't expect this to read right yet. :)
...
llvm-svn: 115426
2010-10-02 21:59:30 +00:00
Douglas Gregor
4e3918c06b
Teach clang_getCursorType() about base specifiers and other references
...
to types.
Also, teach clang_getTypeDeclaration() about template specializations,
injected-class-names, and elaborated types.
Fixes <rdar://problem/8506460>.
llvm-svn: 115425
2010-10-02 21:57:58 +00:00
Chris Lattner
07704f1d7e
the mmx intrinsic for pshufw should map to the IR intrinsic, not
...
to a shufflevector. Otherwise it doesn't turn into a pshufw.
This bug was introduced in the mmx rewrite.
llvm-svn: 115423
2010-10-02 21:32:59 +00:00
Chris Lattner
4756bbeba0
fix a regression introduced in r115243, in which the instruction
...
backing int_x86_ssse3_pshuf_w got removed. This caused PR8280.
llvm-svn: 115422
2010-10-02 21:32:15 +00:00
Douglas Gregor
3022037787
When we insert a category (or class extension) into an interface, mark
...
the interface as having changed since it was originally
serialized. This ensures that we see class extensions/categories in
chained PCH files.
llvm-svn: 115421
2010-10-02 21:06:43 +00:00
Douglas Gregor
db9fb5a427
Don't add -fno-spell-checking in libclang if a spell-checking-related argument is already in the command-line arguments
...
llvm-svn: 115420
2010-10-02 20:06:51 +00:00
Douglas Gregor
3478c75b71
Provide proper source location and range information for C++ base
...
specifier cursors in libclang. FIXME -=2, fixes the rest of
<rdar://problem/8274883>.
llvm-svn: 115419
2010-10-02 19:51:13 +00:00
Chris Lattner
97eac67552
add a bunch more notes. I survived.
...
llvm-svn: 115418
2010-10-02 19:32:01 +00:00
Douglas Gregor
9109629e55
Implement chained PCH support for the macro definitions stored within
...
the "detailed" preprocessing record.
llvm-svn: 115417
2010-10-02 19:29:26 +00:00
Chris Lattner
a2f2c27b20
actually, move the elf tests into the existing elf dir.
...
llvm-svn: 115416
2010-10-02 18:53:48 +00:00
Chris Lattner
7b1638b40b
consolidate ELF tests into asmparser tests.
...
llvm-svn: 115415
2010-10-02 18:52:57 +00:00
Chris Lattner
fbae9435c9
move ARM MC tests up one level.
...
llvm-svn: 115414
2010-10-02 18:52:05 +00:00
Chris Lattner
50774e8fa7
remove reference to dead script.
...
llvm-svn: 115413
2010-10-02 18:49:27 +00:00
Chris Lattner
250ecf0e00
nuke an old script
...
llvm-svn: 115412
2010-10-02 18:44:23 +00:00
Anders Carlsson
fe15a78ff2
Use ParseObjCSelectorPiece for parsing getter and setter names in @property declarations. Fixes PR8169.
...
llvm-svn: 115411
2010-10-02 17:45:21 +00:00
Anders Carlsson
0e523cba82
Rename a test in preparation for fixing PR8169.
...
llvm-svn: 115410
2010-10-02 17:08:38 +00:00
Jakob Stoklund Olesen
4088ceaf28
Stop using LiveRange in MachineVerifier.
...
llvm-svn: 115408
2010-10-02 05:24:46 +00:00
Francois Pichet
8cbc86e912
Fix MSVC release mode compilation error.
...
llvm-svn: 115407
2010-10-02 03:26:54 +00:00
Oscar Fuentes
6e0637994a
Stop the build if cyclic library dependecies found.
...
llvm-svn: 115405
2010-10-02 03:04:49 +00:00
Oscar Fuentes
010f24977d
Update library dependencies.
...
llvm-svn: 115404
2010-10-02 03:04:43 +00:00
Oscar Fuentes
bd7627605f
Handle InstPrinter's on the CMake build.
...
llvm-svn: 115402
2010-10-02 02:38:42 +00:00
Bob Wilson
c57c220d20
Fix a miscompile in 186.crafty for Thumb2 that was exposed by Evan's
...
scheduling change in svn 115121. The CriticalAntiDepBreaker had bad
liveness information. It was calculating the KillIndices for one scheduling
region in a basic block, rescheduling that region so the KillIndices were
no longer valid, and then using those wrong KillIndices to make decisions
for the next scheduling region. I've not been able to reduce a small
testcase for this. Radar 8502534.
llvm-svn: 115400
2010-10-02 01:49:29 +00:00
Johnny Chen
2f71831ceb
Remove the @skip() and @expectedFaiure decorators, the previously affected tests
...
have now all passed.
rdar://problem/8502549 and rdar://problem/8493023 are fixed
llvm-svn: 115399
2010-10-02 01:46:20 +00:00
Greg Clayton
90a2acd441
One final patch for all of this class constructor, destructor, and conversion
...
operator naming stuff. We now get the constructor and destructor names right
after passing in the type, and we get the correct conversion operator name
after passing in the return type when getting the DeclarationNameInfo.
llvm-svn: 115398
2010-10-02 01:40:05 +00:00
Johnny Chen
1e190a552f
Use a more robust regexp to search for the 'Code' symbol. Plus compile the
...
regexp once and use it within the for loop for some speedup.
llvm-svn: 115397
2010-10-02 01:23:40 +00:00
Nick Lewycky
306084e9b7
Wind these directories back too. File adds and removes are properly represented
...
in patches. :-(
llvm-svn: 115396
2010-10-02 01:16:59 +00:00
Nick Lewycky
0aee161c69
Continue reverting r115363.
...
llvm-svn: 115395
2010-10-02 01:08:17 +00:00
Sean Callanan
9c5fe130e1
Update to the latest Clang, which fixes a problem
...
with importing class/struct types.
llvm-svn: 115394
2010-10-02 01:07:50 +00:00