summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test/clang-tidy/performance-for-range-copy.cpp: Appease for targeting ms mode.NAKAMURA Takumi2016-01-301-1/+1
| | | | llvm-svn: 259289
* [analyzer] Make suppression of macro defensive checks work with ↵Devin Coughlin2016-01-302-15/+46
| | | | | | | | | -analyzer-eagerly-assume. This is the default for the analyzer but the flag is added by the driver so our suppression tests didn't cover this case. llvm-svn: 259288
* [SemaCXX] Fix crash-on-invalid while trying to deduce return type of a lambda.Argyrios Kyrtzidis2016-01-302-4/+16
| | | | | | rdar://22032373 llvm-svn: 259287
* Further reduce test timeXinliang David Li2016-01-301-6/+2
| | | | llvm-svn: 259285
* Avoid overly large SmallPtrSet/SmallSetMatthias Braun2016-01-304-10/+4
| | | | | | | | | These sets perform linear searching in small mode so it is never a good idea to use SmallSize/N bigger than 32. Differential Revision: http://reviews.llvm.org/D16705 llvm-svn: 259284
* Avoid overly large SmallPtrSet/SmallSetMatthias Braun2016-01-3022-25/+25
| | | | | | | These sets perform linear searching in small mode so it is never a good idea to use SmallSize/N bigger than 32. llvm-svn: 259283
* Use Support/DataTypes.h instead of cstdintMatthias Braun2016-01-301-1/+1
| | | | llvm-svn: 259282
* [docs] Remove references to autoconf build.Alexey Samsonov2016-01-301-2/+1
| | | | llvm-svn: 259281
* [docs] Remove references to autotools build.Alexey Samsonov2016-01-305-352/+5
| | | | llvm-svn: 259280
* [CUDA] Die if we ask the NVPTX backend to emit a global ctor/dtor.Justin Lebar2016-01-304-0/+40
| | | | | | | | | | | | Summary: Previously we'd just silently skip these. Reviewers: tra, jholewinski Subscribers: llvm-commits, jhen, echristo, Differential Revision: http://reviews.llvm.org/D16739 llvm-svn: 259279
* Remove references to autotools build.Alexey Samsonov2016-01-302-4/+1
| | | | llvm-svn: 259278
* [CodeView] Properly handle empty line tablesDavid Majnemer2016-01-302-7/+89
| | | | | | | Don't crash when there are no appropriate line table entries for a given function. llvm-svn: 259277
* Move template instantiations to end of the file.Rui Ueyama2016-01-291-5/+5
| | | | llvm-svn: 259276
* This patch adds doxygen comments for the intrinsincs in the header file ↵Ekaterina Romanova2016-01-291-0/+85
| | | | | | | | | | __wmmintrin_aes.h. The doxygen comments are automatically generated based on Sony's intrinsics document. Differential Revision: http://reviews.llvm.org/D16562 llvm-svn: 259275
* Update comments about the entries in .got.plt.Rui Ueyama2016-01-291-8/+9
| | | | | | The original comments were a bit inaccurate because there was no 4 addends. llvm-svn: 259274
* [profile] Support hostname expansion in LLVM_PROFILE_FILEVedant Kumar2016-01-293-8/+57
| | | | | | | | | | | This patch adds support for expanding "%h" out to the machine hostname in the LLVM_PROFILE_FILE environment variable. Patch by Daniel Waters! Differential Revision: http://reviews.llvm.org/D16371 llvm-svn: 259272
* Improve -Wconstant-conversionRichard Trieu2016-01-293-3/+70
| | | | | | | | | | | | | | Switch the evaluation from isIntegerConstantExpr to EvaluateAsInt. EvaluateAsInt will evaluate more types of expressions than isIntegerConstantExpr. Move one case from -Wsign-conversion to -Wconstant-conversion. The case is: 1) Source and target types are signed 2) Source type is wider than the target type 3) The source constant value is positive 4) The conversion will store the value as negative in the target. llvm-svn: 259271
* [Objective-C] Support a new special module flag.Manman Ren2016-01-291-0/+1
| | | | | | | | "Objective-C Class Properties" will be put into the objc_imageinfo struct. rdar://23891898 llvm-svn: 259270
* Class Property: generate metadata for class properties in protocols.Manman Ren2016-01-293-6/+21
| | | | | | | | | | The list of class properties is saved in Old ABI: protocol->ext->class_properties (protocol->ext->size will be updated) New ABI: protocol->class_properties (protocol->size will be updated) rdar://23891898 llvm-svn: 259268
* Class Property: generate metadata for class properties in categories.Manman Ren2016-01-292-4/+45
| | | | | | | | | | | The list of class properties is saved in Old ABI: category->class_properties (category->size will be updated as well) New ABI: category->class_properties (a flag in objc_image_info to indicate whether or not the list of class properties is present) rdar://23891898 llvm-svn: 259267
* [llvm-nm] Add a comment to explain why we initialize MC.Davide Italiano2016-01-291-0/+1
| | | | llvm-svn: 259266
* [libFuzzer] add -timeout_exitcode optionKostya Serebryany2016-01-296-1/+7
| | | | llvm-svn: 259265
* function names start with a lower case letter ; NFCSanjay Patel2016-01-291-25/+25
| | | | llvm-svn: 259264
* [libFuzzer] re-enable test for -abort_on_timeout=1, this time protecting ↵Kostya Serebryany2016-01-291-1/+1
| | | | | | from ASAN_OPTIONS set outside llvm-svn: 259263
* fix formatting; NFCSanjay Patel2016-01-291-4/+8
| | | | llvm-svn: 259262
* Fix typo in LoopSimplifyCFGFiona Glaser2016-01-291-1/+1
| | | | llvm-svn: 259261
* [UBSan] Add documentation for runtime issue suppression.Alexey Samsonov2016-01-291-0/+32
| | | | llvm-svn: 259260
* Add comments on a mysterious value in MIPS GOT[1].Rui Ueyama2016-01-291-2/+17
| | | | | | Thanks to Simon Atanasyan and Igor Kudrin for describing the code! llvm-svn: 259259
* [Profiling] Add a -sparse mode to llvm-profdata mergeVedant Kumar2016-01-297-44/+125
| | | | | | | | | | Add an option to llvm-profdata merge for writing out sparse indexed profiles. These profiles omit InstrProfRecords for functions which are never executed. Differential Revision: http://reviews.llvm.org/D16727 llvm-svn: 259258
* Fix the MSVC build by moving static asserts into constructorsReid Kleckner2016-01-291-5/+5
| | | | | | | Apparently MSVC won't allow you to ask for the sizeof() a data member at class scope. llvm-svn: 259257
* Add LoopSimplifyCFG passFiona Glaser2016-01-297-0/+160
| | | | | | | | | | | | | | | | | | | | | Loop transformations can sometimes fail because the loop, while in valid rotated LCSSA form, is not in a canonical CFG form. This is an extremely simple pass that just merges obviously redundant blocks, which can be used to fix some known failure cases. In the future, it may be enhanced with more cases (and have code shared with SimplifyCFG). This allows us to run LoopSimplifyCFG -> LoopRotate -> LoopUnroll, so that SimplifyCFG cleans up the loop before Rotate tries to run. Not currently used in the pass manager, since this pass doesn't do anything unless you can hook it up in an LPM with other loop passes. It'll be added once Chandler cleans up things to allow this. Tested in a custom pipeline out of tree to confirm it works in practice (in addition to the included trivial test). llvm-svn: 259256
* Need #include <cstdint> for uint64_tMatthias Braun2016-01-291-1/+2
| | | | llvm-svn: 259255
* Need #include <climit> for CHAR_BITMatthias Braun2016-01-291-0/+1
| | | | llvm-svn: 259254
* Improve test speed/trial 2Xinliang David Li2016-01-291-14/+12
| | | | llvm-svn: 259253
* AttributeSetImpl: Summarize existing function attributes in a bitset.Matthias Braun2016-01-294-2/+40
| | | | | | | | | | | The majority of attribute queries checks for the existence of an enum attribute in the FunctionIndex slot. We only have 48 of those and can therefore summarize them in an uint64_t bitset which measurably improves compile time. Differential Revision: http://reviews.llvm.org/D16618 llvm-svn: 259252
* AttributeSetNode: Summarize existing attributes in a bitset.Matthias Braun2016-01-292-12/+20
| | | | | | | | | | | The majority of queries just checks for the existince of an enum attribute. We only have 48 of those and can summaryiz them in an uint64_t bitfield so we can avoid searching the list. This improves "opt" compile time by 1-4% in my measurements. Differential Revision: http://reviews.llvm.org/D16617 llvm-svn: 259251
* Consistenly use sizeof(uintX_t) instead of ELFT::Is64Bits ? 8 : 4.Rui Ueyama2016-01-292-7/+7
| | | | llvm-svn: 259250
* Add comments.Rui Ueyama2016-01-291-6/+9
| | | | llvm-svn: 259249
* Revert 259242, 259243 -- irrelvante changes pulled inXinliang David Li2016-01-291-51/+13
| | | | llvm-svn: 259244
* Use range for loopXinliang David Li2016-01-291-7/+5
| | | | llvm-svn: 259243
* Improve test speed (interchange loop, reducing padding)Xinliang David Li2016-01-291-13/+53
| | | | llvm-svn: 259242
* Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith ↵Yaron Keren2016-01-2951-72/+71
| | | | | | | | r259192 post commit comment. clang part in r259232, this is the LLVM part of the patch. llvm-svn: 259240
* This patch adds doxygen comments for the intrinsincs in the header file ↵Ekaterina Romanova2016-01-291-0/+28
| | | | | | | | __wmmintrin_pclmul.h. The doxygen comments are automatically generated based on Sony's intrinsics document. Differential Revision: http://reviews.llvm.org/D15999 llvm-svn: 259239
* Replace code duplications with function calls.Rui Ueyama2016-01-291-9/+3
| | | | llvm-svn: 259238
* Fixed a couple of places where we were getting the module from aJim Ingham2016-01-292-5/+21
| | | | | | | section and using it w/o checking that it was valid. This can cause crashes - usually when tearing down a target. llvm-svn: 259237
* [InstCombine] avoid an insertelement transformation that induces the ↵Sanjay Patel2016-01-292-1/+47
| | | | | | | | | | | opposite extractelement fold (PR26354) We would infinite loop because we created a shufflevector that was wider than needed and then failed to combine that with the insertelement. When subsequently visiting the extractelement from that shuffle, we see that it's unnecessary, delete it, and trigger another visit to the insertelement. llvm-svn: 259236
* Fix this test for the the switch in default for IgnoreBreakpoints in ↵Jim Ingham2016-01-291-1/+6
| | | | | | SBFrame.EvaluateExpression. llvm-svn: 259234
* ELF: Report duplicate symbols as many as possible instead of the first one.Rui Ueyama2016-01-293-12/+22
| | | | | | http://reviews.llvm.org/D16647 llvm-svn: 259233
* Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith ↵Yaron Keren2016-01-2926-34/+34
| | | | | | r259192 post commit comment. llvm-svn: 259232
* Unbreak windows buildbotsDavid Majnemer2016-01-291-1/+1
| | | | llvm-svn: 259231
OpenPOWER on IntegriCloud