summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* LoopVectorize: Clean up ValueMap a bit and avoid double lookups.Benjamin Kramer2013-01-291-10/+12
| | | | | | No intended functionality change. llvm-svn: 173809
* [ELF] Add support for IFUNC.Michael J. Spencer2013-01-2912-37/+296
| | | | | | | | This sadly doesn't have a test for the final output because llvm-objdump can't dump relocations that don't belong to a section :( llvm-svn: 173808
* R600/AMDILPeepholeOptimizer.cpp: Tweak std::make_pair to satisfy C++11.NAKAMURA Takumi2013-01-291-1/+1
| | | | llvm-svn: 173807
* Allow all parameters on next line for function calls in Chrome.Daniel Jasper2013-01-293-11/+17
| | | | | | | | | | | | The style guide only forbids this for function declarations. So, now someFunction( aaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaa, aaaaaaaaaaaa); Is allowed in Chromium mode. llvm-svn: 173806
* Split ">>" in "A<B<C> >" in Chromium style.Daniel Jasper2013-01-291-0/+1
| | | | | | It needs to be compatible with C++03. llvm-svn: 173805
* AttributeSet::get(): Fix a valgrind error. It doesn't affect actual ↵NAKAMURA Takumi2013-01-291-1/+1
| | | | | | | | behavior, though. Don't touch I->first on the end iterator, I == E! llvm-svn: 173804
* Fix uninitialized error caused by r173801.Daniel Jasper2013-01-291-2/+3
| | | | llvm-svn: 173803
* Fix a crash in OpenCL code by using the proper (RHS) bit-width.Joey Gouly2013-01-292-6/+9
| | | | llvm-svn: 173802
* Calculate the split penalty upfront.Daniel Jasper2013-01-291-55/+60
| | | | | | | | | | This is a) More efficient. b) Important as we move forward with further metrics for penalty. No functional changes intended. llvm-svn: 173801
* [msan] Cleanup public interface header.Evgeniy Stepanov2013-01-298-142/+261
| | | | | | | | Moved everything users are not supposed to use to a private interface header. Documented all public interfaces. Made them safe to use even if built without MemorySanitizer. llvm-svn: 173800
* tsan: dump stack on internal assert failureDmitry Vyukov2013-01-292-0/+17
| | | | llvm-svn: 173799
* Fix typo in X86BaseInfo.h that I introduced in r157818.Hans Wennborg2013-01-291-2/+2
| | | | llvm-svn: 173798
* tsan: support for inprocess symbolizerDmitry Vyukov2013-01-293-9/+58
| | | | llvm-svn: 173797
* tsan: remember when we are inside of symbolizer code (required for inprocess ↵Dmitry Vyukov2013-01-292-0/+18
| | | | | | symbolizer) llvm-svn: 173796
* ASan: fix lintAlexey Samsonov2013-01-291-6/+6
| | | | llvm-svn: 173795
* [sanitizer] Copy sanitizer headers to the build tree.Evgeniy Stepanov2013-01-291-0/+33
| | | | llvm-svn: 173794
* Fix a comment and reformat clang-format with clang-formatDaniel Jasper2013-01-291-43/+44
| | | | | | Not all changes might be ideal, but IMO all are acceptable. llvm-svn: 173793
* Initial support for multiple variable declarations.Daniel Jasper2013-01-292-15/+33
| | | | | | | | | | | Before: SomeType aaaaaaaaaaaaaaaaa = aaaaaa->aaaaaaaaaaaaaaaaa(), aaaaaaaaaaa = aaaaaa->aaaaaaaaaaa(); After: SomeType aaaaaaaaaaaaaaaaa = aaaaaa->aaaaaaaaaaaaaaaaa(), aaaaaaaaaaa = aaaaaa->aaaaaaaaaaa(); llvm-svn: 173792
* Add a diagnostic for an OpenCL kernel with a pointer pointer argument.Joey Gouly2013-01-293-7/+21
| | | | | | Also refactor the surrounding code a little. llvm-svn: 173791
* Test update missed in r173789.Richard Smith2013-01-291-1/+6
| | | | llvm-svn: 173790
* Produce a diagnostic if alignas is applied to an expression. Neither C11 norRichard Smith2013-01-294-8/+15
| | | | | | C++11 allows that. llvm-svn: 173789
* Downgrade 'attribute ignored when parsing type' from error to warning, to matchRichard Smith2013-01-2913-21/+40
| | | | | | | | | the diagnostic's warn_ name. Switch some places (notably C++11 attributes) which really wanted an error over to a different diagnostic. Finally, suppress the diagnostic entirely for __ptr32, __ptr64 and __w64, to avoid producing diagnostics in important system headers. llvm-svn: 173788
* Reverting changes from r173785 (removing empty lines before "}").Daniel Jasper2013-01-292-3/+0
| | | | | | | This needs some more thinking, e.g. for namespaces, chains of if-else if, ... llvm-svn: 173787
* asan: fix the testDmitry Vyukov2013-01-291-1/+1
| | | | llvm-svn: 173786
* Remove empty lines before "}".Daniel Jasper2013-01-292-0/+3
| | | | | | | | | | | | | | | | | | Those empty lines waste vertical whitespace and almost never increase readability. Before: void f() { DoSomething(); } After: void f() { DoSomething(); } llvm-svn: 173785
* tsan: fix the message (tsan is not asan)Dmitry Vyukov2013-01-291-1/+1
| | | | llvm-svn: 173784
* tsan: add IsSymbolizerAvailable() function for querying for presence of ↵Dmitry Vyukov2013-01-293-24/+35
| | | | | | internal/external symbolizer llvm-svn: 173783
* tsan: add interceptor stubs for stat family of functionsDmitry Vyukov2013-01-293-0/+96
| | | | llvm-svn: 173782
* Hopefully fix the Windows build failure introduced in r173769Timur Iskhodzhanov2013-01-292-0/+2
| | | | llvm-svn: 173781
* Fix 64-bit atomic operations in Thumb mode.Tim Northover2013-01-292-74/+193
| | | | | | | | The ARM and Thumb variants of LDREXD and STREXD have different constraints and take different operands. Previously the code expanding atomic operations didn't take this into account and asserted in Thumb mode. llvm-svn: 173780
* Implement C++11 [dcl.align]p1 and C11 6.7.5/2 rules for alignas and _Alignas.Richard Smith2013-01-297-18/+80
| | | | llvm-svn: 173779
* [ASan] fix deallocation hook in allocator2: according to specification, ↵Alexey Samsonov2013-01-291-2/+1
| | | | | | dealloc hook should be called before deallocating memory llvm-svn: 173778
* Merge SSE and AVX shuffle instructions in the comment printer.Craig Topper2013-01-292-98/+239
| | | | llvm-svn: 173777
* [ASan] Do allocate memory even for zero-size allocation requests. Explain ↵Alexey Samsonov2013-01-292-10/+30
| | | | | | why we have to do this in comments. llvm-svn: 173776
* MIsched: cleanup code. Use isBoundaryNode().Andrew Trick2013-01-291-2/+4
| | | | llvm-svn: 173775
* Fixed 2 more header comments...Michael Gottesman2013-01-292-2/+2
| | | | llvm-svn: 173774
* Fixed header comment.Michael Gottesman2013-01-291-8/+4
| | | | llvm-svn: 173773
* Fixed some whitespace/80+ violations. Also added a space after a namespace ↵Michael Gottesman2013-01-294-6/+6
| | | | | | declaration. llvm-svn: 173772
* C++11 status:Richard Smith2013-01-291-2/+2
| | | | | | | * Mark 'sequence points' as done now we have a warning for unsequenced operations * Mark 'memory model' as done now we correctly model bitfield operations llvm-svn: 173771
* Added missing dashes from header declaration comment.Michael Gottesman2013-01-291-1/+1
| | | | llvm-svn: 173770
* Juggled Debug.h from ObjCARC.h to only the including cpp files thatMichael Gottesman2013-01-294-2/+7
| | | | | | | actually have DEBUG statements. Also changed raw_ostream in said header to be a forward declaration (removing an include). llvm-svn: 173769
* Propagate the spelling list index for an attribute across template ↵Richard Smith2013-01-295-8/+31
| | | | | | instantiation. llvm-svn: 173768
* Sorted includes using utils/sort_includes.Michael Gottesman2013-01-298-15/+6
| | | | llvm-svn: 173767
* PR15017: A '>' can appear after a type-specifier in a template-argument-list.Richard Smith2013-01-292-0/+7
| | | | | | | It turns out that there's no correctness bug here (because we can't have a type definition in this location), but there was a diagnostic bug. llvm-svn: 173766
* Add a test case for attribute print.Michael Han2013-01-291-0/+4
| | | | llvm-svn: 173765
* Added two missing headers from ObjCARCAliasAnalysis.h.Michael Gottesman2013-01-291-0/+3
| | | | | | | | This was missed since whenever I was including ObjCARCAliasAnalysis.h, I was including ObjCARC.h before it which included these includes (resulting in no compilation breakage). llvm-svn: 173764
* Removed InstCombine/Targets as library dependencies for libObjCARCOpts since ↵Michael Gottesman2013-01-291-1/+1
| | | | | | they are unnecessary. llvm-svn: 173763
* Modify the tests for the (sorted) order that the attributes come out as now.Bill Wendling2013-01-2915-49/+49
| | | | llvm-svn: 173762
* Convert getAttributes() to return an AttributeSetNode.Bill Wendling2013-01-295-75/+120
| | | | | | | The AttributeSetNode contains all of the attributes. This removes one (hopefully last) use of the Attribute class as a container of multiple attributes. llvm-svn: 173761
* Extracted ObjCARCContract from ObjCARCOpts into its own file.Michael Gottesman2013-01-299-1181/+1387
| | | | | | | | This also required adding 2x headers Dependency Analysis.h/Provenance Analysis.h and a .cpp file DependencyAnalysis.cpp to unentangle the dependencies inbetween ObjCARCContract and ObjCARCOpts. llvm-svn: 173760
OpenPOWER on IntegriCloud