Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | PackedVector: Make the BitVector implementation configurable. | Benjamin Kramer | 2012-09-28 | 1 | -13/+14 | |
| | | | | llvm-svn: 164826 | |||||
* | Provide malloc-free sentinels for the SparseBitVector internals. | Benjamin Kramer | 2012-09-28 | 1 | -0/+16 | |
| | | | | llvm-svn: 164823 | |||||
* | Replace the use of strncpy() and sprintf() with std::string and LLVM streams. | Dmitri Gribenko | 2012-09-28 | 1 | -4/+7 | |
| | | | | | | Patch by Martinez, Javier E. llvm-svn: 164822 | |||||
* | CorrelatedPropagation: BasicBlock::removePredecessor can simplify PHI nodes. ↵ | Benjamin Kramer | 2012-09-28 | 2 | -0/+30 | |
| | | | | | | | | If the it's the condition of a SwitchInst, reload it. Fixes PR13972. llvm-svn: 164818 | |||||
* | Make backtraces work again with both the configure and cmake build. | Benjamin Kramer | 2012-09-28 | 3 | -1/+9 | |
| | | | | llvm-svn: 164817 | |||||
* | GlobalOpt: non-constexpr bitcasts or GEPs can occur even if the global value ↵ | Benjamin Kramer | 2012-09-28 | 2 | -2/+27 | |
| | | | | | | | | is only stored once. Fixes PR13968. llvm-svn: 164815 | |||||
* | Surprisingly, we missed a trivial case here. Fix that! | Nick Lewycky | 2012-09-28 | 2 | -0/+12 | |
| | | | | llvm-svn: 164814 | |||||
* | Remove a LLVM_DELETED_FUNCTION from destructor to fix -std=c++11 build on ↵ | Craig Topper | 2012-09-28 | 1 | -1/+3 | |
| | | | | | | gcc 4.7. llvm-svn: 164813 | |||||
* | 1. Add load/store words from the stack | Reed Kotler | 2012-09-28 | 3 | -34/+86 | |
| | | | | | | | | | 2. As part of this, added assembly format FEXT_RI16_SP_explicit_ins and moved other lines for FEXT_RI16 formats to be in the right place in the code. 3. Added mayLoad and mayStore assignements for the load/store instructions added and for ones already there that did not have this assignment. 4. Another patch will deal with the problem of load/store byte/halfword to the stack. This is a particular Mips16 problem. llvm-svn: 164811 | |||||
* | Remove <def,read-undef> flags from partial redefinitions. | Jakob Stoklund Olesen | 2012-09-27 | 1 | -0/+6 | |
| | | | | | | | | | The new coalescer can turn a full virtual register definition into a partial redef by merging another value into an unused vector lane. Make sure to clear the <read-undef> flag on such defs. llvm-svn: 164807 | |||||
* | Fix more crlf issues. | Micah Villmow | 2012-09-27 | 1 | -34/+34 | |
| | | | | llvm-svn: 164805 | |||||
* | instcombine: Add more test cases for __strncpy_chk simplification | Meador Inge | 2012-09-27 | 2 | -0/+87 | |
| | | | | llvm-svn: 164800 | |||||
* | instcombine: Add more test cases for __strcpy_chk simplification | Meador Inge | 2012-09-27 | 3 | -13/+109 | |
| | | | | llvm-svn: 164799 | |||||
* | instcombine: Add more test cases for __memmove_chk simplification | Meador Inge | 2012-09-27 | 2 | -0/+84 | |
| | | | | llvm-svn: 164798 | |||||
* | instcombine: Add more test cases for __memcpy_chk simplification | Meador Inge | 2012-09-27 | 2 | -0/+84 | |
| | | | | llvm-svn: 164797 | |||||
* | instcombine: Add more test cases for __memset_chk simplification | Meador Inge | 2012-09-27 | 3 | -18/+81 | |
| | | | | llvm-svn: 164796 | |||||
* | Enable the new coalescer algorithm by default. | Jakob Stoklund Olesen | 2012-09-27 | 2 | -2/+1 | |
| | | | | | | | The new coalescer is better at merging values into unused vector lanes, improving NEON code. llvm-svn: 164794 | |||||
* | Don't dereference begin() on an empty vector. | Jakob Stoklund Olesen | 2012-09-27 | 1 | -1/+1 | |
| | | | | | | | | The fix is obvious and the only test case I have is horrible, so I am not including it. The problem shows up when self-hosting clang on i386 with -new-coalescer enabled. llvm-svn: 164793 | |||||
* | MIPS DSP: ABSQ_S.PH instruction sub-class. | Akira Hatanaka | 2012-09-27 | 4 | -0/+377 | |
| | | | | llvm-svn: 164787 | |||||
* | MIPS DSP: SHLL.QB instruction sub-class. | Akira Hatanaka | 2012-09-27 | 4 | -0/+403 | |
| | | | | llvm-svn: 164786 | |||||
* | Fix a integer overflow in SimplifyCFG's look up table formation logic. | Benjamin Kramer | 2012-09-27 | 2 | -0/+42 | |
| | | | | | | | | If the width is very large it gets truncated from uint64_t to uint32_t when passed to TD->fitsInLegalInteger. The truncated value can fit in a register. This manifested in massive memory usage or crashes (PR13946). llvm-svn: 164784 | |||||
* | Fix CRLF issues. | Micah Villmow | 2012-09-27 | 1 | -95/+95 | |
| | | | | llvm-svn: 164782 | |||||
* | Avoid dereferencing a NULL pointer. | Jakob Stoklund Olesen | 2012-09-27 | 2 | -1/+36 | |
| | | | | | | Fixes PR13943. llvm-svn: 164778 | |||||
* | Patch for HowToBuildOnARM documentation from Wei-Ren Chen. | Micah Villmow | 2012-09-27 | 2 | -90/+129 | |
| | | | | llvm-svn: 164776 | |||||
* | Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. ↵ | Sylvestre Ledru | 2012-09-27 | 84 | -295/+295 | |
| | | | | | | See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 llvm-svn: 164768 | |||||
* | Fix a typo 'iff' => 'if' | Sylvestre Ledru | 2012-09-27 | 84 | -295/+295 | |
| | | | | llvm-svn: 164767 | |||||
* | Prefer shuffles to selects. Backends love shuffles! | Nick Lewycky | 2012-09-27 | 3 | -2/+55 | |
| | | | | llvm-svn: 164763 | |||||
* | Add constructors to the attribute builder. | Bill Wendling | 2012-09-27 | 1 | -0/+3 | |
| | | | | llvm-svn: 164762 | |||||
* | Add missing function CreateFPCast to the TargetFolder. It's there in the other | Nick Lewycky | 2012-09-27 | 1 | -1/+8 | |
| | | | | | | | | | | | | folders and not having it here fails to compile if you actually try to use it. Also, CreatePointerCast was failing to do the part where it does TD-aware constant folding. Granted there is exactly one case where that it will ever do anything, but there's no reason to skip it. For reference, that case is a subtraction between two constant offsets on the same global variable, eg., "&A[123] - &A[4].f". llvm-svn: 164760 | |||||
* | [arm-fast-isel] Add support for ELF PIC. | Jush Lu | 2012-09-27 | 6 | -2/+141 | |
| | | | | | | | This is a preliminary step towards ELF support; currently ARMFastISel hasn't been used for ELF object files yet. llvm-svn: 164759 | |||||
* | Test case for r164755 and 164756. | Akira Hatanaka | 2012-09-27 | 2 | -0/+294 | |
| | | | | llvm-svn: 164757 | |||||
* | MIPS DSP: rddsp (instruction which reads DSPControl register fields to a GPR). | Akira Hatanaka | 2012-09-27 | 2 | -0/+26 | |
| | | | | llvm-svn: 164756 | |||||
* | MIPS DSP: CMPU.EQ.QB instruction sub-class. | Akira Hatanaka | 2012-09-27 | 2 | -0/+224 | |
| | | | | llvm-svn: 164755 | |||||
* | MIPS DSP: ADDU.QB instruction sub-class. | Akira Hatanaka | 2012-09-27 | 4 | -0/+504 | |
| | | | | llvm-svn: 164754 | |||||
* | MIPS DSP: Branch on Greater Than or Equal To Value 32 in DSPControl Pos ↵ | Akira Hatanaka | 2012-09-27 | 5 | -0/+113 | |
| | | | | | | Field instruction. llvm-svn: 164751 | |||||
* | MIPS DSP: all the remaining instructions which read or write accumulators. | Akira Hatanaka | 2012-09-27 | 5 | -0/+792 | |
| | | | | llvm-svn: 164750 | |||||
* | MIPS DSP: add support for extract-word instructions. | Akira Hatanaka | 2012-09-27 | 5 | -0/+334 | |
| | | | | llvm-svn: 164749 | |||||
* | MIPS DSP: add functions which decode DSP and accumulator registers. | Akira Hatanaka | 2012-09-27 | 1 | -0/+29 | |
| | | | | llvm-svn: 164748 | |||||
* | MIPS DSP: add code necessary for pseudo instruction lowering. | Akira Hatanaka | 2012-09-27 | 5 | -2/+22 | |
| | | | | llvm-svn: 164747 | |||||
* | MIPS DSP: add bitcast patterns between vectors and int. | Akira Hatanaka | 2012-09-27 | 1 | -0/+10 | |
| | | | | | | No test cases. These patterns will get tested along with dsp intrinsics. llvm-svn: 164746 | |||||
* | MIPS DSP: add vector load/store patterns. | Akira Hatanaka | 2012-09-27 | 3 | -0/+45 | |
| | | | | llvm-svn: 164744 | |||||
* | Fix of hang during Intel JIT profiling | Andrew Kaylor | 2012-09-26 | 2 | -12/+10 | |
| | | | | | | Committed on behalf of Kirill Uhanov llvm-svn: 164736 | |||||
* | Buildbot Fix. | Bill Wendling | 2012-09-26 | 1 | -1/+2 | |
| | | | | | | | | This method can be called with a '0' argument which checks the return value. However, the method it calls doesn't expect '0' as a valid value. Call the correct method when it's 0. llvm-svn: 164735 | |||||
* | Disable the new SROA pass to get the tree back in working order. We don't yet | Nick Lewycky | 2012-09-26 | 1 | -1/+1 | |
| | | | | | | have testcases for the current problems. llvm-svn: 164731 | |||||
* | Add IRBuilder code for adding !tbaa.struct metadata tags to llvm.memcpy calls. | Dan Gohman | 2012-09-26 | 2 | -4/+11 | |
| | | | | llvm-svn: 164728 | |||||
* | Query the parameter attributes directly instead of using the Attribute symbols. | Bill Wendling | 2012-09-26 | 2 | -8/+8 | |
| | | | | llvm-svn: 164727 | |||||
* | Remove the `hasFnAttr' method from Function. | Bill Wendling | 2012-09-26 | 31 | -61/+66 | |
| | | | | | | | The hasFnAttr method has been replaced by querying the Attributes explicitly. No intended functionality change. llvm-svn: 164725 | |||||
* | X86_32: Large Symbol+Offset relocations. | Jim Grosbach | 2012-09-26 | 2 | -8/+76 | |
| | | | | | | | | | | If the offset is more than 24-bits, it won't fit in a scattered relocation offset field, so we fall back to using a non-scattered relocation. rdar://12358909 llvm-svn: 164724 | |||||
* | Initial commit for the AttributesImpl class. | Bill Wendling | 2012-09-26 | 5 | -55/+239 | |
| | | | | | | | | This opaque class will contain all of the attributes. All attribute queries will go through this object. This object will also be uniqued in the LLVMContext. Currently not used, so no implementation change. llvm-svn: 164722 | |||||
* | Add case clauses for returning dsp accumulator encoding values in function | Akira Hatanaka | 2012-09-26 | 1 | -2/+4 | |
| | | | | | | getMipsRegisterNumbering. llvm-svn: 164720 |