summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused argument.Rafael Espindola2013-03-184-17/+15
| | | | llvm-svn: 177287
* tsan: better memory profilerDmitry Vyukov2013-03-183-15/+80
| | | | llvm-svn: 177286
* ReleaseNotes: Tweak hexagonv2/hexagonv3 removal note.Matthew Curtis2013-03-181-1/+3
| | | | llvm-svn: 177284
* Fix clang-format segfault.Daniel Jasper2013-03-182-0/+4
| | | | | | | | When annotating "lines" starting with ":", clang-format would segfault. This could actually happen in valid code, e.g. #define A : llvm-svn: 177283
* ObjCDictionaryElements are pod-like.Benjamin Kramer2013-03-181-0/+6
| | | | llvm-svn: 177282
* Remove default copy ctor/assignment, makes AttributeSet trivially copyable.Benjamin Kramer2013-03-181-5/+0
| | | | | | And enables SmallVector's pod optimizations. llvm-svn: 177281
* Initially forgotten-to-svn-add test case for r177279.David Tweed2013-03-181-0/+14
| | | | llvm-svn: 177280
* The optimization a + (-0.0f) -> a was being misapplied to a + (+0.0f) in ↵David Tweed2013-03-181-0/+13
| | | | | | | | | | the vector case (because we weren't differntiating floating-point zeroinitializers from other zero-initializers) which was causing problems for code relying upon a + (+0.0f) to, eg, flush denormals to 0. Make the scalar and vector cases have the same behaviour. llvm-svn: 177279
* tsan: madvise(DONTNEED) shadow memory on munmap()Dmitry Vyukov2013-03-181-0/+5
| | | | llvm-svn: 177278
* R600/SI: implement indirect adressing for SIChristian Konig2013-03-183-1/+190
| | | | | | Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177277
* R600/SI: add float vector typesChristian Konig2013-03-184-21/+82
| | | | | | Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177276
* R600/SI: add shl patternChristian Konig2013-03-183-1/+8
| | | | | | Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177275
* R600/SI: add BUFFER_LOAD_DWORD patternChristian Konig2013-03-181-3/+9
| | | | | | Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177274
* R600/SI: implement SI.load.const intrinsicChristian Konig2013-03-182-2/+13
| | | | | | Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177273
* R600/SI: enable all S_LOAD and S_BUFFER_LOAD opcodesChristian Konig2013-03-182-14/+29
| | | | | | Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177272
* R600/SI: fix inserting waits for all definesChristian Konig2013-03-181-15/+1
| | | | | | | | | | Unfortunately the previous fix for inserting waits for unordered defines wasn't sufficient, cause it's possible that even ordered defines are only partially used (or not used at all). Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 177271
* [asan] make the __asan_get_heap_size more robustKostya Serebryany2013-03-181-0/+1
| | | | llvm-svn: 177270
* tsan: move implementation out of h fileDmitry Vyukov2013-03-182-14/+15
| | | | llvm-svn: 177269
* tsan: fix clang -Wall buildDmitry Vyukov2013-03-184-1/+14
| | | | | | | Clang does not like classes with virtual functions but w/o virtual dtor. Go does not like libstdc++ (operator delete). llvm-svn: 177267
* [TSan] re-apply r177249 lost in editsAlexey Samsonov2013-03-181-1/+2
| | | | llvm-svn: 177265
* [asan] when creating string constants, set unnamed_attr and align 1 so that ↵Kostya Serebryany2013-03-182-3/+7
| | | | | | equal strings are merged by the linker. Observed up to 1% binary size reduction. Thanks to Anton Korobeynikov for the suggestion llvm-svn: 177264
* [asan] Switch to allocator2 on Android.Evgeniy Stepanov2013-03-182-6/+3
| | | | llvm-svn: 177263
* tsan: fix memory leakDmitry Vyukov2013-03-181-0/+1
| | | | llvm-svn: 177262
* tsan: use StackDepot for thread creation stacksDmitry Vyukov2013-03-183-0/+19
| | | | llvm-svn: 177261
* tsan: fix Go buildDmitry Vyukov2013-03-185-17/+22
| | | | llvm-svn: 177260
* Mark internal classes as POD-like to get better behavior out ofChandler Carruth2013-03-181-102/+109
| | | | | | | | SmallVector and DenseMap. This speeds up SROA by 25% on PR15412. llvm-svn: 177259
* tsan: use StackDepot in sync object to store creation stacksDmitry Vyukov2013-03-184-35/+12
| | | | llvm-svn: 177258
* TLS support for MinGW targets.Anton Korobeynikov2013-03-181-7/+8
| | | | | | | | MinGW is almost completely compatible to MSVC, with the exception of the _tls_array global not being available. Patch by David Nadlinger! llvm-svn: 177257
* Windows TLS: Section name prefix to ensure correct orderAnton Korobeynikov2013-03-181-2/+5
| | | | | | | | | | | The linker sorts the .tls$<xyz> sections by name, and we need to make sure any extra sections we produce (e.g. for weak globals) always end up between .tls$AAA and .tls$ZZZ, even if the name starts with e.g. an underscore. Patch by David Nadlinger! llvm-svn: 177256
* tsan: fix huge stack framesDmitry Vyukov2013-03-181-8/+13
| | | | llvm-svn: 177255
* [asan] while generating the description of a global variable, emit the ↵Kostya Serebryany2013-03-181-7/+8
| | | | | | module name in a separate field, thus not duplicating this information if every description. This decreases the binary size (observed up to 3%). https://code.google.com/p/address-sanitizer/issues/detail?id=168 . This changes the asan API version. llvm-part llvm-svn: 177254
* [asan] while generating the description of a global variable, emit the ↵Kostya Serebryany2013-03-182-4/+5
| | | | | | module name in a separate field, thus not duplicating this information if every description. This decreases the binary size (observed up to 3%). https://code.google.com/p/address-sanitizer/issues/detail?id=168 . This changes the asan API version. compiler-rt part, llvm-part will follow llvm-svn: 177253
* Make sure to use same EABI version for external assembler as for integrated as.Anton Korobeynikov2013-03-182-1/+2
| | | | | | Patch by Andrew Turner! llvm-svn: 177252
* tsan: fix lint warningsDmitry Vyukov2013-03-181-3/+3
| | | | llvm-svn: 177251
* [asan] don't instrument functions with available_externally linkage. This ↵Kostya Serebryany2013-03-182-0/+13
| | | | | | saves a bit of compile time and reduces the number of redundant global strings generated by asan (https://code.google.com/p/address-sanitizer/issues/detail?id=167) llvm-svn: 177250
* [TSan] fix undefined variable in debug TSan buildAlexey Samsonov2013-03-181-1/+2
| | | | llvm-svn: 177249
* [TSan] Use ThreadRegistry::FindThreadContextLocked() to find thread by its ↵Alexey Samsonov2013-03-181-20/+23
| | | | | | stack/tls address. llvm-svn: 177248
* [TSan] Makefiles: allow configurable paths to clang and FileCheck. Add ↵Alexey Samsonov2013-03-183-10/+13
| | | | | | -fno-rtti flag. llvm-svn: 177247
* [Sanitizer] Get rid of global mutexes in StopTheWorld implementationAlexey Samsonov2013-03-182-15/+12
| | | | llvm-svn: 177246
* [Sanitizer] Rely on template argument deduction in sanitizer_allocator_testAlexey Samsonov2013-03-181-2/+2
| | | | llvm-svn: 177245
* Extract a method.Jakob Stoklund Olesen2013-03-182-41/+42
| | | | | | | This computes the type of an instruction operand or result based on the records in the instruction's ins and outs lists. llvm-svn: 177244
* Post process ADC/SBB and use a shorter encoding if they use a sign extended ↵Craig Topper2013-03-182-0/+20
| | | | | | immediate. llvm-svn: 177243
* Refactor some duplicated code into helper functions.Craig Topper2013-03-182-229/+62
| | | | llvm-svn: 177242
* Fix the build broken in r177239David Blaikie2013-03-171-1/+1
| | | | | | Seems some accidental C++11 crept in there. Reported by the C++98 buildbots. llvm-svn: 177241
* Reduced dont-infinite-loop-during-block-escape-analysis.ll with bugpoint and ↵Michael Gottesman2013-03-172-87/+27
| | | | | | | | | | moved it to retain-block-escape-analysis.ll. *NOTE* I verified that the original bug behind dont-infinite-loop-during-block-escape-analysis.ll occurs when using opt on retain-block-escape-analysis.ll. llvm-svn: 177240
* Split out filename & directory from DIFile to start generalizing over DIScopesDavid Blaikie2013-03-1787-220/+330
| | | | | | | | | | This is the first step to making all DIScopes have a common metadata prefix (so that things (using directives, for example) that can appear in any scope can be added to that common prefix). DIFile is itself a DIScope so the common prefix of all DIScopes cannot be a DIFile - instead it's the raw filename/directory name pair. llvm-svn: 177239
* Generalize debug info test to be resilient to changes in metadata node numberingDavid Blaikie2013-03-171-3/+4
| | | | llvm-svn: 177238
* Generalize a few debug info test casesDavid Blaikie2013-03-173-3/+3
| | | | | | | | Checking for the annotation comment rather than the metadata values makes these tests resilient to a coming refactor that will pull these fields out into a separate metadata node. llvm-svn: 177237
* Improve DIFile debug info annotation by letting it fallback to DIScopeDavid Blaikie2013-03-171-1/+0
| | | | llvm-svn: 177236
* Use ArrayRef<MVT::SimpleValueType> when possible.Jakob Stoklund Olesen2013-03-176-10/+10
| | | | | | | Not passing vector references around makes it possible to use SmallVector in most places. llvm-svn: 177235
OpenPOWER on IntegriCloud