summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ProfileData: Introduce InstrProfWriter using the naive text formatJustin Bogner2014-03-218-81/+205
| | | | | | | | | | | This isn't a format we'll want to write out in practice, but moving it to the writer library simplifies llvm-profdata and isolates it from further changes to the format. This also allows us to update the tests to not rely on the text output format. llvm-svn: 204489
* Convert test to using cfi.Rafael Espindola2014-03-211-2/+4
| | | | | | An unnamed global in llvm still produces a regular symbol. llvm-svn: 204488
* Placate -Wunreachable-code by removing unnecessary logic to handle ↵Ted Kremenek2014-03-211-1/+3
| | | | | | NUM_OPENMP_DEFAULT_KINDS <= 1. llvm-svn: 204487
* Refactor llvm/test/lit.cfg to use lit.util.which.Paul Robinson2014-03-211-28/+19
| | | | llvm-svn: 204486
* llvm-profdata: Implement show commandJustin Bogner2014-03-211-2/+98
| | | | | | | The `llvm-profdata show` command summarizes a profdata file's contents in a human readable format. llvm-svn: 204485
* [libsanitizer] Add descriptions for the common flags.Alexander Potapenko2014-03-212-61/+60
| | | | | | | Use new(allocator_for_flags) instead of allocator_for_flags.Allocate() Fix the description output format a bit. llvm-svn: 204484
* Remove redundant test.Rafael Espindola2014-03-211-10/+0
| | | | | | | The production of the .eh symbols is done from MC now and we already have tests for it. llvm-svn: 204483
* ProfileData: Introduce the InstrProfReader interface and a text readerJustin Bogner2014-03-2115-79/+400
| | | | | | | | | | This introduces the ProfileData library and updates llvm-profdata to use this library for reading profiles. InstrProfReader is an abstract base class that will be subclassed for both the raw instrprof data from compiler-rt and the efficient instrprof format that will be used for PGO. llvm-svn: 204482
* Split out the MC part of this test.Rafael Espindola2014-03-212-6/+18
| | | | llvm-svn: 204481
* [mips] Correct lowering of VECTOR_SHUFFLE to VSHF.Daniel Sanders2014-03-212-5/+20
| | | | | | | | | | | | | | | | | | | | | Summary: VECTOR_SHUFFLE concatenates the vectors in an vectorwise fashion. <0b00, 0b01> + <0b10, 0b11> -> <0b00, 0b01, 0b10, 0b11> VSHF concatenates the vectors in a bitwise fashion: <0b00, 0b01> + <0b10, 0b11> -> 0b0100 + 0b1110 -> 0b01001110 <0b10, 0b11, 0b00, 0b01> We must therefore swap the operands to get the correct result. The test case that discovered the issue was MultiSource/Benchmarks/nbench. Reviewers: matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://llvm-reviews.chandlerc.com/D3142 llvm-svn: 204480
* Add overall description, file comments, some structureRenato Golin2014-03-211-23/+138
| | | | llvm-svn: 204479
* Add sincosTom Stellard2014-03-216-0/+31
| | | | | | | Patch by: Jeroen Ketema Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 204478
* Add cross for double3 and double4Tom Stellard2014-03-212-0/+19
| | | | | | | Patch by: Jeroen Ketema Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 204477
* R600/SI: Handle MUBUF instructions in SIInstrInfo::moveToVALU()Tom Stellard2014-03-216-5/+157
| | | | llvm-svn: 204476
* R600/SI: Handle S_MOV_B64 in SIInstrInfo::moveToVALU()Tom Stellard2014-03-212-2/+92
| | | | llvm-svn: 204475
* R600/SI: Use SGPR_(32|64) reg clases when lowering SI_ADDR64_RSRCTom Stellard2014-03-211-4/+4
| | | | | | | | | | | | | | The SReg_(32|64) register classes contain special registers in addition to the numbered SGPRs. This can lead to machine verifier errors when these register classes are used as sub-registers for SReg_128, since SReg_128 only uses the numbered SGPRs. Replacing SReg_(32|64) with SGPR_(32|64) fixes this problem, since the SGPR_(32|64) register classes contain only numbered SGPRs. Tests cases for this are comming in a later commit. llvm-svn: 204474
* Sink: Don't sink static allocas from the entry blockTom Stellard2014-03-212-0/+86
| | | | | | | CodeGen treats allocas outside the entry block as dynamically sized stack objects. llvm-svn: 204473
* [Mips] Fix source code formatting. No functional changes.Simon Atanasyan2014-03-211-11/+11
| | | | llvm-svn: 204472
* Fixing code that doesn't compile in MSVC 2012 (but does in MSVC 2013) from ↵Aaron Ballman2014-03-214-17/+28
| | | | | | r204417 and related commits. llvm-svn: 204471
* Return conservative result in case the dependence check timed outTobias Grosser2014-03-213-1/+46
| | | | | | | For complex examples it may happen that we do not compute dependences. In this case we do not want to crash, but just not detect parallel loops. llvm-svn: 204470
* The release_capability, release_shared_capability and ↵Aaron Ballman2014-03-216-30/+72
| | | | | | release_generic_capability functions are now functionally distinct for capability analysis. The unlock_function attribute maps directly to release_generic_capability. llvm-svn: 204469
* clang-format: Remove empty linesTobias Grosser2014-03-2114-26/+0
| | | | llvm-svn: 204468
* clang-format: Add flag for removing empty lines at the start of blocks.Daniel Jasper2014-03-213-3/+33
| | | | | | | This unbreaks polly-formatting-tests and we can make a decision for LLVM style independently. llvm-svn: 204467
* www: More formatting improvementsTobias Grosser2014-03-212-6/+9
| | | | llvm-svn: 204466
* Simplify ↵Timur Iskhodzhanov2014-03-211-123/+124
| | | | | | | | test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-vtordisps.cpp by forcing VFTableBuilder invocation with virtual function calls Previously the vftables were built at the end of the TU in a reverse-to-random order llvm-svn: 204465
* Simplify ↵Timur Iskhodzhanov2014-03-211-285/+284
| | | | | | | | test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance.cpp by forcing VFTableBuilder invocation with virtual function calls Previously the vftables were built at the end of the TU in a reverse-to-random order llvm-svn: 204464
* [CMake] Propagate top-level targets for compiler-rt runtimes and test-suitesAlexey Samsonov2014-03-211-14/+46
| | | | | | | | | | | | | | | | | | | from (external) compiler-rt build tree into LLVM/Clang build tree in LLVM_BUILD_EXTERNAL_COMPILER_RT mode. For instance, running make asan -j12 in LLVM/Clang build tree will now build Clang, use it to configure compiler-rt build tree, and invoke "make asan -j12" there. ASan runtime will be built in the proper location, where Clang driver expects to find it. Running make check-asan will build Clang, use it to configure compiler-rt build tree, build everything there, and then run "make check-asan" in compiler-rt build tree using just-built Clang and ASan runtime. llvm-svn: 204463
* clang-format: Don't remove empty lines at the start of namespaces.Daniel Jasper2014-03-212-1/+12
| | | | llvm-svn: 204462
* [sanitizer] print threads in deadlock reportKostya Serebryany2014-03-2110-19/+61
| | | | llvm-svn: 204461
* clang-format: Remove empty lines at the beginning of blocks.Daniel Jasper2014-03-212-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | They very rarely aid readability. Formatting: void f() { if (a) { f(); } } Now leads to: void f() { if (a) { f(); } } llvm-svn: 204460
* Don't build LLDBWrapPython.cpp for mingw.Hafiz Abid Qadeer2014-03-211-1/+2
| | | | | | | | | | Previous check relied on -DLLDB_DISABLE_PYTHON which was not valid as it is defined in the top level LLDB Makefile which is included after the check. If this check is moved after the inclusion of top level Makefile then BUILT_SOURCES is not properly handled. So I am using the scheme present in the Host/Makefile. llvm-svn: 204459
* clang-format: Let a trailing comma in braced lists enforce linebreaks.Daniel Jasper2014-03-212-4/+18
| | | | | | | | | | | | | | Before: vector<int> x{1, 2, 3, 4, }; After: vector<int> x{ 1, 2, 3, 4, }; This fixes llvm.org/PR18519. llvm-svn: 204458
* clang-format: Fix for r204456.Daniel Jasper2014-03-212-1/+8
| | | | llvm-svn: 204457
* clang-format: Preserve meaning of trailing comments on parameters.Daniel Jasper2014-03-212-0/+40
| | | | | | | | | | | | | | | | | | Formatting: SomeFunction(a, b, // comment c); Before: SomeFunction(a, b, // comment c); After: SomeFunction(a, b, // comment c); llvm-svn: 204456
* Simplify test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp by ↵Timur Iskhodzhanov2014-03-211-134/+136
| | | | | | | | forcing VFTableBuilder invocation with virtual function calls Previously the vftables were built at the end of the TU in a reverse-to-random order llvm-svn: 204455
* [sanitizer] more human-readable deadlock reportsKostya Serebryany2014-03-213-21/+43
| | | | llvm-svn: 204454
* Add one more test for PR19172Timur Iskhodzhanov2014-03-211-0/+41
| | | | llvm-svn: 204453
* [SystemZ] Use "let Predicates =" for blocks of new instructionsRichard Sandiford2014-03-212-18/+15
| | | | | | | | | ...instead of a separate Requires for each one. This style was already used in some places and seems more compact. No behavioral change intended. llvm-svn: 204452
* [SystemZ] Add support for z196 float<->unsigned conversionsRichard Sandiford2014-03-2112-13/+808
| | | | | | These complement the older float<->signed instructions. llvm-svn: 204451
* [mips] Update namespace.Matheus Almeida2014-03-211-5/+1
| | | | | | | We should be using the llvm namespace and not an anonymous namespace in a header file. llvm-svn: 204450
* More cleanup of win32.h.Hafiz Abid Qadeer2014-03-211-3/+3
| | | | | | | | PATH_MAX is defined if it is not already defined. A duplicate definition is removed. The declaration of struct timespec is moved outside #ifdef _MSC_VER to make it available for mingw. llvm-svn: 204449
* [MSan] Add __msan_unpoison_string() to the public interface.Sergey Matveev2014-03-214-0/+27
| | | | | | | | Using __msan_unpoison() on null-terminated strings is awkward because strlen() can't be called on a poisoned string. This case warrants a special interface function. llvm-svn: 204448
* www: Remove warning about the implementation statusTobias Grosser2014-03-211-7/+0
| | | | | | | | It does not seem to add a lot of value, as it leaves unclear which parts are mature and whichs not. Adding this informatin also does not make sense, as it changes rapidly. llvm-svn: 204447
* www: Rewrite the intro about PollyTobias Grosser2014-03-211-9/+14
| | | | llvm-svn: 204446
* www: Mark a couple of projects doneTobias Grosser2014-03-211-2/+2
| | | | | | We now have both polyhedral dead code elimination as well as LNT buildbots. llvm-svn: 204445
* www: Add a script that allows us to obtain statistics about pollyTobias Grosser2014-03-211-0/+17
| | | | llvm-svn: 204444
* www: Add a script to show the latest news from polyhedral.infoTobias Grosser2014-03-213-2/+34
| | | | llvm-svn: 204443
* www: Separate out the Polly paperTobias Grosser2014-03-211-5/+11
| | | | llvm-svn: 204442
* www: Link to the polyhedral.info publication listTobias Grosser2014-03-211-0/+7
| | | | llvm-svn: 204441
* [ASan] Move the flag descriptions from comments to ParseFlag arguments.Alexander Potapenko2014-03-212-93/+116
| | | | llvm-svn: 204440
OpenPOWER on IntegriCloud