Michael J. Spencer
bae14cef80
[Object][ELF] Add a maximum alignment. This is used by createELFObjectFile to create a properly aligned reader.
...
llvm-svn: 171520
2013-01-04 20:36:28 +00:00
Rafael Espindola
4588a1a205
Unqualify the parameter type.
...
This fixes a regression from 168895.
llvm-svn: 171519
2013-01-04 20:34:32 +00:00
Akira Hatanaka
b13b33359b
[mips] MipsTargetLowering::getSetCCResultType should return a vector type if
...
vectors are being compared.
llvm-svn: 171517
2013-01-04 20:06:01 +00:00
Douglas Gregor
7426050269
realpath'ify the mapping from header includes to module imports.
...
llvm-svn: 171516
2013-01-04 19:44:26 +00:00
Akira Hatanaka
e067e5a13f
[mips] 80 columns.
...
llvm-svn: 171515
2013-01-04 19:38:05 +00:00
Nick Kledzik
11964f2a8f
Fix how YAML I/O detects flow sequences.
...
Update test case to verify flow sequence is
written as a flow sequence.
llvm-svn: 171514
2013-01-04 19:32:00 +00:00
Akira Hatanaka
f412e7501a
[mips] Reorder template parameters. Remove class shift_rotate_imm32 and
...
shift_rotate_imm64.
llvm-svn: 171513
2013-01-04 19:25:46 +00:00
Manman Ren
fe5a61edbe
Memory Dependence Analysis: fix a miscompile that uses DT to approxmiate the
...
reachablity.
We conservatively approximate the reachability analysis by saying it is not
reachable if there is a single path starting from "From" and the path does not
reach "To".
rdar://12801584
llvm-svn: 171512
2013-01-04 19:19:47 +00:00
Akira Hatanaka
a7a9fa1c16
[mips] Refactor conditional move instructions.
...
llvm-svn: 171511
2013-01-04 19:16:38 +00:00
Akira Hatanaka
e36e2f6876
[mips] Refactor instructions which move data from or to coprocessors.
...
llvm-svn: 171510
2013-01-04 19:13:49 +00:00
Nadav Rotem
09b5a1be8b
Update the gcc-loops benchmarks results with the new automatic unrolling feature.
...
llvm-svn: 171509
2013-01-04 19:10:34 +00:00
Eli Bendersky
dcde5cb8da
fix a couple of typos
...
llvm-svn: 171508
2013-01-04 19:09:15 +00:00
Eli Bendersky
46468d2fda
Remove unused #include
...
llvm-svn: 171507
2013-01-04 19:08:43 +00:00
Adhemerval Zanella
9b0b781395
PowerPC: Fix eh_frame relocation for PIC
...
This patch fixes the PPC eh_frame definitions for the personality and
frame unwinding for PIC objects. It makes PIC build correctly creates
relative relocations in the '.rela.eh_frame' segments and thus avoiding
a text relocation that generates a DT_TEXTREL segments in link phase.
llvm-svn: 171506
2013-01-04 19:08:13 +00:00
Ted Kremenek
3d1464caee
Update CMakeLists.txt
...
llvm-svn: 171505
2013-01-04 19:04:47 +00:00
Ted Kremenek
dae8f9f1a2
Add __has_feature support to detect if clang supports the explicit "atomic" keyword for ObjC properties.
...
Fixes <rdar://problem/12953378>.
llvm-svn: 171504
2013-01-04 19:04:44 +00:00
Ted Kremenek
8533dd9f58
Require set-xcode-analyzer to run with Python 2.7 or later.
...
Addresses LLVM PR 11661.
llvm-svn: 171503
2013-01-04 19:04:42 +00:00
Ted Kremenek
9deaef7f44
NSErrorChecker: remove quoting the parameter name in the diagnostic until we actually include it's name.
...
This is a possible regression of moving to using ImplicitNullDerefEvent.
Fixing this for real (including the parameter name) requires more
plumbing in ImplicitNullDerefEvent. This is just a stop gap fix.
llvm-svn: 171502
2013-01-04 19:04:40 +00:00
Ted Kremenek
7505b5a64c
Tighten code. No functionality change.
...
llvm-svn: 171501
2013-01-04 19:04:36 +00:00
Greg Clayton
6aede697c9
Added a bit more explanation for the python modules that aid with symbolication.
...
llvm-svn: 171500
2013-01-04 19:01:39 +00:00
Nadav Rotem
014e19c2ca
Add linpack-pc bench
...
llvm-svn: 171499
2013-01-04 19:00:42 +00:00
Howard Hinnant
114676622f
atomic_bool was missing (just a typedef to atomic<bool>).
...
llvm-svn: 171498
2013-01-04 18:58:50 +00:00
Douglas Gregor
8f1f3331dc
Add the module name to the 'incomplete umbrella header' warning.
...
llvm-svn: 171497
2013-01-04 18:58:28 +00:00
Joel Jones
f6e6655f37
Add Textmate bundle for Tablegen syntax-highlighting
...
llvm-svn: 171496
2013-01-04 18:55:24 +00:00
Daniel Jasper
c0880a904b
Let the formatter ignore UnwrappedLines containing errors.
...
This prevents code like:
namespace {
class Foo {
Foo(
};
} // comment
from causing segfaults (see llvm.org/PR14774).
llvm-svn: 171495
2013-01-04 18:52:56 +00:00
Filipe Cabecinhas
c18708ee6e
Add file added in r171484 to CMakelists.txt.
...
llvm-svn: 171494
2013-01-04 18:52:29 +00:00
Manman Ren
ab08a9adab
Debug Info: fix the line location for cleanup code of a block function
...
The line information was changed when emitting debug information for all the
DeclRefExprs and we should change it back to get ready for PopClenupBlocks
called from FinishFunction.
rdar://11562117
llvm-svn: 171493
2013-01-04 18:51:35 +00:00
Fariborz Jahanian
cb6c867c46
Fix up various builtin declaration of objc_msgSend families
...
to match those foung in objc.h an avoid spurious warnings.
// rdar://12489098
llvm-svn: 171492
2013-01-04 18:45:40 +00:00
Nadav Rotem
e6bb35435d
Change the default number of registers to prevent unrolling on targets that dont have this hook.
...
llvm-svn: 171489
2013-01-04 18:40:39 +00:00
Eric Christopher
7d1d713f59
Add a space to the end of the line so we don't get "itsbounds" in output.
...
llvm-svn: 171487
2013-01-04 18:30:36 +00:00
Argyrios Kyrtzidis
56be71610f
[libclang] Introduce clang_getFileLocation.
...
Uses of clang_getSpellingLocation should eventually move to calling
clang_getFileLocation, and clang_getSpellingLocation should do what
its name represents and actually point at the 'spelling' location, e.g.
inside a macro definition if the spelling of a token came from that.
llvm-svn: 171486
2013-01-04 18:30:13 +00:00
Argyrios Kyrtzidis
d12c332905
[arcmt] Allow removing an -autorelease of a variable initialized in the previous statement.
...
rdar://11074996
llvm-svn: 171485
2013-01-04 18:30:11 +00:00
Argyrios Kyrtzidis
03fbe3ef81
[arcmt] Adds brackets in case statements that "contain" initialization of retaining
...
variable, thus emitting the "switch case is in protected scope" error.
rdar://12952016
llvm-svn: 171484
2013-01-04 18:30:08 +00:00
Argyrios Kyrtzidis
aa1ce901eb
Move the common source locations of CastStmt & DefaultStmt into their base class, SwitchCase.
...
llvm-svn: 171483
2013-01-04 18:30:04 +00:00
Argyrios Kyrtzidis
b7b89b5ebc
[arcmt] Don't error if an autoreleased variable is returned after the -autorelease.
...
rdar://12952025
llvm-svn: 171482
2013-01-04 18:29:59 +00:00
Edwin Vane
dde168b8b5
Port loop-convert into cpp11-migrate
...
Took existing code from loop-convert tool and made it into a cpp11-migrate
transform. Pattern now set for having transform code in subdirectories. Related
changes:
- Makefile and CMakeLists.txt updated to support source files in
subdirectories.
- At least one transform must be specified. syntax-only tests removed to
reflect this.
- TODO: port over loop-convert tests.
Reviewers: klimek, silvas
llvm-svn: 171481
2013-01-04 18:25:18 +00:00
Daniel Jasper
f0273f8e15
Handle segfaults in clang-format vim-integration.
...
A segfault used to clear the entire buffer. With this change, a message
to report a bug is displayed instead.
This should solve most cases similar to llvm.org/PR14774.
llvm-svn: 171480
2013-01-04 18:24:12 +00:00
Marshall Clow
f8c2b82337
...and then there was one. Only one copy of 'iterators.h' in the test tree for libc++
...
llvm-svn: 171479
2013-01-04 18:24:04 +00:00
Douglas Gregor
2060482ece
Remove -Wmodule-build; it was a dumb idea anyway. <rdar://problem/12957525>
...
llvm-svn: 171478
2013-01-04 18:22:19 +00:00
Greg Clayton
cbaf730927
Added a page that describes how to to manual symbolication with LLDB from the command line, from python, and also how to use the build in modules to do symbolication.
...
llvm-svn: 171477
2013-01-04 18:18:21 +00:00
Greg Clayton
4b63a5c1ce
<rdar://problem/12928282>
...
Added SBTarget::EvaluateExpression() so expressions can be evaluated without needing a process.
Also fixed many functions that deal with clang AST types to be able to properly handle the clang::Type::Elaborated types ("struct foo", "class bar").
llvm-svn: 171476
2013-01-04 18:10:18 +00:00
Pedro Artigas
3383225167
small fixes to enable the reuse of the pass manager across multiple modules
...
llvm-svn: 171475
2013-01-04 18:04:42 +00:00
Eric Christopher
c0fa867c7b
Add section information for the DWARF5 split debug proposal
...
string offset section.
llvm-svn: 171474
2013-01-04 17:59:22 +00:00
Eric Christopher
aa082063cb
Make comment a bit more clear.
...
llvm-svn: 171473
2013-01-04 17:59:17 +00:00
Eric Christopher
0f75943780
Fix fieldNo usage for lambdas. No behavior change since the
...
field number was 0 anyhow.
llvm-svn: 171472
2013-01-04 17:59:07 +00:00
Nadav Rotem
be6570d429
Move the loop vectorizer from O2 to O3. It looks like the increase in code size actually hurts the performance on many programs.
...
llvm-svn: 171471
2013-01-04 17:57:44 +00:00
Nadav Rotem
7daadf21fe
Update the docs about the new unroll features.
...
llvm-svn: 171470
2013-01-04 17:49:45 +00:00
Nadav Rotem
e1d5c4b8b9
LoopVectorizer:
...
1. Add code to estimate register pressure.
2. Add code to select the unroll factor based on register pressure.
3. Add bits to TargetTransformInfo to provide the number of registers.
llvm-svn: 171469
2013-01-04 17:48:25 +00:00
Nadav Rotem
c616a5408a
Revert revision: 171467. This transformation is incorrect and makes some tests fail. Original message:
...
Simplified TRUNCATE operation that comes after SETCC. It is possible since SETCC result is 0 or -1.
Added a test.
llvm-svn: 171468
2013-01-04 17:35:21 +00:00
Elena Demikhovsky
5f2f06d2d9
Simplified TRUNCATE operation that comes after SETCC. It is possible since SETCC result is 0 or -1.
...
Added a test.
llvm-svn: 171467
2013-01-03 08:48:33 +00:00