summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* [RuntimeDyld] Allow processRelocationRef to process more than one relocation ↵Juergen Ributzka2014-03-2113-46/+90
| | | | | | | | | | | | | entry at a time. Some targets require more than one relocation entry to perform a relocation. This change allows processRelocationRef to process more than one relocation entry at a time by passing the relocation iterator itself instead of just the relocation entry. Related to <rdar://problem/16199095> llvm-svn: 204439
* Document removed flags in release notesAlexey Samsonov2014-03-212-1/+5
| | | | llvm-svn: 204438
* Fix test command line to avoid generating output file.Kevin Qin2014-03-211-1/+1
| | | | llvm-svn: 204437
* Kill deprecated -fbounds-checking flagAlexey Samsonov2014-03-215-30/+4
| | | | llvm-svn: 204436
* [Constant Hoisting] Make the constant materialization cost operand dependentJuergen Ributzka2014-03-217-54/+66
| | | | | | | | | Extend the target hook to take also the operand index into account when calculating the cost of the constant materialization. Related to <rdar://problem/16381500> llvm-svn: 204435
* [Constant Hoisting] Lazily compute the idom and cache the result.Juergen Ributzka2014-03-211-4/+43
| | | | | | Related to <rdar://problem/16381500> llvm-svn: 204434
* [Constant Hoisting] Change the algorithm to only track constants for ↵Juergen Ributzka2014-03-212-242/+324
| | | | | | | | | | | | | | | | | | | | | | | | instructions. Originally the algorithm would search for expensive constants and track their users, which could be instructions and constant expressions. This change only tracks the constants for instructions, but constant expressions are indirectly covered too. If an operand is an constant expression, then we look through the expression to find anny expensive constants. The algorithm keep now track of the instruction and the operand index where the constant is used. This allows more precise hoisting of constant materialization code for PHI instructions, because we only hoist to the basic block of the incoming operand. Before we had to find the idom of all PHI operands and hoist the materialization code there. This also makes updating of instructions easier. Before we had to keep track of the original constant, find it in the instructions, and then replace it. Now we can just simply update the operand. Related to <rdar://problem/16381500> llvm-svn: 204433
* [Constant Hoisting] Fix capitalization of function names.Juergen Ributzka2014-03-211-33/+34
| | | | llvm-svn: 204432
* [Constant Hoisting] Replace the MapVector with a separate Map and Vector to ↵Juergen Ributzka2014-03-211-38/+51
| | | | | | | | | | | keep track of constant candidates. This simplifies working with the constant candidates and removes the tight coupling between the map and the vector. Related to <rdar://problem/16381500> llvm-svn: 204431
* [-Wunreachable-code] add a specialized diagnostic for unreachable increment ↵Ted Kremenek2014-03-218-4/+55
| | | | | | expressions of loops. llvm-svn: 204430
* MCParser: add an assertionSaleem Abdulrasool2014-03-211-1/+3
| | | | | | | Add an assertion that the section is not NULL. Potential NULL pointer dereference identified by clang static analyzer. llvm-svn: 204429
* [OPENMP] parsing of clause 'safelen' (for directive 'omp simd')Alexey Bataev2014-03-2117-6/+363
| | | | llvm-svn: 204428
* This reverts commit r203762, "ARM: support emission of complex SO expressions".Jiangning Liu2014-03-212-23/+2
| | | | | | The commit r203762 introduced silent failure for complext SO expression, and it's even worse than compiler crash. llvm-svn: 204427
* [Support] Make sure LockFileManager works correctly with relative paths.Argyrios Kyrtzidis2014-03-212-1/+40
| | | | llvm-svn: 204426
* Fix an assertion caused by using inline asm with indirect register inputs.Kevin Qin2014-03-212-1/+17
| | | | llvm-svn: 204425
* [AArch64] Remove .data_region directive from AArch64.Kevin Qin2014-03-212-2/+16
| | | | | | | | | .data_region is only used in Darwin, so it shouldn't be generated for other OS. Currently AArch64 doesn't support darwin yet, so I removed it from AArch64. When Darwin is supported someday, we can add it back and associate it with Darwin. llvm-svn: 204424
* Serialize and deserialize mangling numbers.Richard Smith2014-03-215-4/+61
| | | | llvm-svn: 204423
* [Support] Make sure sys::fs::remove can remove symbolic links and make sure ↵Argyrios Kyrtzidis2014-03-213-8/+37
| | | | | | LockFileManager can handle a symbolic link that points nowhere. llvm-svn: 204422
* Convert a CodeGen test into a MC test.Rafael Espindola2014-03-212-48/+15
| | | | llvm-svn: 204421
* [PECOFF] Fix possible response file buffer overrun.Rui Ueyama2014-03-211-1/+2
| | | | | | | | Response file is not NUL terminated, so when creating a StringRef for the buffer contents, we need to pass the buffer size as well as the pointer pointing to the buffer. llvm-svn: 204420
* fixed check_lint.sh in standalone buildGreg Fitzgerald2014-03-212-1/+4
| | | | | Change-Id: I30d340bbe6b2028cc0f831399b62521912dcac60 llvm-svn: 204419
* Object/COFF: Support large relocation table.Rui Ueyama2014-03-214-11/+53
| | | | | | | | | | | | | | | | NumberOfRelocations field in COFF section table is only 16-bit wide. If an object has more than 65535 relocations, the number of relocations is stored to VirtualAddress field in the first relocation field, and a special flag (IMAGE_SCN_LNK_NRELOC_OVFL) is set to Characteristics field. In test we cheated a bit. I made up a test file so that it has IMAGE_SCN_LNK_NRELOC_OVFL flag but the number of relocations is much smaller than 65535. This is to avoid checking in a large test file just to test a file with many relocations. Differential Revision: http://llvm-reviews.chandlerc.com/D3139 llvm-svn: 204418
* PR19215: When writing/reading a PCH that imported a module, store the locationRichard Smith2014-03-217-19/+56
| | | | | | | at which that PCH imported each visible submodule of the module. Such locations are needed when synthesizing macro directives resulting from the import. llvm-svn: 204417
* Port test to cfi.Rafael Espindola2014-03-211-10/+5
| | | | llvm-svn: 204416
* PGO: Indicate errors in profile runtime APIDuncan P. N. Exon Smith2014-03-214-19/+41
| | | | | | Return 0 for success, non-0 for failure. llvm-svn: 204415
* PGO: Substitute pid for %p in filenameDuncan P. N. Exon Smith2014-03-211-1/+46
| | | | | | | | | | | | Add logic to do a printf-style substitution of %p for the process pid in the filename. It's getting increasingly awkward to work on lib/profile without test infrastructure. This needs to be fixed! <rdar://problem/16383358> llvm-svn: 204414
* Fixed newlines.Alexander Kornienko2014-03-211-52/+52
| | | | llvm-svn: 204413
* Convert another CodeGen test into a MC test.Rafael Espindola2014-03-202-51/+29
| | | | llvm-svn: 204412
* Fix PR19136: [ARM] Fix Folding SP Update into vpush/vpopWeiming Zhao2014-03-202-3/+44
| | | | | | | | | | | Sicne MBB->computeRegisterLivenes() returns Dead for sub regs like s0, d0 is used in vpop instead of updating sp, which causes s0 dead before its use. This patch checks the liveness of each subreg to make sure the reg is actually dead. llvm-svn: 204411
* llvm-objdump output hex to match binutils' objdumpGreg Fitzgerald2014-03-204-28/+51
| | | | | | Patch by Ted Woodward llvm-svn: 204409
* PGO: Don't define instrumentation data available_externallyDuncan P. N. Exon Smith2014-03-202-0/+27
| | | | | | | | | | | | | | | Variables with available_externally linkage can be dropped at will. This causes link errors, since there are still references to the instrumentation! linkonce_odr is almost equivalent, so use that instead. As a drive-by fix (I don't have an Elf system, so I'm not sure how to write a testcase), use linkonce linkage for the instrumentation of extern_weak functions. <rdar://problem/15943240> llvm-svn: 204408
* PGO: Rename FuncLinkage to VarLinkage; no functionality changeDuncan P. N. Exon Smith2014-03-202-5/+5
| | | | | | | | | The variable is used to set the linkage for variables, and will become different from function linkage in a follow-up commit. <rdar://problem/15943240> llvm-svn: 204407
* Convert CodeGen test into a more specific MC test.Rafael Espindola2014-03-202-24/+14
| | | | llvm-svn: 204406
OpenPOWER on IntegriCloud