| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Previously this was done as __repr__.
llvm-svn: 179327
|
| |
|
|
|
|
| |
exists.
llvm-svn: 179326
|
| |
|
|
|
|
|
| |
commit.
Part of rdar://13453209
llvm-svn: 179325
|
| |
|
|
| |
llvm-svn: 179324
|
| |
|
|
|
|
|
|
| |
specific logic. This makes the code much less fragile. Test case coming on the
clang side in a moment.
rdar://13634327
llvm-svn: 179323
|
| |
|
|
| |
llvm-svn: 179322
|
| |
|
|
|
|
|
|
|
|
| |
to the Materializer. Materialization is still done by
the ClangExpressionDeclMap; this will be the next thing
to move.
Also fixed a layout bug that this uncovered.
llvm-svn: 179318
|
| |
|
|
|
|
|
|
| |
A64Imms::isLogicalImmBits and A64Imms::isLogicalImm will attempt to
execute shifts that perform undefined behavior. Instead of attempting
to perform the 64-bit rotation, treat it as a no-op.
llvm-svn: 179317
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allows LLVM to optimize sequences like the following:
%add = add nsw i32 %x, 1
%cmp = icmp sgt i32 %add, %y
into:
%cmp = icmp sge i32 %x, %y
as well as:
%add1 = add nsw i32 %x, 20
%add2 = add nsw i32 %y, 57
%cmp = icmp sge i32 %add1, %add2
into:
%add = add nsw i32 %y, 37
%cmp = icmp sle i32 %cmp, %x
llvm-svn: 179316
|
| |
|
|
|
|
| |
These changes are based on commit responses for r179135.
llvm-svn: 179315
|
| |
|
|
|
|
|
|
| |
multiply instructions in MipsSEDAGToDAGISel.
This patch was supposed to be part of r178403.
llvm-svn: 179314
|
| |
|
|
|
|
|
|
|
|
| |
- Rename function.
- Pass iterator by value.
- Remove header include.
No functionality changes.
llvm-svn: 179312
|
| |
|
|
| |
llvm-svn: 179311
|
| |
|
|
|
|
| |
is unavailable for Hexagon.
llvm-svn: 179310
|
| |
|
|
|
|
|
| |
This new option is the default, but it is useful to have a flag to override
-mno-implicit-float by putting -mimplicit-float later on the command line.
llvm-svn: 179309
|
| |
|
|
|
|
|
| |
This is a better way of ensuring that we match the output of the
rewriter and not the CHECK line.
llvm-svn: 179308
|
| |
|
|
| |
llvm-svn: 179307
|
| |
|
|
| |
llvm-svn: 179306
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Handles all inheritance models for both data and function member
pointers.
Also implements isZeroInitializable() and refactors some of the null
member pointer code.
MSVC supports converting member pointers through virtual bases, which
clang does not (yet?) support. Implementing that extension is covered
by http://llvm.org/15713
Reviewers: rjmccall
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D613
llvm-svn: 179305
|
| |
|
|
|
|
|
|
| |
parser.
<rdar://problem/13631469>
llvm-svn: 179304
|
| |
|
|
| |
llvm-svn: 179303
|
| |
|
|
|
|
| |
-emit-obj
llvm-svn: 179301
|
| |
|
|
| |
llvm-svn: 179300
|
| |
|
|
| |
llvm-svn: 179299
|
| |
|
|
| |
llvm-svn: 179298
|
| |
|
|
|
|
|
|
| |
of a C++ declaration within its parent scope.
Suggested by Stefan Seefeld.
llvm-svn: 179297
|
| |
|
|
|
|
| |
they are. This gets us closer to being able to display static variables in classes.
llvm-svn: 179296
|
| |
|
|
|
|
|
|
|
| |
Example:
CMake Error at cmake/modules/LLVMProcessSources.cmake:89 (message):
Found unknown source file
/llvm-toolchain-3.3~svn179293.cmake/tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
llvm-svn: 179295
|
| |
|
|
|
|
|
|
|
|
| |
With this patch llvm-readobj now prints if a relocation is pcrel, its length,
if it is extern and if it is scattered.
It also refactors the code a bit to use bit fields instead of shifts and
masks all over the place.
llvm-svn: 179294
|
| |
|
|
|
|
| |
sanitizer lit_tests depend on fresh headers.
llvm-svn: 179293
|
| |
|
|
|
|
| |
to make the test more stable
llvm-svn: 179292
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When trying to collapse sequences of insertelement/extractelement
instructions into single shuffle instructions, there is one specific
case where the Instruction Combiner wrongly updates the resulting
Mask of shuffle indexes.
The problem is in function CollectShuffleElments.
If we have a sequence of insert/extract element instructions
like the one below:
%tmp1 = extractelement <4 x float> %LHS, i32 0
%tmp2 = insertelement <4 x float> %RHS, float %tmp1, i32 1
%tmp3 = extractelement <4 x float> %RHS, i32 2
%tmp4 = insertelement <4 x float> %tmp2, float %tmp3, i32 3
Where:
. %RHS will have a mask of [4,5,6,7]
. %LHS will have a mask of [0,1,2,3]
The Mask of shuffle indexes is wrongly computed to [4,1,6,7]
instead of [4,0,6,7].
When analyzing %tmp2 in order to compute the Mask for the
resulting shuffle instruction, the algorithm forgets to update
the mask index at position 1 with the index associated to the
element extracted from %LHS by instruction %tmp1.
Patch by Andrea DiBiagio!
llvm-svn: 179291
|
| |
|
|
|
|
| |
Thanks to Reid Kleckner for catching this.
llvm-svn: 179289
|
| |
|
|
|
|
|
| |
Pre- and post- hooks for linux syscalls. Not wired into anything, but exposed
through public interface.
llvm-svn: 179288
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Function declarations are now broken with the following preferences:
1) break amongst arguments.
2) break after return type.
3) break after (.
4) break before after nested name specifiers.
Options #2 or #3 are preferred over #1 only if a substantial number of
lines can be saved by that.
llvm-svn: 179287
|
| |
|
|
|
|
| |
this test
llvm-svn: 179286
|
| |
|
|
|
|
|
|
|
| |
This will be used in clang to decide if it should create an @file or not. It
will be tested on the clang side.
Patch by Nathan Froyd.
llvm-svn: 179285
|
| |
|
|
|
|
|
| |
The bots seem to do more line wrapping because they have longer absolute
paths.
llvm-svn: 179284
|
| |
|
|
|
|
|
|
|
|
| |
The behavior can be overridden by setting LIT_USE_INTERNAL_SHELL=0 in
the environment.
This fixes issues with /dev/null for me and brings the test suite time
down to 30s. =D
llvm-svn: 179283
|
| |
|
|
|
|
|
|
| |
This required some tedious reordering to match clang's order.
Presumably these ObjC tests were generated based on llvm-gcc's output
ordering.
llvm-svn: 179282
|
| |
|
|
| |
llvm-svn: 179281
|
| |
|
|
| |
llvm-svn: 179280
|
| |
|
|
| |
llvm-svn: 179279
|
| |
|
|
|
|
| |
corresponding test. We still don't guarantee anything with regard to use-after-return checking
llvm-svn: 179278
|
| |
|
|
| |
llvm-svn: 179277
|
| |
|
|
| |
llvm-svn: 179276
|
| |
|
|
| |
llvm-svn: 179275
|
| |
|
|
| |
llvm-svn: 179274
|
| |
|
|
| |
llvm-svn: 179273
|
| |
|
|
|
|
| |
expose it in the header file.
llvm-svn: 179272
|