summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* [SystemZ] Extend memcmp support to all constant lengthsRichard Sandiford2013-08-284-30/+188
| | | | | | This uses the infrastructure added for memcpy and memmove in r189331. llvm-svn: 189458
* Fix use of uninitialized value added in r189400 (found by MemorySanitizer)Alexey Samsonov2013-08-281-4/+3
| | | | llvm-svn: 189456
* Add missing includeCraig Topper2013-08-281-0/+1
| | | | llvm-svn: 189448
* Revert r189442 "Change default # of digits for APFloat::toString"Ted Kremenek2013-08-282-13/+9
| | | | | | This is breaking numerous Clang tests on the buildbot. llvm-svn: 189447
* Change default # of digits for APFloat::toStringEli Friedman2013-08-282-9/+13
| | | | | | | | | | | | | | | The previous default was almost, but not quite enough digits to represent a floating-point value in a manner which preserves the representation when it's read back in. The larger default is much less confusing. I spent some time looking into printing exactly the right number of digits if a precision isn't specified, but it's kind of complicated, and I'm not really sure I understand what APFloat::toString is supposed to output for FormatPrecision != 0 (or maybe the current API specification is just silly, not sure which). I have a WIP patch if anyone is interested. llvm-svn: 189442
* Remove support for the .debug_inlined section. No known softwareEric Christopher2013-08-285-122/+0
| | | | | | in use supports it. llvm-svn: 189439
* X86JITInfo.cpp: Apply x64 version of X86CompilationCallback() to Cygwin64.NAKAMURA Takumi2013-08-281-1/+1
| | | | | | For now, (defined(X86_64_JIT) && defined(__CYGWIN__)) satisfies Cygwin64. llvm-svn: 189437
* X86Subtarget.h: Recognize x86_64-cygwin.NAKAMURA Takumi2013-08-281-4/+1
| | | | | | In the LLVM side, x86_64-cygwin is almost as same as x86_64-mingw32. llvm-svn: 189436
* cmake: Add msbuild integration to the installHans Wennborg2013-08-284-0/+83
| | | | | | | | | | This adds the msbuild integration files to the install, provides batch scripts for (un)installing it in a convenient way, and hooks up the nsis installer to run those scripts. Differential Revision: http://llvm-reviews.chandlerc.com/D1537 llvm-svn: 189434
* [BumpPtrAllocator] Move DefaultSlabAllocator to a member of ↵Argyrios Kyrtzidis2013-08-282-9/+13
| | | | | | | | | | BumpPtrAllocator, instead of a static variable. The problem with having DefaultSlabAllocator being a global static is that it is undefined if BumpPtrAllocator will be usable during global initialization because it is not guaranteed that DefaultSlabAllocator will be initialized before BumpPtrAllocator is created and used. llvm-svn: 189433
* [mips] Use ptr_rc to simplify definitions of base+index load/store instructions.Akira Hatanaka2013-08-2813-51/+233
| | | | | | Also, fix predicates. llvm-svn: 189432
* [mips] Clean up definitions of move word from/to coprocessor instructions.Akira Hatanaka2013-08-282-46/+20
| | | | | | No functionality change. llvm-svn: 189431
* [mips] Set isAllocatable and CoveredBySubRegs.Akira Hatanaka2013-08-281-1/+3
| | | | llvm-svn: 189430
* Add a TODO here.Eric Christopher2013-08-281-0/+1
| | | | llvm-svn: 189428
* Add support for DW_FORM_dataN and DW_FORM_udata to the DIE hashingEric Christopher2013-08-283-2/+14
| | | | | | | algorithm. Update the split dwarf hashing testcase accordingly - this should be the last time that the hash of an empty file changes. llvm-svn: 189427
* Revert "Option parsing: support case-insensitive option matching." as it ↵Rui Ueyama2013-08-284-88/+54
| | | | | | | | broke Windows buildbot. This reverts r189416. llvm-svn: 189424
* Use DW_FORM_sdata for signed constant values and udata on occasionEric Christopher2013-08-275-30/+65
| | | | | | | | | | when we can. Migrate from using blocks when we're adding just a single attribute and floating point values are an unsigned, not signed, bag of bits. Update all test cases accordingly. llvm-svn: 189419
* Move some debug testcases to the debug info directory.Eric Christopher2013-08-2716-0/+0
| | | | llvm-svn: 189418
* Option parsing: support case-insensitive option matching.Rui Ueyama2013-08-274-54/+88
| | | | | | | | | | | | | | Link.exe's command line options are case-insensitive. This patch adds a new attribute to OptTable to let the option parser to compare options, ignoring case. Command lines are generally case-insensitive on Windows. CL.exe is an exception. So this new attribute should be useful for other commands running on Windows. Differential Revision: http://llvm-reviews.chandlerc.com/D1485 llvm-svn: 189416
* [CMake] Put back the add_llvm_external_project() calls for specific projects.Argyrios Kyrtzidis2013-08-271-0/+4
| | | | | | | This allows setting-up the LLVM_EXTERNAL_* CMake variables that some people are using, e.g. to set the source directory of the project in a different place. llvm-svn: 189415
* Add xml files for msbuild integrationReid Kleckner2013-08-272-0/+12
| | | | | | | | | | | | | | These files are intended to live in the msbuild toolset directory, which is somewhere like: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\ v4.0\Platforms\Win32\PlatformToolsets\llvm More work is needed to install them as part of the NSIS installer. Patch by Warren Hunt! llvm-svn: 189411
* DIBuilder: take an optional StringRef to pass in unique identifier.Manman Ren2013-08-272-19/+29
| | | | | | | | createClassType, createStructType, createUnionType, createEnumerationType, and createForwardDecl will take an optional StringRef to pass in the unique identifier. llvm-svn: 189410
* DataFlowSanitizer: Implement trampolines for function pointers passed to ↵Peter Collingbourne2013-08-273-8/+94
| | | | | | | | custom functions. Differential Revision: http://llvm-reviews.chandlerc.com/D1503 llvm-svn: 189408
* [ms-inline asm] Support offsets after segment registersDavid Majnemer2013-08-272-40/+76
| | | | | | | | | | | | | | Summary: MASM let's you do stuff like 'MOV FS:20, EAX' and 'MOV EAX, FS:20' Reviewers: craig.topper, rnk Reviewed By: rnk CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1470 llvm-svn: 189407
* Given target assembler parsers a chance to handle variant expressionsJoerg Sonnenberger2013-08-276-3/+49
| | | | | | | first. Use this to turn the PPC modifiers into PPC specific expressions, allowing them to work on constants. llvm-svn: 189400
* Changed commentJack Carter2013-08-271-1/+1
| | | | llvm-svn: 189396
* Translate ENABLE_CLANG_{ARCMT,REWRITER,STATIC_ANALYZER} when generatingRoman Divacky2013-08-271-0/+16
| | | | | | lit.site.cfg. llvm-svn: 189394
* Refactor 'vectorizeLoop' no functionality change.Nadav Rotem2013-08-271-187/+53
| | | | | | This patch merges LoopVectorize of InnerLoopVectorizer and InnerLoopUnroller by adding checks for VF=1. This helps in erasing the Unroller code that is almost identical to the InnerLoopVectorizer code. llvm-svn: 189391
* [ARMv8] Add MC support for the new load/store acquire/release instructions.Joey Gouly2013-08-279-27/+349
| | | | llvm-svn: 189388
* Revert 189297, the original commit message is following. Shuxin Yang2013-08-275-54/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---- Add new API lto_codegen_compile_parallel(). This API is proposed by Nick Kledzik. The semantic is: -------------------------------------------------------------------------- Generate code for merged module into an array of native object files. On success returns a pointer to an array of NativeObjectFile. The count parameter returns the number of elements in the array. Each element is a pointer/length for a generated mach-o/ELF buffer. The buffer is owned by the lto_code_gen_t and will be freed when lto_codegen_dispose() is called, or lto_codegen_compile() is called again. On failure, returns NULL (check lto_get_error_message() for details). extern const struct NativeObjectFile* lto_codegen_compile_parallel(lto_code_gen_t cg, size_t *count); --------------------------------------------------------------------------- This API is currently only called on OSX platform. Linux or other Unixes using GNU gold are not supposed to call this function, because on these systems, object files are fed back to linker via disk file instead of memory buffer. In this commit, lto_codegen_compile_parallel() simply calls lto_codegen_compile() to return a single object file. In the near future, this function is the entry point for compilation with partition. Linker can blindly call this function even if partition is turned off; in this case, compiler will return only one object file. llvm-svn: 189386
* AVX-512: added conversion instructions.Elena Demikhovsky2013-08-273-19/+400
| | | | llvm-svn: 189349
* DAGCombiner: make sure or/shl/srl really has zero high bits before forming bswapTim Northover2013-08-272-12/+125
| | | | | | | | We want to convert code like (or (srl N, 8), (shl N, 8)) into (srl (bswap N), const), but this is only valid if the bits above 16 on the source pattern are 0, the checks we were doing on this were slightly wrong before. llvm-svn: 189348
* [ARMv8] Add some negative tests for the recent VFP/NEON instructions.Joey Gouly2013-08-274-5/+115
| | | | | | Fix two issues I found while writing these tests. llvm-svn: 189341
* Add an assertion to the fixed-size allocator to ensure that we don't requestJoey Gouly2013-08-271-1/+2
| | | | | | | | an allocation that is greater than what we will actually allocate. Patch by Artyom Skrobov! llvm-svn: 189340
* ARM: add natural patterns for vaddhl and vsubhl.Tim Northover2013-08-273-0/+68
| | | | | | | | These instructions aren't particularly complicated and it's well worth having patterns for some reasonably useful LLVM IR that will match them. Soon we should be able to switch Clang over to producing this natural version. llvm-svn: 189335
* R600/SI: Enable local-memory-two-objects lit testMichel Danzer2013-08-271-12/+17
| | | | | Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 189334
* [mips][msa] Added tests for and.v, bmnz.v, bmz.v, bsel.v, nor.v, or.v, xor.v ↵Daniel Sanders2013-08-271-43/+523
| | | | | | | | | | | | when non-byte vectors are used. Note that all of these tests use ld.b and st.b for the loads and stores regardless of the data size. This is because the definition of bitcast is equivalent to a store/load sequence and DAG combiner accordingly folds bitcasts to/from v16i8 into the load/store nodes to product load/store nodes with type v16i8. llvm-svn: 189333
* [mips][msa] Added spill/reload supportDaniel Sanders2013-08-272-0/+613
| | | | llvm-svn: 189332
* [SystemZ] Extend memcpy and memset support to all constant lengthsRichard Sandiford2013-08-2713-110/+463
| | | | | | | | | | | | | | Lengths up to a certain threshold (currently 6 * 256) use a series of MVCs. Lengths above that threshold use a loop to handle X*256 bytes followed by a single MVC to handle the excess (if any). This loop will also be needed in future when support for variable lengths is added. Because the same tablegen classes are used to define MVC and CLC, the patch also has the side-effect of defining a pseudo loop instruction for CLC. That instruction isn't used yet (and wouldn't be handled correctly if it were). I'm planning to use it soon though. llvm-svn: 189331
* [mips][msa] Added bitconverts for vector types for big and little-endianDaniel Sanders2013-08-273-2/+1359
| | | | llvm-svn: 189330
* Add support for DebugFission to DWARF parserAlexey Samsonov2013-08-277-91/+250
| | | | | | | | | | | | | | | | | | | Summary: 1) Make llvm-symbolizer properly symbolize files with split debug info (by using stanalone .dwo files). 2) Make DWARFCompileUnit parse and store corresponding .dwo file, if necessary. 3) Make bits of DWARF parsing more CompileUnit-oriented. Reviewers: echristo Reviewed By: echristo CC: bkramer, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1164 llvm-svn: 189329
* AVX-512: Added FMA instructions.Elena Demikhovsky2013-08-273-1/+281
| | | | llvm-svn: 189326
* Fix the build issue under ia64. Close bug #5715Sylvestre Ledru2013-08-272-2/+2
| | | | | | Thanks to Luca Falavigna for the help and most of the patch. llvm-svn: 189324
* Revert "Fix the build broken by r189315." and "Move everything depending on ↵Charles Davis2013-08-2720-936/+1369
| | | | | | | | | Object/MachOFormat.h over to Support/MachO.h." This reverts commits r189319 and r189315. r189315 broke some tests on what I believe are big-endian platforms. llvm-svn: 189321
* Fix the build broken by r189315.David Blaikie2013-08-271-17/+8
| | | | | | | (this triggered Clang's -Wsometimes-uninitialized on the default path through the switch) llvm-svn: 189319
* Move everything depending on Object/MachOFormat.h over to Support/MachO.h.Charles Davis2013-08-2720-1377/+953
| | | | llvm-svn: 189315
* Support/MachO: Add a bunch of defines.Charles Davis2013-08-273-283/+560
| | | | | | | | Right now we have two headers for the Mach-O format. I'd like to get rid of one. Since the other object formats are all in Support, I chose to keep the Mach-O header in Support, and discard the other one. llvm-svn: 189314
* Fixed typo.Michael Gottesman2013-08-271-1/+1
| | | | | | Noticed by Stephen Checkoway <s@pahtak.org>. llvm-svn: 189312
* Fix wrong code offset for unwind code SET_FPREG.Kai Nacke2013-08-274-7/+6
| | | | | | | | | | | | The code offset for unwind code SET_FPREG is wrong because it is set to constant 0. The fix is to do the same as for the other unwind codes: emit a label and later the absolute difference between the label and the begin of the prologue. Also enables the failing test case MC/COFF/seh.s Reviewed by Jim Grosbach, Charles Davis and Nico Rieck. llvm-svn: 189309
* Add derived from source.Eric Christopher2013-08-271-0/+5
| | | | llvm-svn: 189301
OpenPOWER on IntegriCloud