summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Set the SuppressWarnings option on tool level and propagate to the library.Eli Bendersky2014-02-203-14/+21
| | | | | | | | | | | | | The SuppressWarnings flag, unfortunately, isn't very useful for custom tools that want to use the LLVM module linker. So I'm changing it to a parameter of the Linker, and the flag itself moves to the llvm-link tool. For the time being as SuppressWarnings is pretty much the only "option" it seems reasonable to propagate it to Linker objects. If we end up with more options in the future, some sort of "struct collecting options" may be a better idea. llvm-svn: 201819
* cstdint is a C++11 header, LLVM provides its own version of it.Benjamin Kramer2014-02-201-1/+0
| | | | | | Some versions of libstdc++ forbid using cstdint in C++98 mode. llvm-svn: 201812
* [Support] Correctly handle zero length inputs to UTF conversion functions on ↵Michael J. Spencer2014-02-201-32/+30
| | | | | | Windows. llvm-svn: 201811
* test_debuginfo.pl: Make failures easier to debug by printing the debuggerAdrian Prantl2014-02-201-0/+2
| | | | | | output. llvm-svn: 201809
* Fix build breakage.Rui Ueyama2014-02-201-1/+2
| | | | llvm-svn: 201805
* Object/COFF: Fix possible truncation bug.Rui Ueyama2014-02-202-4/+7
| | | | | | | VA can be 64 bit, as the image base can be larger than 4GB, so we need to handle 64 bit VAs properly. llvm-svn: 201803
* Remove unnecessary copy of array_lengthof.Benjamin Kramer2014-02-201-5/+2
| | | | llvm-svn: 201798
* AArch64: __va_list.__stack must be 8-byte alignedOliver Stannard2014-02-202-1/+45
| | | | | | | | The va_start macro for AArch64 must set va_list.__stack to the address following the last named argument on the stack, rounded up to an alignment of 8 bytes. llvm-svn: 201797
* [AArch64] Add support for TargetTransformInfo Analysis.Chad Rosier2014-02-205-0/+131
| | | | llvm-svn: 201793
* [mips] Make it impossible to have UnknownABI in CodeGen and Integrated ↵Daniel Sanders2014-02-2011-32/+41
| | | | | | | | | | | | | | | | | | | | | | | | | Assembler. Summary: This removes the need to coerce UnknownABI to the default ABI (O32 for MIPS32, N64 for MIPS64 [*]) in both MipsSubtarget and MipsAsmParser. Clang has been updated to disable both possible default ABI's before enabling the ABI it intends to use. [*] N64 being the default for MIPS64 is not actually correct. However N32 is not fully implemented/tested yet. Depends on: D2830 Reviewers: jacksprat, matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://llvm-reviews.chandlerc.com/D2832 Differential Revision: http://llvm-reviews.chandlerc.com/D2846 llvm-svn: 201792
* [CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_target.NAKAMURA Takumi2014-02-202-1/+3
| | | | | | add_public_tablegen_target is used somewhere. llvm-svn: 201787
* [CMake] intrinsics_gen: Use add_public_tablegen_target().NAKAMURA Takumi2014-02-201-3/+1
| | | | llvm-svn: 201786
* AsmParser: Disable Darwin-style macro argument expansion on non-darwin targets.Benjamin Kramer2014-02-203-4/+16
| | | | | | There is code in the wild that relies on $0 not being expanded. llvm-svn: 201784
* [mips] Make mips64 the default CPU for the mips64 architectureDaniel Sanders2014-02-204-13/+32
| | | | | | | | | | | | | | | | | | | | Summary: This is consistent with the integrated assembler. All mips64 codegen tests previously passed -mcpu. Removed -mcpu from blez_bgez.ll and const-mult.ll to cover the default case. Ideally, the two implementations of selectMipsCPU() will be merged but it's proven difficult to find a home for the function that doesn't cause link errors. For now, we'll hoist the common functionality into a function and mark it with FIXME's. Reviewers: jacksprat, matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://llvm-reviews.chandlerc.com/D2830 llvm-svn: 201782
* Unconditionally include msan_interface.h when building with MSan.Evgeniy Stepanov2014-02-203-11/+3
| | | | | | | Any version of Clang that does not provide this header is way too old to bootstrap with MSan. llvm-svn: 201776
* Added release note about making all inline assembly parsed (even for assemblyDaniel Sanders2014-02-201-0/+4
| | | | | | output) when the integrated assembler is enabled. llvm-svn: 201770
* COFFObjectFile.cpp: Appease msvc in r201760.NAKAMURA Takumi2014-02-201-1/+1
| | | | llvm-svn: 201769
* [x86] Switch PAUSE instruction to use XS prefix instead of HasREPPrefix. ↵Craig Topper2014-02-204-5/+3
| | | | | | Remove HasREPPrefix support from disassembler table generator since its now only used by CodeGenOnly instructions. llvm-svn: 201767
* AVX-512: added a lit test for truncate operationElena Demikhovsky2014-02-201-0/+13
| | | | llvm-svn: 201763
* AVX-512: Fixed compilation issueElena Demikhovsky2014-02-201-4/+7
| | | | llvm-svn: 201761
* llvm-objdump/COFF: Print SEH table addresses.Rui Ueyama2014-02-204-3/+33
| | | | | | | SEH table addresses are VA in COFF file. In this patch we convert VA to RVA before printing it, because dumpbin prints them as RVAs. llvm-svn: 201760
* Fix change in behaviour accidentally introduced in r201754.Nick Lewycky2014-02-201-2/+4
| | | | llvm-svn: 201758
* AVX-512: Assembly parsing of broadcast semantic in AVX-512; imlemented by ↵Elena Demikhovsky2014-02-203-66/+115
| | | | | | | | Nis Zinovy (zinovy.y.nis@intel.com) Fixed truncate i32 to i1; a test will be provided in the next commit. llvm-svn: 201757
* Object/COFF: Fix padding between CSDVersion and EditList.Rui Ueyama2014-02-202-4/+4
| | | | llvm-svn: 201756
* Simplify the implementation of getUnderlyingObjectsForInstr, without ↵Nick Lewycky2014-02-201-13/+12
| | | | | | intending to change the semantics at all. llvm-svn: 201754
* Add support for hashing attributes with DW_FORM_block. This requiredEric Christopher2014-02-205-4/+93
| | | | | | | | | | | | | passing down an AsmPrinter instance so we could compute the size of the block which could be target specific. All of the test cases in the unittest don't have any target specific data so we can use a NULL AsmPrinter there. This also depends upon block data being added as integers. We can now hash the entire fission-cu.ll compile unit so turn the flag on there with the hash value. llvm-svn: 201752
* Make DIELoc/DIEBlock's ComputeSize method const. Add a setSizeEric Christopher2014-02-203-18/+30
| | | | | | | method to actually set it in the class to avoid computing it multiple times. llvm-svn: 201751
* Format.Eric Christopher2014-02-201-50/+50
| | | | llvm-svn: 201750
* This tests DW_FORM_sdata, not DW_FORM_block. Make the test say so.Eric Christopher2014-02-201-1/+1
| | | | llvm-svn: 201749
* Fix commit thinkos from splitting out patches.Eric Christopher2014-02-201-3/+1
| | | | llvm-svn: 201748
* Add support for hashing DW_FORM_sdata and a small testcase.Eric Christopher2014-02-202-0/+48
| | | | llvm-svn: 201747
* Format.Eric Christopher2014-02-201-4/+8
| | | | llvm-svn: 201746
* Remove FIXME that had snuck in.Eric Christopher2014-02-201-1/+0
| | | | llvm-svn: 201745
* Avoid collisions with Objective-C++ keywordsTobias Grosser2014-02-191-6/+6
| | | | | | | | Change parameter names exposed in headers to avoid collisions with Objective-C++ keywords. Contributed-by: Graham Lee <graham@iamleeg.com> llvm-svn: 201727
* Fix typoTobias Grosser2014-02-191-3/+3
| | | | | | Found by: Duncan P. N. Exon Smith <dexonsmith@apple.com> llvm-svn: 201726
* Make one statement easier to understand from post commmit feedback from aReed Kotler2014-02-191-1/+1
| | | | | | review of the previous patch that introduced this week. llvm-svn: 201723
* Expand 64bit {SHL,SHR,SRA}_PARTS on sparcv9.Roman Divacky2014-02-192-0/+18
| | | | llvm-svn: 201718
* move getNameWithPrefix and getSymbol to TargetMachine.Rafael Espindola2014-02-1914-56/+60
| | | | | | | | | | TargetLoweringBase is implemented in CodeGen, so before this patch we had a dependency fom Target to CodeGen. This would show up as a link failure of llvm-stress when building with -DBUILD_SHARED_LIBS=ON. This fixes pr18900. llvm-svn: 201711
* Add back r201608, r201622, r201624 and r201625Rafael Espindola2014-02-1935-173/+377
| | | | | | | | | | | | | | r201608 made llvm corretly handle private globals with MachO. r201622 fixed a bug in it and r201624 and r201625 were changes for using private linkage, assuming that llvm would do the right thing. They all got reverted because r201608 introduced a crash in LTO. This patch includes a fix for that. The issue was that TargetLoweringObjectFile now has to be initialized before we can mangle names of private globals. This is trivially true during the normal codegen pipeline (the asm printer does it), but LTO has to do it manually. llvm-svn: 201700
* Refactor TargetOptions initialization into a single place.Eli Bendersky2014-02-195-98/+37
| | | | | | | | | | | | The same code (~20 lines) for initializing a TargetOptions object from CodeGen cmdline flags is duplicated 4 times in 4 different tools. This patch moves it into a utility function. Since the CodeGen/CommandFlags.h file defines cl::opt flags in a header, it's a bit of a touchy situation because we should only link them into tools. So this patch puts the init function in the header. llvm-svn: 201699
* Test commit - remove the new line to ↵Christian Pirker2014-02-191-1/+0
| | | | | | lib/Target/AArch64/AArch64TargetMachine.cpp. llvm-svn: 201698
* [mips] Use multiple FileCheck prefixes rather than run the test multiple timesDaniel Sanders2014-02-191-2/+1
| | | | llvm-svn: 201695
* [mips] In the integrated assembler, select the default feature bits by ↵Daniel Sanders2014-02-191-27/+8
| | | | | | | | | | changing the CPU value. This is consistent with the way CodeGen acheives this. However, CodeGen always selects mips32 (even when the architecture is mips64). llvm-svn: 201694
* Test commit - added a new line to lib/Target/AArch64/AArch64TargetMachine.cpp.Christian Pirker2014-02-191-0/+1
| | | | llvm-svn: 201692
* [Sparc] Remove spurious checks from a testcase.Venkatraman Govindaraju2014-02-191-2/+0
| | | | llvm-svn: 201690
* [mips] Use llvm::Triple in ParseMipsTriple() instead of manually parsing itDaniel Sanders2014-02-191-14/+4
| | | | | | No functional change. llvm-svn: 201689
* This reverts commit r201625 and r201624.Rafael Espindola2014-02-193-8/+13
| | | | | | | Since r201608 got reverted, it is not safe to use private linkage in these cases until it is committed back. llvm-svn: 201688
* [mips] Add explicit N32 and N64 tests to nabi-regs.s testDaniel Sanders2014-02-191-3/+7
| | | | llvm-svn: 201684
* Support GTest for FreeBSD platforms (9.x)Alexey Samsonov2014-02-192-2/+8
| | | | | | Patch by Viktor Kutuzov! llvm-svn: 201683
* [mips] Remove unused NotN64 predicateDaniel Sanders2014-02-191-2/+0
| | | | llvm-svn: 201682
OpenPOWER on IntegriCloud