summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* InstrProf: Remove MSVC-specific logicDuncan P. N. Exon Smith2014-03-211-14/+8
| | | | | | | | Apparently, MSVC has stdint.h now? Let's see if the buildbots complain. I'm not convinced that the build system is even set up for MSVC to build this file, but... llvm-svn: 204515
* InstrProf: Change magic number to have non-text charactersDuncan P. N. Exon Smith2014-03-211-9/+16
| | | | | | | | | Include non-text characters in the magic number so that text files can't match. <rdar://problem/15950346> llvm-svn: 204514
* InstrProf: Change magic number to have non-text charactersDuncan P. N. Exon Smith2014-03-213-10/+10
| | | | | | | | | Include non-text characters in the magic number so that text files can't match. <rdar://problem/15950346> llvm-svn: 204513
* InstrProf: Use move semantics with unique_ptrDuncan P. N. Exon Smith2014-03-212-7/+7
| | | | | | <rdar://problem/15950346> llvm-svn: 204512
* InstrProf: Detect magic numbers in a more scalable wayDuncan P. N. Exon Smith2014-03-212-34/+33
| | | | | | | | No functionality change. <rdar://problem/15950346> llvm-svn: 204511
* InstrProf: Actually detect bad headersDuncan P. N. Exon Smith2014-03-214-7/+14
| | | | | | <rdar://problem/15950346> llvm-svn: 204510
* [PECOFF] Rename link.exe -> lld-link.exe.Rui Ueyama2014-03-212-2/+3
| | | | | | | Creating the file "link.exe" made some confusion, so it's better to name it lld-link.exe, as we did for CL (clang-cl.exe). llvm-svn: 204509
* [RuntimeDyld] Fix comment for previous commit (r204439)Juergen Ributzka2014-03-211-2/+4
| | | | llvm-svn: 204508
* [RuntimeDyld] clang-format files.Juergen Ributzka2014-03-216-747/+580
| | | | llvm-svn: 204507
* DebugInfo: Omit DW_AT_addr_base from skeletal type units.David Blaikie2014-03-213-11/+9
| | | | | | | | | | | | | Type units have no addresses, so there's no need for DW_AT_addr_base. This removes another relocation from every skeletal type unit and brings LLVM's skeletal type units in line with GCC's (containing only GNU_dwo_name (strp), comp_dir (strp), and GNU_pubnames (flag_present)). Cary's got some ideas about using str_index in the .o file to reduce those last two relocations (well, replace two relocations with one relocation (pointing to the string index) and two indicies) llvm-svn: 204506
* [AArch64] Add SchedRW lists to NEON instructions.Chad Rosier2014-03-215-247/+542
| | | | | | | | | | | | Previously, only regular AArch64 instructions were annotated with SchedRW lists. This patch does the same for NEON enabling these instructions to be scheduled by the MIScheduler. Additionally, store operations are now modeled and a few SchedRW lists were updated for bug fixes (e.g. multiple def operands). Reviewers: apazos, mcrosier, atrick Patch by Dave Estes <cestes@codeaurora.org>! llvm-svn: 204505
* Suppress SIGSTOP under Linux and don't explicitly call SetResumeSignal() in ↵Andrew MacPherson2014-03-212-6/+1
| | | | | | POSIXThread, instead just let StopInfo handle it. llvm-svn: 204504
* [Mips] Emit LA25 MIPS stubs to call pic code from non-pic routines.Simon Atanasyan2014-03-215-23/+231
| | | | llvm-svn: 204503
* InstrProf: __ => _ in header guardsDuncan P. N. Exon Smith2014-03-211-3/+3
| | | | llvm-svn: 204502
* ProfileData: Avoid double underscores in header guardsJustin Bogner2014-03-213-9/+9
| | | | llvm-svn: 204501
* InstrProf: Unify logic in two profile writersDuncan P. N. Exon Smith2014-03-213-25/+27
| | | | | | <rdar://problem/15943240> llvm-svn: 204500
* InstrProf: Write the __llvm_profile_write_buffer()Duncan P. N. Exon Smith2014-03-211-2/+45
| | | | | | | | | | Write __llvm_profile_write_buffer(), which uses the same logic as __llvm_profile_write_file(), but writes directly to a provided `char*` buffer instead. <rdar://problem/15943240> llvm-svn: 204499
* InstrProf: If libc is available, use it; no functionality changeDuncan P. N. Exon Smith2014-03-213-49/+50
| | | | | | | | | | | | | It was misguided to plan to rely on __llvm_profile_write_buffer() in __llvm_profile_write_file(). It's less complex to duplicate the writing logic than to mmap the file. Since it's here to stay, move `FILE*`-based writing logic into InstrProfilingFile.c. <rdar://problem/15943240> llvm-svn: 204498
* InstrProf: Reorganize files; no functionality changeDuncan P. N. Exon Smith2014-03-2110-109/+129
| | | | | | | | | | | | | | | | | | Move functions around to prepare for some other changes. - Merge InstrProfilingExtras.h with InstrProfiling.h. There's no benefit to having these split. - Rename InstrProfilingExtras.c to InstrProfilingFile.c. - Split actual buffer writing code out of InstrProfiling.c into InstrProfilingBuffer.c. - Drive-by corrections of a couple of header comments. <rdar://problem/15943240> llvm-svn: 204497
* InstrProf: Read raw binary profile in llvm-profdataDuncan P. N. Exon Smith2014-03-215-4/+339
| | | | | | | | | | | | | | Read a raw binary profile that corresponds to a memory dump from the runtime profile. The test is a binary file generated from cfe/trunk/test/Profile/c-general.c with the new compiler-rt runtime and the matching text version of the input. It includes instructions on how to regenerate. <rdar://problem/15950346> llvm-svn: 204496
* InstrProf: Write raw binary profile from runtimeDuncan P. N. Exon Smith2014-03-211-22/+47
| | | | | | | | Write a raw binary profile from the runtime. <rdar://problem/15950346> llvm-svn: 204495
* ProfileData: Avoid brace initialization, windows doesn't like itJustin Bogner2014-03-211-1/+3
| | | | llvm-svn: 204494
* Make clang/test/lit.cfg pre-scan the RUN line looking for tool names,Paul Robinson2014-03-211-0/+34
| | | | | | | and substitute fully qualified path names pointing to the build directory. This ensures we're testing the just-built tools. llvm-svn: 204493
* R600/SI: Move instruction patterns to scalar versions.Matt Arsenault2014-03-219-76/+164
| | | | | | | Some of them also had the pattern on both, so this removes the duplication. llvm-svn: 204492
* Remove redundant test.Rafael Espindola2014-03-211-9/+0
| | | | | | This is tested from MC already. llvm-svn: 204491
* Move codegen test over to MC.Rafael Espindola2014-03-212-67/+8
| | | | llvm-svn: 204490
* 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
OpenPOWER on IntegriCloud