Duncan P. N. Exon Smith
fb4447688f
PGO: Appease buildbots after r204268
...
llvm-svn: 204276
2014-03-19 22:28:32 +00:00
Matt Arsenault
dd78b8059b
R600/SI: Add unused LDS 2 form instructions.
...
llvm-svn: 204275
2014-03-19 22:19:56 +00:00
Matt Arsenault
d06ebd93e6
R600/SI: Add support for 64-bit LDS writes
...
llvm-svn: 204274
2014-03-19 22:19:54 +00:00
Matt Arsenault
b943348cb9
R600/SI: Add support for 64-bit LDS loads.
...
v2:
-Use correct opcode for DS_READ_64
llvm-svn: 204273
2014-03-19 22:19:52 +00:00
Matt Arsenault
99ed78926b
R600/SI: Match i16 immediate offset of LDS instructions.
...
llvm-svn: 204272
2014-03-19 22:19:49 +00:00
Matt Arsenault
43eeee182a
R600/SI: Fix test checking wrong instruction operand.
...
The source and destination happen to be the same register.
llvm-svn: 204271
2014-03-19 22:19:45 +00:00
Matt Arsenault
547aff20f5
R600/SI: Don't display the GDS bit.
...
It isn't actually used now, and probably never will be, plus it makes
tests less annoying. I also think SC prints GDS instructions as a
separate instruction name.
llvm-svn: 204270
2014-03-19 22:19:43 +00:00
Matt Arsenault
9cd8c38a32
R600/SI: Merge offset0 and offset1 fields for single address DS instructions v2
...
Also remove unused data fields from the DS_Load_Helper class.
v2:
- Merge fields for DS_WRITE
llvm-svn: 204269
2014-03-19 22:19:39 +00:00
Duncan P. N. Exon Smith
8353a26e85
PGO: Splitting implementation files; no functionality change
...
Split implementation files along a uses-libc/shouldn't-use-libc
boundary.
- InstrProfiling.h is a shared header.
- InstrProfiling.c provides an API to extract profiling data from the
runtime, but avoids the use of libc. Currently this is a lie:
__llvm_pgo_write_buffer() uses `FILE*` and related functions. It
will be updated soon to write to a `char*` buffer instead.
- InstrProfilingExtras.c provides a more convenient API for
interfacing with the profiling runtime, but has logic that does (and
will continue to) use libc.
<rdar://problem/15943240>
llvm-svn: 204268
2014-03-19 22:10:27 +00:00
Duncan P. N. Exon Smith
61c97335c6
PGO: Fix obviously wrong typedefs for MS
...
llvm-svn: 204267
2014-03-19 22:10:24 +00:00
Sebastian Pop
763699760e
[www] announce static links of polly in tools
...
llvm-svn: 204265
2014-03-19 21:31:09 +00:00
Fariborz Jahanian
eff3a8be93
Objective-C. Make getObjCEncodingForMethodParameter public.
...
llvm-svn: 204264
2014-03-19 20:52:13 +00:00
Ben Langmuir
984e1df77a
Add a new spelling for module map files 'module.modulemap'
...
This name, while more verbose, plays more nicely with tools that use
file extensions to determine file types. The existing spelling
'module.map' will continue to work, but the new spelling will take
precedence.
In frameworks, this new filename will only go in a new 'Modules'
sub-directory.
Similarly, add a module.private.modulemap corresponding to
module_private.map.
llvm-svn: 204261
2014-03-19 20:23:34 +00:00
David Majnemer
a70f858145
COFF: Fix a typo
...
Introduced when I rebased my changes to use isReservedSectionNumber.
llvm-svn: 204260
2014-03-19 20:16:23 +00:00
Simon Atanasyan
4c5316d0b0
[Mips] Make the test temporary file names self-explanatory.
...
llvm-svn: 204259
2014-03-19 19:45:59 +00:00
Jim Ingham
7675035235
Check if "golden_output.txt" exists before trying to delete it rather than just raising an uncaught error.
...
llvm-svn: 204258
2014-03-19 19:45:37 +00:00
Tobias Grosser
0dd463facf
Support for generating vectors for loads with -1 stride
...
This patch enables vectorization of loops containing backward array
traversal (array stride is -1).
Contributed-by: Chris Jenneisch <chrisj@codeaurora.org>
llvm-svn: 204257
2014-03-19 19:27:24 +00:00
Hans Wennborg
f88287fd7a
Fix comment (PR19188)
...
llvm-svn: 204256
2014-03-19 18:41:38 +00:00
Tobias Grosser
806e9fff60
Move Pass registration into polly library
...
This ensures that the polly passes get properly registered both, when using
polly as a loadable module and when directly linking it into clang/opt/bugpoint.
llvm-svn: 204255
2014-03-19 17:54:23 +00:00
Jim Ingham
3a520a9373
Put a workaround for flaky unwinder behavior on Darwin (<rdar://problem/16363195>).
...
llvm-svn: 204254
2014-03-19 17:50:46 +00:00
Jordan Rose
69ab726724
[analyzer] scan-build: when matching flags, make sure the - is the first letter.
...
PR19191
llvm-svn: 204253
2014-03-19 17:42:26 +00:00
Matheus Almeida
c11f305082
[mips] 80-column.
...
llvm-svn: 204252
2014-03-19 16:29:06 +00:00
Greg Clayton
ec99086718
Change the backtrace view into a process tree view where you can expand the process, its threads and see all frames under each thread.
...
llvm-svn: 204251
2014-03-19 16:22:48 +00:00
Matheus Almeida
004d61f698
[mips] Making sure that a '.set noreorder' directive is correctly parsed
...
and emitted and that no NOPs are emitted in a 'noreorder section'.
llvm-svn: 204250
2014-03-19 16:20:19 +00:00
Joerg Sonnenberger
0883e48f7e
Sort. Fix missing NetBSD.
...
llvm-svn: 204249
2014-03-19 16:06:36 +00:00
Simon Atanasyan
6210b2ef6b
[Mips] Remove unused function.
...
llvm-svn: 204248
2014-03-19 16:05:32 +00:00
Simon Atanasyan
e29132d427
[Mips] Fix handling of R_MIPS_GOT16 relocation and building local part
...
of GOT.
* Read addend for R_MIPS_GOT16 relocation.
* Put only high 16 bits of symbol + addend into GOT entries for
locally visible symbols.
llvm-svn: 204247
2014-03-19 15:46:25 +00:00
Simon Atanasyan
b1ba018ed2
[Mips] Handle R_MIPS_GOT16 relocation for external and local symbols in
...
a uniform way.
llvm-svn: 204246
2014-03-19 15:46:15 +00:00
Simon Atanasyan
49fa6a41f4
[Mips] Factor out the code creates GOT entry atoms into the two
...
functions. The first one is for local GOT entries. The second one is for
global GOT entries.
llvm-svn: 204245
2014-03-19 15:46:07 +00:00
Simon Atanasyan
a7b553efd1
[Mips] Add 'const' qualifier to the function.
...
llvm-svn: 204244
2014-03-19 15:46:00 +00:00
Simon Atanasyan
c1b62ea310
[Mips] Move AHL addends calculation to the RelocationPass class.
...
llvm-svn: 204243
2014-03-19 15:45:55 +00:00
Simon Atanasyan
d8259fbcc3
[Mips] Move RelocationPass class member function definitions out of the
...
class.
llvm-svn: 204242
2014-03-19 15:45:49 +00:00
Alexey Samsonov
a7b8472397
One more attempt to fix Makefile build
...
llvm-svn: 204241
2014-03-19 15:26:54 +00:00
Dmitry Vyukov
1af191e1f4
tsan: add test for second_deadlock_stack flag
...
llvm-svn: 204240
2014-03-19 15:00:38 +00:00
Alexey Samsonov
725122eca3
[Make] Build sanitizer runtimes with -std=c++11
...
llvm-svn: 204239
2014-03-19 14:50:10 +00:00
Alexey Samsonov
a2fdd8e253
[CMake] Fix build of ASan tests on Mac
...
llvm-svn: 204238
2014-03-19 14:45:40 +00:00
Kostya Serebryany
78f2e7bd62
[sanitizer] use some c++11 to simplify the code (we can now). Fix one place where a mutex acquisition stack trace was not properly remembered
...
llvm-svn: 204237
2014-03-19 14:19:31 +00:00
Dmitri Gribenko
dbff5c71fa
Comment parsing: fix a crash when dumping comment ast for a function template
...
with variadic parameters
Patch by Joe Ranieri.
llvm-svn: 204236
2014-03-19 14:03:47 +00:00
Dmitri Gribenko
d9eb05aca3
Comment parsing: recognize \param ... on function templates with variadic
...
parameters
Patch by Joe Ranieri.
llvm-svn: 204235
2014-03-19 13:59:36 +00:00
Alexey Samsonov
17703c1092
[CMake] Build sanitizer unit tests with -std=c++11
...
llvm-svn: 204234
2014-03-19 13:57:33 +00:00
Kostya Serebryany
2483acce21
[sanitizer] when recycling deadlock graph nodes, properly recycle edges
...
llvm-svn: 204233
2014-03-19 13:53:37 +00:00
Dmitry Vyukov
cc579aeba6
tsan: use attribute instead of compiler flag for tls-model=initial-exec as asked in comments for r203111
...
llvm-svn: 204232
2014-03-19 13:24:52 +00:00
Dmitry Vyukov
ecc3456fd6
tsan: fix copy-pasted comment
...
llvm-svn: 204231
2014-03-19 13:19:39 +00:00
Evgeniy Stepanov
2275a01a44
Set debug info for instructions inserted in SplitBlockAndInsertIfThen.
...
llvm-svn: 204230
2014-03-19 12:56:38 +00:00
Evgeniy Stepanov
a57750482f
[msan] Fix line numbers in test.
...
This corresponds to a fix in llvm::SplitBlockAndInsertIfThen.
llvm-svn: 204229
2014-03-19 12:56:38 +00:00
Dmitry Vyukov
bbbe6bba8a
tsan: preliminary support for Go deadlock detector
...
llvm-svn: 204228
2014-03-19 12:50:47 +00:00
Dmitry Vyukov
17efa197bf
tsan: fix large stack frame in deadlock detector
...
In member function 'virtual void __sanitizer::DD::MutexBeforeLock(__sanitizer::DDCallback*, __sanitizer::DDMutex*, bool)':
error: the frame size of 544 bytes is larger than 512 bytes [-Werror=frame-larger-than=]
The code is now [arguably] better as well.
llvm-svn: 204227
2014-03-19 12:49:46 +00:00
Alexander Kornienko
f9a7b46ec6
clang-tidy explicit constructors check: don't warn on deleted constructors.
...
Reviewers: klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D3116
llvm-svn: 204226
2014-03-19 12:48:22 +00:00
Kostya Serebryany
2ea796e05f
[sanitizer] deadlock detector: a) initial support for suppressions, b) be more robust in case we failed to extract a stack trace for one of the locks
...
llvm-svn: 204225
2014-03-19 12:26:33 +00:00
Simon Atanasyan
e7e8b26f93
Remove extra semicolon for -Wpedantic.
...
llvm-svn: 204224
2014-03-19 11:06:07 +00:00