summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Consider regmasks when computing register-based DBG_VALUE live rangesReid Kleckner2016-03-259-42/+194
| | | | | | | | | | | | | | Now register parameters that aren't saved to the stack or CSRs are considered dead after the first call. Previously the debugger would show whatever was in the register. Fixes PR26589 Reviewers: aprantl Differential Revision: http://reviews.llvm.org/D17211 llvm-svn: 264429
* [ASTMatchers] Fix build for VariadicFunction.Samuel Benzaquen2016-03-251-1/+1
| | | | | | | | Under some conditions the implicit conversion from array to ArrayRef<> is not working. Fix the build by making it explicit. llvm-svn: 264428
* [Kaleidoscope] Rename Error -> LogError in Chapters 2-5.Lang Hames2016-03-257-92/+92
| | | | | | | This keeps the naming consistent with Chapters 6-8, where Error was renamed to LogError in r264426 to avoid clashes with the new Error class in libSupport. llvm-svn: 264427
* [Kaleidoscope] Fix 'Error' name clashes.Lang Hames2016-03-255-103/+103
| | | | llvm-svn: 264426
* [Object] Start threading Error through MachOObjectFile construction.Lang Hames2016-03-255-115/+213
| | | | llvm-svn: 264425
* [InstCombine] consolidate regression tests of the ancients (2002)Sanjay Patel2016-03-255-44/+50
| | | | | | Testing out the check-generator-script that's now in the utils folder. llvm-svn: 264424
* [index] Remove redundancy between symbol kind and languageBen Langmuir2016-03-255-103/+107
| | | | | | | | | Condense the ObjCKIND and CXXKIND options into just KIND, since the language was already specified on a per-symbol basis and this information was redundant. This only changes the internal representation; naturally the libclang interface remains the same. llvm-svn: 264423
* fix IR function name regex to allow hyphensSanjay Patel2016-03-251-2/+2
| | | | llvm-svn: 264422
* Document the purpose of this testcase.Adrian Prantl2016-03-251-1/+2
| | | | llvm-svn: 264421
* Revert "[SetVector] Add erase() method"Jun Bum Lim2016-03-253-46/+0
| | | | | | This reverts commit r264414. llvm-svn: 264420
* Fix Narrowing conversion warning introduced by r264415Hemant Kulkarni2016-03-251-1/+1
| | | | llvm-svn: 264419
* Improve StringMap unittests: reintroduce move count, but shield against ↵Mehdi Amini2016-03-251-5/+12
| | | | | | | std::pair internals From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264418
* [ASTMatchers] Add own version of VariadicFunction.Samuel Benzaquen2016-03-254-16/+53
| | | | | | | | | | | | | | | | Summary: llvm::VariadicFunction is only being used by ASTMatchers. Having our own copy here allows us to remove the other one from llvm/ADT. Also, we can extend the API to meet our needs without modifying the common implementation. Reviewers: alexfh Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D18275 llvm-svn: 264417
* Ensure that the StringMap does not grow during the test for ↵Mehdi Amini2016-03-251-0/+3
| | | | | | | pre-allocation/reserve From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264416
* [llvm-readobj] Impl GNU style program headers printHemant Kulkarni2016-03-254-20/+304
| | | | | | | | readelf -lW Differential Revision: http://reviews.llvm.org/D18372 llvm-svn: 264415
* [SetVector] Add erase() methodJun Bum Lim2016-03-253-0/+46
| | | | | | | | | | | | | | | | | | | | Summary: Add erase() which returns an iterator pointing to the next element after the erased one. This makes it possible to erase selected elements while iterating over the SetVector : while (I != E) if (test(*I)) I = SetVector.erase(I); else ++I; Reviewers: qcolombet, mcrosier, MatzeB, dblaikie Subscribers: dberlin, dblaikie, mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D18281 llvm-svn: 264414
* Implement is_always_lock_freeJF Bastien2016-03-252-11/+133
| | | | | | | | | | | | | | | | | | Summary: This was voted into C++17 at the Jacksonville meeting. The final P0152R1 paper will be in the upcoming post-Jacksonville mailing, and is also available here: http://jfbastien.github.io/papers/P0152R1.html Reviewers: mclow.lists, rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D17951 llvm-svn: 264413
* Disable counting the number of move in the unittest, it seems to rely on ↵Mehdi Amini2016-03-252-4/+9
| | | | | | | move-construction elision From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264412
* [SystemZ] Remove isBranch and isTerminator flags on BRCT and BRCTG.Jonas Paulsson2016-03-251-1/+1
| | | | | | | | The BranchUnaryRI instruction class already sets these flags. Reviewed by Ulrich Weigand. llvm-svn: 264411
* Revert "Bitcode: Collect all MDString records into a single blob"Duncan P. N. Exon Smith2016-03-2511-142/+50
| | | | | | | This reverts commit r264409 since it failed to bootstrap: http://lab.llvm.org:8080/green/job/clang-stage2-configure-Rlto_build/8302/ llvm-svn: 264410
* Bitcode: Collect all MDString records into a single blobDuncan P. N. Exon Smith2016-03-2511-50/+142
| | | | | | | | | | | | | | | | | | | | | | | Optimize output of MDStrings in bitcode. This emits them in big blocks (currently 1024) in a pair of records: - BULK_STRING_SIZES: the sizes of the strings in the block, and - BULK_STRING_DATA: a single blob, which is the concatenation of all the strings. Inspired by Mehdi's similar patch, http://reviews.llvm.org/D18342, this should (a) slightly reduce bitcode size, since there is less record overhead, and (b) greatly improve reading speed, since blobs are super cheap to deserialize. I needed to add support for blobs to streaming input to get the test suite passing. - StreamingMemoryObject::getPointer reads ahead and returns the address of the blob. - To avoid a possible reallocation of StreamingMemoryObject::Bytes, BitstreamCursor::readRecord needs to move the call to JumpToEnd forward so that getPointer is the last bitstream operation. llvm-svn: 264409
* [AArch64] Fix typo. NFC.Chad Rosier2016-03-251-2/+1
| | | | llvm-svn: 264408
* Enable non-power-of-2 #pragma unroll counts.David L Kreitzer2016-03-253-26/+72
| | | | | | | | Patch by Evgeny Stupachenko. Differential Revision: http://reviews.llvm.org/D18202 llvm-svn: 264407
* docs: Clearify that our release note describe the upcoming release of PollyTobias Grosser2016-03-251-3/+9
| | | | llvm-svn: 264406
* www: Directly link to our new SPHINX documentationTobias Grosser2016-03-251-1/+1
| | | | llvm-svn: 264405
* docs: Add links to the old documentationTobias Grosser2016-03-251-0/+3
| | | | llvm-svn: 264404
* [X86][SSE] Don't duplicate Lower256IntArith functionality in LowerShift. NFC.Simon Pilgrim2016-03-251-20/+2
| | | | | | LowerShift was using the same code as Lower256IntArith to split 256-bit vectors into 2 x 128-bit vectors, so now we just call Lower256IntArith. llvm-svn: 264403
* Center pictureTobias Grosser2016-03-251-0/+1
| | | | llvm-svn: 264402
* Trailing whitespaces removed. NFC.George Rimar2016-03-251-15/+15
| | | | llvm-svn: 264401
* docs: Add architecture diagramTobias Grosser2016-03-253-0/+14
| | | | llvm-svn: 264400
* www: Reference doxygen documentation directly from the menuTobias Grosser2016-03-253-1/+1
| | | | llvm-svn: 264399
* www; Drop memory access documentationTobias Grosser2016-03-252-130/+0
| | | | | | | This is an old google summer of code project that has been replaced completely by our new AST generator. llvm-svn: 264398
* cmake: Ensure tools/* is still formattedTobias Grosser2016-03-251-3/+2
| | | | | | | | | This got accidentally dropped in r264283. Also, drop the wwwfiles from the removal list. This is not needed any more as we now explicitly list the directories that should be formatted. llvm-svn: 264397
* CodegenCleanup: Drop -load-combine passTobias Grosser2016-03-251-1/+0
| | | | | | | | | | | | | | | This pass is not enabled in the default tool chain and currently can run into an infinite loop, due to other parts of LLVM generating incorrect IR (http://llvm.org/PR27065) -- which is not executed and consequently does not seem to disturb other passes. As this pass is not really needed, we can just drop it to get our build clean. This fixes the timeout issues in MultiSource/Benchmarks/MiBench/consumer-jpeg and MultiSource/Benchmarks/mediabench/jpeg/jpeg-6a/cjpeg for -polly-position=before-vectorizer -polly-process-unprofitable.. Unfortunately, we are still left with a miscompile in cjpeg. llvm-svn: 264396
* fixed typoElena Demikhovsky2016-03-251-1/+1
| | | | llvm-svn: 264395
* Fix windows build for sys::fs:file_status Access Time added in r264392Mehdi Amini2016-03-251-2/+3
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264393
* Add lastAccessedTime to file_statusMehdi Amini2016-03-253-32/+63
| | | | | | | | | Differential Revision: http://reviews.llvm.org/D18456 This is a re-commit of r264387 and r264388 after fixing a typo. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264392
* Fix perfect forwarding for StringMapMehdi Amini2016-03-251-10/+9
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264391
* Revert "Add lastAccessedTime to file_status"Mehdi Amini2016-03-253-63/+32
| | | | | | | | This reverts commit r264387. Bots are broken in various ways, I need to take one commit at a time... From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264390
* Revert "Fix windows build for sys::fs:file_status Access Time added in r264387"Mehdi Amini2016-03-251-2/+2
| | | | | | | | This reverts commit r264388. Bots are broken in various ways, I need to take one commit at a time... From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264389
* Fix windows build for sys::fs:file_status Access Time added in r264387Mehdi Amini2016-03-251-2/+2
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264388
* Add lastAccessedTime to file_statusMehdi Amini2016-03-253-32/+63
| | | | | | | | | | | Reviewers: silvas Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D18456 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264387
* Query the StringMap only once when creating MDString (NFC)Mehdi Amini2016-03-254-41/+74
| | | | | | | | | | | | | | | | Summary: Loading IR with debug info improves MDString::get() from 19ms to 10ms. This is a rework of D16597 with adding an "emplace" method on the StringMap to avoid requiring the MDString move ctor to be public. Reviewers: dexonsmith Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D17920 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264386
* Adjust initial size in StringMap constructor to guarantee no grow()Mehdi Amini2016-03-253-4/+58
| | | | | | | | | | | | | | | | | | Summary: StringMap ctor accepts an initialize size, but expect it to be rounded to the next power of 2. The ctor can handle that directly instead of expecting clients to round it. Also, since the map will resize itself when 75% full, take this into account an initialize a larger initial size to avoid any growth. Reviewers: dblaikie Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D18344 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264385
* Fix DenseMap::reserve(): the formula was wrongMehdi Amini2016-03-252-20/+141
| | | | | | | | | | | | | | | | | | | | | | Summary: Just running the loop in the unittests for a few more iterations (till 48) exhibit that the condition on the limit was not handled properly in r263522. Rewrite the test to use a class to count move/copies that happens when inserting into the map. Also take the opportunity to refactor the logic to compute the number of buckets required for a given number of entries in the map. Use this when constructing a DenseMap with a desired size given to the constructor (and add a tests for this). Reviewers: dblaikie Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D18345 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264384
* StringMap: reserve appropriate size when initializing from an initializer listMehdi Amini2016-03-251-1/+1
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264383
* Add GUID/getGlobalIdentifier() non-static API to global valueMehdi Amini2016-03-252-1/+14
| | | | | | | | | | | | | | | Summary: These are just helpers calling their static counter part to simplify client code. Reviewers: tejohnson Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D18339 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264382
* Bitcode: Use std::stable_partition for reproducible buildsDuncan P. N. Exon Smith2016-03-251-2/+2
| | | | | | | Caught by inspection while working on partitioning metadata. It's nice to produce the same bitcode if you run the compiler twice. llvm-svn: 264381
* Add the same host logging that I added to PlatformRemoteiOS a fewJason Molenda2016-03-252-1/+154
| | | | | | | | months back to PlatformRemoteAppleTV and PlatformRemoteAppleWatch to help understand what's happening when lldb can't find binaries that it should be finding. llvm-svn: 264380
* Use Clang's FixItHints to correct expressions with "trivial" mistakes (e.g. ↵Jim Ingham2016-03-2519-29/+562
| | | | | | | | | | | | | | | "." for "->".) This feature is controlled by an expression command option, a target property and the SBExpressionOptions setting. FixIt's are only applied to UserExpressions, not UtilityFunctions, those you have to get right when you make them. This is just a first stage. At present the fixits are applied silently. The next step is to tell the user about the applied fixit. <rdar://problem/25351938> llvm-svn: 264379
OpenPOWER on IntegriCloud