summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* DebugInfo: Follow up to r208930, comment usage of 'using' to bring in base ↵David Blaikie2014-05-151-0/+3
| | | | | | | | class overload. Code review feedback from Eric Christopher. llvm-svn: 208933
* Move more MC options into the MCTargetOptions structure.Eric Christopher2014-05-154-15/+18
| | | | | | No functional change. llvm-svn: 208932
* Remove unused llvm namespace bool variable.Eric Christopher2014-05-151-1/+0
| | | | llvm-svn: 208931
* DebugInfo: Don't put fission type units in comdat sections.David Blaikie2014-05-156-20/+41
| | | | | | | | | Since type units in the dwo file are handled by a debug aware tool, they don't need to leverage the ELF comdat grouping to implement deduplication. Avoid creating all the .group sections for these as a space optimization. llvm-svn: 208930
* Make the -L option for SaveTempLabels not be static. No functional change.Eric Christopher2014-05-151-2/+1
| | | | | Note: This option name is terrible, we should fix this. llvm-svn: 208929
* [mach-o] Add support for zero-fill sections.Nick Kledzik2014-05-155-18/+64
| | | | llvm-svn: 208928
* MS ABI: Use musttail for thunk IR generationReid Kleckner2014-05-155-22/+86
| | | | | | | | | | | This allows us to perfectly forward non-trivial arguments that use inalloca. We still can't forward non-trivial arguments through thunks when we have a covariant return type with a non-trivial adjustment. This would require emitting an extra copy, which is non-conforming anyway. llvm-svn: 208927
* Eliminate DefaultImageName from the Driver constructorAlp Toker2014-05-157-12/+8
| | | | | | | | | | | | All callers were passing in "a.out" or garbage so a sensible default works fine here as a cleanup. This also brings about the possibility of adapting the value based on the driver's compatibility mode in future. The setting can still be changed via Driver::DefaultImageName as needed. llvm-svn: 208926
* Allow dllimport/dllexport on inline functions and adjust the linkage.Hans Wennborg2014-05-1514-65/+121
| | | | | | | | This is a step towards handling these attributes on classes (PR11170). Differential Revision: http://reviews.llvm.org/D3772 llvm-svn: 208925
* Thread Safety Analysis: fixes to SExpr pretty printing.DeLesley Hutchins2014-05-152-6/+97
| | | | llvm-svn: 208924
* Finish materialize for intsReed Kotler2014-05-152-8/+106
| | | | | | | | | | | | | | Summary: We add code to materialize all integer literals. Test Plan: simplestorei.ll Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D3596 llvm-svn: 208923
* Use range forMatt Arsenault2014-05-154-62/+45
| | | | llvm-svn: 208922
* [DWARF parser] Use enums instead of bitfields in DILineInfoSpecifier.Alexey Samsonov2014-05-158-81/+79
| | | | | | | | | | | | It is more appropriate than the current situation, when one flag (AbsoluteFilePath) is relevant only if another flag is set. This refactoring would also simplify fetching the short function name (stored in DW_AT_name) instead of a linkage name returned currently. No functionality change. llvm-svn: 208921
* Don't insert lifetime.end markers between a musttail call and retReid Kleckner2014-05-152-2/+48
| | | | | | | | | | | | | The allocas going out of scope are immediately killed by the return instruction. This is a resend of r208912, which was committed accidentally. Reviewers: chandlerc Differential Revision: http://reviews.llvm.org/D3792 llvm-svn: 208920
* [mach-o] Add support and test cases for parsing tentative definitionsNick Kledzik2014-05-158-4/+245
| | | | llvm-svn: 208919
* Refactoring another for loop to use a range-based for loop instead. Also ↵Aaron Ballman2014-05-151-11/+4
| | | | | | cleaned up a bit of formatting. No functional changes intended. llvm-svn: 208918
* Refactoring some for loops to use range-based for loops instead. No ↵Aaron Ballman2014-05-151-84/+46
| | | | | | functional changes intended. llvm-svn: 208915
* Revert "Don't insert lifetime.end markers between a musttail call and ret"Reid Kleckner2014-05-152-48/+2
| | | | | | | | This reverts commit r208912. It was committed accidentally without review. llvm-svn: 208914
* Remove unused variable in inlinerReid Kleckner2014-05-151-7/+4
| | | | | | | | | We have to iterate over all the calls that were inlined to find out if any were musttail. Sink another variable down to where its used. llvm-svn: 208913
* Don't insert lifetime.end markers between a musttail call and retReid Kleckner2014-05-152-2/+48
| | | | | | | | | | | The allocas going out of scope are immediately killed by the return instruction. Reviewers: chandlerc Differential Revision: http://reviews.llvm.org/D3630 llvm-svn: 208912
* DebugInfo: Simplify retrieving filename/directory name for line table entry ↵David Blaikie2014-05-151-26/+6
| | | | | | building. llvm-svn: 208911
* Teach the inliner how to preserve musttail invariantsReid Kleckner2014-05-152-35/+252
| | | | | | | | | | | | | | | | | | | | The interesting case is what happens when you inline a musttail call through a musttail call site. In this case, we can't break perfect forwarding or allow any stack growth. Instead of merging control flow from the inlined return instruction after a musttail call into the body of the caller, leave the inlined return instruction in the caller so that the musttail call stays in the tail position. More work is required in http://reviews.llvm.org/D3630 to handle the case where the inlined function has dynamic allocas or byval arguments. Reviewers: chandlerc Differential Revision: http://reviews.llvm.org/D3491 llvm-svn: 208910
* DebugInfo: Add FIXME regarding DILexicalBlock uniquing fields.David Blaikie2014-05-151-0/+7
| | | | llvm-svn: 208909
* autoconf: Fix libLLVM-Major-Minor-Patch.so symlinkTom Stellard2014-05-151-1/+1
| | | | | | | | The symlink needs to point to a relative path, so we don't break building in a chroot. Tested-by: Laurent Carlier <lordheavym@gmail.org> llvm-svn: 208908
* cleanup and test litlintGreg Fitzgerald2014-05-152-13/+82
| | | | llvm-svn: 208907
* [obj2yaml][ELF] Print relocation's offset as a hex number. Use a properSimon Atanasyan2014-05-152-12/+12
| | | | | | types to hold relocation's offset and addend. llvm-svn: 208906
* [obj2yaml][ELF] Do not print empty Link and Info fields for ELF sections.Simon Atanasyan2014-05-152-28/+2
| | | | llvm-svn: 208905
* Revert "[PM] Add pass run listeners to the pass manager."Juergen Ributzka2014-05-1511-207/+8
| | | | | | | Revert the current implementation and C API. New implementation and C APIs are in the works. llvm-svn: 208904
* Exclude MSVC to try to unbreak their builds. We have a bad skew betweenChandler Carruth2014-05-151-2/+10
| | | | | | how CMake drives a windows link and how our custom command does. llvm-svn: 208903
* [ARM64] Improve diagnostics for Cn operands in SYS instructionsBradley Smith2014-05-152-70/+25
| | | | llvm-svn: 208902
* Use the virtual name of headers when searching for a moduleBen Langmuir2014-05-151-6/+6
| | | | | | | | | | When using the VFS, we want the virtual header location when searching for a framework module, since that will be the one in the correct directory structure for the module. I'll add a regression test once I finish reducing the larger one I have. llvm-svn: 208901
* [yaml2obj] Add "-o" command line option to specify an output file name.Simon Atanasyan2014-05-154-11/+37
| | | | llvm-svn: 208900
* [ASan/Win tests] Add memcpy/strdup/strlen interception testsTimur Iskhodzhanov2014-05-153-0/+88
| | | | llvm-svn: 208899
* Fixed incorrect StringRef::find usage.Alexander Kornienko2014-05-152-4/+4
| | | | llvm-svn: 208898
* llvm/test/CodeGen/X86/combine-sse41-intrinsics.ll: Add explicit triple.NAKAMURA Takumi2014-05-151-1/+1
| | | | llvm-svn: 208897
* Teach the compiler-rt custom compilation and linking CMake rules usedChandler Carruth2014-05-151-1/+3
| | | | | | | | | | for sanitizers to pass the C++ compilation and exe linking flags through from the host CMake configuration. We pass the target flags afterward, allowing them to trump flags as needed. This is particularly important when the flags direct Clang, even the just-built-Clang, toward the standard library, linker, and other tools to use. llvm-svn: 208896
* [X86] Teach the backend how to fold SSE4.1/AVX/AVX2 blend intrinsics.Andrea Di Biagio2014-05-154-2/+468
| | | | | | | | | | | | | Added target specific combine rules to fold blend intrinsics according to the following rules: 1) fold(blend A, A, Mask) -> A; 2) fold(blend A, B, <allZeros>) -> A; 3) fold(blend A, B, <allOnes>) -> B. Added two new tests to verify that the new folding rules work for all the optimized blend intrinsics. llvm-svn: 208895
* [mips][mips64r6] Add CLASS.fmt instructionsZoran Jovanovic2014-05-153-5/+13
| | | | | | Differential Revision: http://reviews.llvm.org/D3712 llvm-svn: 208894
* [ASan/Win tests] Add more DLL testsTimur Iskhodzhanov2014-05-156-13/+139
| | | | llvm-svn: 208893
* [mips][mips64r6] Add RINT.fmt instructionsZoran Jovanovic2014-05-154-2/+33
| | | | | | Differential Revision: http://reviews.llvm.org/D3711 llvm-svn: 208892
* [mips][mips64r6] Add SELEQZ/SELNEZ.fmt instructionsZoran Jovanovic2014-05-153-4/+29
| | | | | | Differential Revision: http://reviews.llvm.org/D3710 llvm-svn: 208891
* [mips][mips64r6] Add MAX/MIN/MAXA/MINA.fmt instructionsZoran Jovanovic2014-05-153-7/+51
| | | | | | Differential Revision: http://reviews.llvm.org/D3709 llvm-svn: 208890
* [ASan/Win tests] Add more DLL tests: malloc & friendsTimur Iskhodzhanov2014-05-154-2/+102
| | | | llvm-svn: 208889
* R600/SI: Stop using VSrc_* as the default register class for types.Tom Stellard2014-05-152-63/+11
| | | | | | | | | | We now use SReg_* for integer types and VReg_* for floating-point types. This should help simplify the SIFixSGPRCopies pass and no longer causes ISel to insert a COPY after termiator instuctions that output a value. This change is covered by exisitng tests. llvm-svn: 208888
* R600/SI: Fix a bug with handling of INSERT_SUBREG in SIFixSGPRCopiesTom Stellard2014-05-152-7/+28
| | | | | | This prevents a future commit from regressing the load-i1.ll test. llvm-svn: 208887
* R600/SI: Only use SALU instructions for 64-bit add in a block of CF depth 0Tom Stellard2014-05-152-5/+31
| | | | llvm-svn: 208886
* R600/SI: Use VALU instructions for i1 opsTom Stellard2014-05-154-23/+65
| | | | llvm-svn: 208885
* [ASan/Win tests] Add the first DLL testTimur Iskhodzhanov2014-05-152-0/+60
| | | | llvm-svn: 208884
* Change the behavior of clang-tidy -checks=, remove -disable-checks.Alexander Kornienko2014-05-1518-47/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Make checks filtering more intuitive and easy to use. Remove -disable-checks and change the format of -checks= to a comma-separated list of globs with optional '-' prefix to denote exclusion. The -checks= option is now cumulative, so it modifies defaults, not overrides them. Each glob adds or removes to the current set of checks, so the filter can be refined or overriden by adding globs. Example: The default value for -checks= is '*,-clang-analyzer-alpha*,-llvm-include-order,-llvm-namespace-comment,-google-*', which allows all checks except for the ones named clang-analyzer-alpha* and others specified with the leading '-'. To allow all google-* checks one can write: clang-tidy -checks=google-* ... If one needs only google-* checks, we first need to remove everything (-*): clang-tidy -checks=-*,google-* etc. I'm not sure if we need to change something here, so I didn't touch the docs yet. Reviewers: klimek, alexfh Reviewed By: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3770 llvm-svn: 208883
* clang-format: Fix Sphinx build error.Daniel Jasper2014-05-152-4/+6
| | | | | | Patch by Adam Strzelecki, thank you! llvm-svn: 208882
OpenPOWER on IntegriCloud