Jim Grosbach
2a22c06267
ARM parsing and encoding tests for RBIT, REV, REV16 and REVSH.
...
llvm-svn: 135710
2011-07-21 22:29:23 +00:00
Jim Grosbach
b31e60b7c6
ARM parsing and encodings tests for saturating arithmetic insns.
...
llvm-svn: 135709
2011-07-21 22:18:28 +00:00
Alexis Hunt
82bb089e87
Add a missing test for the limits on wchar
...
llvm-svn: 135708
2011-07-21 22:01:12 +00:00
Argyrios Kyrtzidis
4145732818
Fix diagnostic when loading a PCH which has different enabled/disabled state of -fobjc-arc. rdar://9818341
...
llvm-svn: 135707
2011-07-21 21:56:04 +00:00
Jim Grosbach
4aaae18d73
Tidy up.
...
llvm-svn: 135706
2011-07-21 21:26:05 +00:00
Jonathan D. Turner
3766fdb654
Cleaning up more of the ID situation in the AST reader. This patch relaxes and generalizes how CXX base specifiers are identified and loaded by using a ContinuousRangeMap. This also adds a global bit offset (or base) to the PerFileData.
...
llvm-svn: 135705
2011-07-21 21:15:19 +00:00
Nicolas Geoffray
6820c1e0d3
Update generated CPP code with the new API on CallInst::Create and ConstantExpr::getGetElementPtr.
...
llvm-svn: 135704
2011-07-21 20:59:21 +00:00
Jim Grosbach
0a8d89242f
ARM assembly parsing POP/PUSH mnemonics.
...
Aliases for LDM/STM. The single-register versions should encode to LDR/STR
with writeback, but we don't (yet) get that correct. Neither does Darwin's
system assembler, though, so that's not a deal-breaker of a limitation.
llvm-svn: 135702
2011-07-21 19:57:11 +00:00
Douglas Gregor
204b8717d4
Add some debugging output to the AST reader, so we can see the global remappings we generate
...
llvm-svn: 135701
2011-07-21 19:50:14 +00:00
Johnny Chen
6853cf66d1
Add test scenario for exercising SBValue API: TypeIsPointerType() and GetByteSize().
...
llvm-svn: 135699
2011-07-21 19:31:59 +00:00
Oscar Fuentes
378f59d4cd
Fix CMake build
...
llvm-svn: 135698
2011-07-21 19:10:57 +00:00
Jim Grosbach
b2aa2c4a24
Add tests for ARM PKH assembly parsing.
...
llvm-svn: 135696
2011-07-21 19:02:03 +00:00
Johnny Chen
becabe0e81
Initialize the all important automatic variable 'lldb::ConnectionStatus status' before
...
invoking the Read(...) method to read in bytes. Similar to r135461.
llvm-svn: 135695
2011-07-21 19:00:59 +00:00
Owen Anderson
b595ed0085
Split up the ARM so_reg ComplexPattern into so_reg_reg and so_reg_imm, allowing us to distinguish the encodings that use shifted registers from those that use shifted immediates. This is necessary to allow the fixed-length decoder to distinguish things like BICS vs LDRH.
...
llvm-svn: 135693
2011-07-21 18:54:16 +00:00
Douglas Gregor
49bf76bab3
In the AST reader, keep track of the total number of source locations
...
entries incrementally, rather than iterating over the chain when
loading a single AST file.
llvm-svn: 135692
2011-07-21 18:46:38 +00:00
Argyrios Kyrtzidis
55e7557481
For ASTUnit::Save, write the AST to a temporary and then rename it to the actual filename.
...
Should avoid race conditions. Addresses rdar://9788943.
llvm-svn: 135691
2011-07-21 18:44:49 +00:00
Argyrios Kyrtzidis
ff9a5506c9
Cut down one open/close pair of system calls by using Path's makeUnique instead of createTemporaryFileOnDisk.
...
llvm-svn: 135690
2011-07-21 18:44:46 +00:00
Richard Smith
42a4996b5a
Update cxx_status page on www: clang has had full support for in-class initializers since r132890.
...
llvm-svn: 135689
2011-07-21 18:02:57 +00:00
Douglas Gregor
17aa45d431
Clean up the C++ status page by eliminating the utterly unnecessary set of projects. C++98/03 is sooooo yesterday
...
llvm-svn: 135687
2011-07-21 17:46:15 +00:00
Douglas Gregor
80d6322c00
Update C++0x nullptr status, from Jonathan Sauer
...
llvm-svn: 135686
2011-07-21 17:41:00 +00:00
Fariborz Jahanian
b21138fc25
Add FixIt hint for missing 'id' type.
...
// rdar://9615045
llvm-svn: 135685
2011-07-21 17:38:14 +00:00
Andrew Trick
cd3e8cb882
Cleanup: make std::pair usage slightly less indecipherable without actually naming variables!
...
llvm-svn: 135684
2011-07-21 17:37:39 +00:00
Benjamin Kramer
5fb7737513
Sink parts of TargetRegisterClass into MCRegisterClass.
...
llvm-svn: 135683
2011-07-21 17:26:50 +00:00
Jim Grosbach
27c1e2560c
ARM assembly parsing and encoding for PKHBT and PKHTB instructions.
...
llvm-svn: 135682
2011-07-21 17:23:04 +00:00
Fariborz Jahanian
b5a52ca0c9
objc - Diagnose missing method return type specifier under
...
a warning flag. // rdar://9615045
llvm-svn: 135681
2011-07-21 17:00:47 +00:00
Douglas Gregor
f676fdc8ea
One last RandomAccessIterator operator for PreprocessingRecord::iterator
...
llvm-svn: 135680
2011-07-21 16:37:44 +00:00
Douglas Gregor
cbd50c3201
Add the remaining RandomAccessIterator operations to
...
PreprocessingRecord::iterator. Where's concept_map when I need it?
llvm-svn: 135679
2011-07-21 16:35:41 +00:00
Bruno Cardoso Lopes
d1d9c78650
Added the infrastructute necessary for MIPS JIT support. Patch by Vladimir
...
Stefanovic. I removed the part that actually emits the instructions cause
I want that to get in better shape first and in incremental steps. This
also makes it easier to review the upcoming parts.
llvm-svn: 135678
2011-07-21 16:28:51 +00:00
Jay Foad
2f5fc8c67d
Make better use of ConstantExpr::getGetElementPtr's InBounds parameter.
...
llvm-svn: 135676
2011-07-21 15:15:37 +00:00
Bruno Cardoso Lopes
3aa2f0a064
Define the _MIPS_SIM builtin macro on MIPS platforms. Patch by Robert Millan!
...
llvm-svn: 135675
2011-07-21 15:10:57 +00:00
Jay Foad
857a48a8d7
Sort case-insensitively.
...
llvm-svn: 135674
2011-07-21 14:42:51 +00:00
Jay Foad
ed8db7d9df
Convert ConstantExpr::getGetElementPtr and
...
ConstantExpr::getInBoundsGetElementPtr to use ArrayRef.
llvm-svn: 135673
2011-07-21 14:31:17 +00:00
Jay Foad
95f1ebd41b
Update llvm-gcc-4.2 and dragonegg after converting ConstantFolder APIs
...
to use ArrayRef.
llvm-svn: 135672
2011-07-21 09:19:11 +00:00
Jay Foad
32351fa820
Convert ConstantFolder APIs to use ArrayRef.
...
llvm-svn: 135671
2011-07-21 07:52:17 +00:00
Francois Pichet
14c7ed4b0b
For some reason I don't fully comprehend, the MSVC debug build will fail with a huge 50+ lines template error message if PreprocessingRecord::iterator has no operator<()
...
llvm-svn: 135670
2011-07-21 06:26:00 +00:00
Chris Lattner
5cf753c95e
move tier out of an anonymous namespace, it doesn't make sense
...
to for it to be an an anon namespace and be in a header.
Eliminate some extraenous uses of tie.
llvm-svn: 135669
2011-07-21 06:21:31 +00:00
Eric Christopher
6f228b5a53
Speculatively revert 135649 to bring back the g++ testing bots.
...
llvm-svn: 135668
2011-07-21 05:34:24 +00:00
Ted Kremenek
86070b9c0f
Move AnalysisManager constructor out of line. No functionality change (yet).
...
llvm-svn: 135667
2011-07-21 05:22:52 +00:00
Ted Kremenek
189ecec4db
Simplify passing of CFGBuildOptions around for AnalysisContext. No functionality change.
...
llvm-svn: 135666
2011-07-21 05:22:47 +00:00
Richard Trieu
713f429d8c
Fix a test in warn-sign-conversion.cpp. Removed a part of a directory path so that the directory seperator, which may change on different platforms, is no longer part of the string checked for.
...
llvm-svn: 135665
2011-07-21 03:20:52 +00:00
Richard Trieu
bb43dec255
Remove warning for conditional operands of differend signedness from -Wsign-compare. Cases that previously warn on this will have a different warning emitted from -Wsign-conversion.
...
llvm-svn: 135664
2011-07-21 02:46:28 +00:00
Bruno Cardoso Lopes
178fb40612
- Register v16i16 as valid VR256 register class
...
- Add more bitcasts for v16i16
- Since 135661 and 135662 already added the splat logic,
just add one more splat test for v16i16
llvm-svn: 135663
2011-07-21 02:24:08 +00:00
Bruno Cardoso Lopes
b878caa5e2
Add support for 256-bit versions of VPERMIL instruction. This is a new
...
instruction introduced in AVX, which can operate on 128 and 256-bit vectors.
It considers a 256-bit vector as two independent 128-bit lanes. It can permute
any 32 or 64 elements inside a lane, and restricts the second lane to
have the same permutation of the first one. With the improved splat support
introduced early today, adding codegen for this instruction enable more
efficient 256-bit code:
Instead of:
vextractf128 $0, %ymm0, %xmm0
punpcklbw %xmm0, %xmm0
punpckhbw %xmm0, %xmm0
vinsertf128 $0, %xmm0, %ymm0, %ymm1
vinsertf128 $1, %xmm0, %ymm1, %ymm0
vextractf128 $1, %ymm0, %xmm1
shufps $1, %xmm1, %xmm1
movss %xmm1, 28(%rsp)
movss %xmm1, 24(%rsp)
movss %xmm1, 20(%rsp)
movss %xmm1, 16(%rsp)
vextractf128 $0, %ymm0, %xmm0
shufps $1, %xmm0, %xmm0
movss %xmm0, 12(%rsp)
movss %xmm0, 8(%rsp)
movss %xmm0, 4(%rsp)
movss %xmm0, (%rsp)
vmovaps (%rsp), %ymm0
We get:
vextractf128 $0, %ymm0, %xmm0
punpcklbw %xmm0, %xmm0
punpckhbw %xmm0, %xmm0
vinsertf128 $0, %xmm0, %ymm0, %ymm1
vinsertf128 $1, %xmm0, %ymm1, %ymm0
vpermilps $85, %ymm0, %ymm0
llvm-svn: 135662
2011-07-21 01:55:47 +00:00
Bruno Cardoso Lopes
fb4920eb25
Improve splat promotion to handle AVX types: v32i8 and v16i16. Also
...
refactor the code and add a bunch of comments. The final shuffle
emitted by handling 256-bit types is suitable for the VPERM shuffle
instruction which is going to be introduced in a next commit (with
a testcase which cover this commit)
llvm-svn: 135661
2011-07-21 01:55:42 +00:00
Bruno Cardoso Lopes
18a8d25b62
Add aditional patterns for vextractf128 instruction
...
llvm-svn: 135660
2011-07-21 01:55:39 +00:00
Bruno Cardoso Lopes
2389881b69
Add aditional patterns for vinsertf128 instruction
...
llvm-svn: 135659
2011-07-21 01:55:36 +00:00
Bruno Cardoso Lopes
0a57b22588
Add v16i16 type to VR256 class
...
llvm-svn: 135658
2011-07-21 01:55:33 +00:00
Bruno Cardoso Lopes
e6f8832631
Move code around. No functionality changes
...
llvm-svn: 135657
2011-07-21 01:55:30 +00:00
Bruno Cardoso Lopes
0bdeacf03b
Tidy up code
...
llvm-svn: 135656
2011-07-21 01:55:27 +00:00
Jim Ingham
9411ddb65f
If we are telling only one thread to run in debugserver, and that thread has been suspended from outside
...
the debugger, resume it before running so we will actually make progress.
llvm-svn: 135655
2011-07-21 01:54:41 +00:00