summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [OCaml] Expose LLVMCloneModule.Peter Zotov2014-10-302-0/+4
| | | | llvm-svn: 220903
* [OCaml] Expose LLVM{Get,Set}DLLStorageClass.Peter Zotov2014-10-304-1/+45
| | | | llvm-svn: 220902
* [OCaml] Test code emission in Llvm_target.Peter Zotov2014-10-301-4/+3
| | | | | | | | | Prior to this commit, the Llvm_target tests (ab)used the Llvm_executionengine as a mechanism to initialize at least some target. This needlessly restricted tests to builds which can emit code for their host architecture. llvm-svn: 220901
* [OCaml] Enable backtraces in tests.Peter Zotov2014-10-3014-13/+16
| | | | llvm-svn: 220900
* [OCaml] [autoconf] Migrate to ocamlfind.Peter Zotov2014-10-3021-297/+149
| | | | | | | | | | | | | | | | | | | | | | This commit updates the OCaml bindings and tests to use ocamlfind. The bindings are migrated in order to use ctypes, which are now required for MCJIT-backed Llvm_executionengine. The tests are migrated in order to use OUnit and to verify that the distributed META.llvm allows to build working executables. Every OCaml toolchain invocation is now chained through ocamlfind, which (in theory) allows to cross-compile the OCaml bindings. The configure script now checks for ctypes (>= 0.2.3) and OUnit (>= 2). The code depending on these libraries will be added later. The configure script does not check the package versions in order to keep changes less invasive. Additionally, OCaml bindings will now be automatically enabled if ocamlfind is detected on the system, rather than ocamlc, as it was before. llvm-svn: 220899
* [OCaml] De-duplicate llvm_raise and llvm_string_of_message.Peter Zotov2014-10-307-71/+14
| | | | llvm-svn: 220898
* Remove the last couple uses of the ExprArg(just Expr*) typedef in Parser.Craig Topper2014-10-303-6/+5
| | | | llvm-svn: 220897
* Remove some duplicate functions from the Parser class. Identical functions ↵Craig Topper2014-10-301-8/+0
| | | | | | already exist in the clang namespace from Sema/Ownership.h. llvm-svn: 220896
* [CMake] clangApplyReplacement: Add clangAST in libdeps to appease msc builder.NAKAMURA Takumi2014-10-301-0/+1
| | | | | | | | clangApplyReplacements.lib(ApplyReplacements.cpp.obj) : error LNK2001: unresolved external symbol "private: void __thiscall clang::APValue::DestroyDataAndMakeUninit(void)" (?DestroyDataAndMakeUninit@APValue@clang@@AAEXXZ) They are not seen in mingw dll build. Investigating. llvm-svn: 220895
* Start adopting the StringPrinter API. The StringPrinter API is the new ↵Enrico Granata2014-10-304-377/+963
| | | | | | blessed way of printing strings that supports escaping non-printables, and has better handling of different UTF encodings llvm-svn: 220894
* [CMake] Prune redundant libdeps.NAKAMURA Takumi2014-10-309-13/+0
| | | | llvm-svn: 220893
* Remove unused service plist.Jason Molenda2014-10-302-17/+0
| | | | llvm-svn: 220892
* Add the ability for a ClangASTType to be marked as 'packed' when constructedEnrico Granata2014-10-304-2/+20
| | | | llvm-svn: 220891
* [CMake] Add dependencies on clangToolingCore.NAKAMURA Takumi2014-10-3013-0/+13
| | | | llvm-svn: 220890
* [CMake] clangToolingCore requires clangLex.NAKAMURA Takumi2014-10-301-0/+1
| | | | llvm-svn: 220889
* [CMake] Reformat.NAKAMURA Takumi2014-10-301-1/+2
| | | | llvm-svn: 220888
* Enable the slp vectorizer in the gold plugin.Rafael Espindola2014-10-302-0/+31
| | | | llvm-svn: 220887
* Enable the loop vectorizer in the gold plugin.Rafael Espindola2014-10-302-0/+31
| | | | llvm-svn: 220886
* Replace also-emit-llvm with save-temps.Rafael Espindola2014-10-292-30/+24
| | | | | | | | The also-emit-llvm option only supported getting the IR before optimizations. This patch replaces it with a more generic save-temps option that saves the IR both before and after optimizations. llvm-svn: 220885
* Untabify.NAKAMURA Takumi2014-10-291-2/+2
| | | | llvm-svn: 220884
* clang-format: Format line if invoked on the trailing newline.Daniel Jasper2014-10-292-3/+14
| | | | llvm-svn: 220883
* libcxxrt now implements bad_array_new_length and need to gaurd against ↵Eric Fiselier2014-10-291-2/+2
| | | | | | multiple defines. Patch from Baptiste Daroussin. llvm-svn: 220882
* Fix the NSPathStore2 data formatter to actually handle the explicit length ↵Enrico Granata2014-10-293-2/+46
| | | | | | stored inside the object. The meat of this commit, however, is a nice little API for easily adding new __lldb_autogen_ helper types to an AST context llvm-svn: 220881
* llvm/test/Transforms/LoopRotate/nosimplifylatch.ll: Fix possibly ↵NAKAMURA Takumi2014-10-291-36/+0
| | | | | | mis-repeatedly-pasted test. llvm-svn: 220880
* Sink a #include while we're here. NFC.Hans Wennborg2014-10-292-1/+1
| | | | | | Format.h doesn't use stack. llvm-svn: 220879
* clang-format: Cut more clangAST dependencies.Daniel Jasper2014-10-292-2/+5
| | | | | | Hopefully fixing windows builds. llvm-svn: 220878
* Trim some includes. NFC.Hans Wennborg2014-10-291-2/+1
| | | | llvm-svn: 220877
* Delete some unnecessary codeTobias Grosser2014-10-291-12/+0
| | | | | | | | | Originally we have needed this code to map the isl_id of an array to its base pointer. However, as now the isl_id contains a reference to the array itself we obtain the base pointer from this isl_id and we do not need to add this information to the IDToValue map. llvm-svn: 220876
* Run clang-format on tools/llvm-objdump/MachODump.cpp . No functional change.Kevin Enderby2014-10-291-113/+82
| | | | llvm-svn: 220875
* Follow-up to r216619: use isCXXCLassMember() instead of trying toHans Wennborg2014-10-293-3/+23
| | | | | | | check the context ourselves when selectively allowing late-added dll attributes on unused free functions and variables (PR20746) llvm-svn: 220874
* Test Case for r220872:Do not simplifyLatch for loops where hoisting ↵Yi Jiang2014-10-291-0/+70
| | | | | | increments couldresult in extra live range interferance llvm-svn: 220873
* Do not simplifyLatch for loops where hoisting increments couldresult in ↵Yi Jiang2014-10-293-7/+34
| | | | | | extra live range interferance llvm-svn: 220872
* Temporarily disable test on FreeBSD that is assertingEd Maste2014-10-291-0/+1
| | | | | | llvm.org/pr21325 llvm-svn: 220871
* Fix typoTobias Grosser2014-10-291-1/+1
| | | | llvm-svn: 220870
* Reverting r220517; it seems this broke check-asan.Aaron Ballman2014-10-291-6/+2
| | | | llvm-svn: 220869
* Fix Makefiles after r220867.Daniel Jasper2014-10-2910-24/+30
| | | | llvm-svn: 220868
* Refactor libTooling to reduce required dependencies.Daniel Jasper2014-10-2915-444/+554
| | | | | | | | | | This moves classes for storing and applying replacements to separate files. These classes specifically are used by clang-format which doesn't have any other dependencies on clangAST. Thereby, the size of clang-format's binary can be cut roughly in half and its build time sped up. llvm-svn: 220867
* Fix getRelocationValueString to return the symbol name for EM_386.Jan Wen Voung2014-10-293-6/+7
| | | | | | | | | | | | | | Summary: This helps llvm-objdump -r to print out the symbol name along with the relocation type on x86. Adjust existing tests from checking for "Unknown" to check for the symbol now. Test Plan: Adjusted test/Object tests. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5987 llvm-svn: 220866
* Shrink the set of checks enabled by default.Alexander Kornienko2014-10-291-5/+4
| | | | | | | | | | | | | | | | Summary: Enable only compiler diagnostics and safe static analyzer checks by default. Let the defaults be conservative and safe for an average project. Reviewers: djasper Reviewed By: djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6027 llvm-svn: 220865
* Enable display of compiler diagnostics in clang-tidy by default.Alexander Kornienko2014-10-291-1/+1
| | | | llvm-svn: 220863
* Enable display of compiler diagnostics in clang-tidy.Alexander Kornienko2014-10-291-1/+1
| | | | llvm-svn: 220862
* test: generalise the test matchingSaleem Abdulrasool2014-10-291-3/+3
| | | | | | The value names may change in different builds, use pattern based tests. llvm-svn: 220861
* clang-format: [JS] Support more regex literals.Daniel Jasper2014-10-292-12/+19
| | | | | | | | | | Previously a regex-literal containing "/*" would through clang-format off, e.g.: var regex = /\/*$/; Would lead to none of the following code to be formatted. llvm-svn: 220860
* CodeGen: add __readfsdword builtinSaleem Abdulrasool2014-10-294-5/+23
| | | | | | | | | The Windows NT SDK uses __readfsdword and declares it as a compiler provided builtin (#pragma intrinsic(__readfsword). Because intrin.h is not referenced by winnt.h, it is not possible to provide an out-of-line definition for the intrinsic. Provide a proper compiler builtin definition. llvm-svn: 220859
* [AVX512] Implemented AVX512VL FP bnary packed instructions (VADDP*, VSUBP*, ↵Robert Khasanov2014-10-292-107/+1391
| | | | | | | | | VMULP*, VDIVP*, VMAXP*, VMINP*) Refactored through AVX512_maskable Added encoding tests for them. llvm-svn: 220858
* Whitespace.NAKAMURA Takumi2014-10-295-40/+40
| | | | llvm-svn: 220857
* Skip test that's hanging on FreeBSD until it can be investigatedEd Maste2014-10-291-0/+3
| | | | | | llvm.org/pr21411 llvm-svn: 220856
* Fix warning in Altivec code when building with GCC 4.8.2 on Ubuntu 14.04.Jay Foad2014-10-291-1/+1
| | | | llvm-svn: 220855
* Pass aggregates on the stack without splitting in NVPTX.Eli Bendersky2014-10-292-4/+34
| | | | | | | | | | | Following the NVVM IR specifications, arguments of aggregate type should be passed on the stack without splitting (byval). http://reviews.llvm.org/D6020 Patch by Jacques Pienaar. llvm-svn: 220854
* clang/lib/AST/Decl.cpp: Tweak isVLATypeCapturingAllowed() for -Asserts. ↵NAKAMURA Takumi2014-10-291-1/+3
| | | | | | [-Wunused-function] llvm-svn: 220853
OpenPOWER on IntegriCloud