summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Debug Info: clean up.Manman Ren2013-07-231-18/+6
| | | | llvm-svn: 187002
* Remove unused function.Eric Christopher2013-07-232-10/+0
| | | | llvm-svn: 187001
* [ARM][ISel] Improve the lowering of vector loads.Quentin Colombet2013-07-232-1/+17
| | | | | | | | | | | | | | | | When vectors are built from a single value, the ARM lowering issues a scalar_to_vector node. This node is then always morphed into a move from the general purpose unit to the vector unit. When the value comes from a load, this can be simplified into a vector load to the right lane. This patch changes the lowering of insert_vector_elt to expose a vector friendly pattern in this situation. This is a step toward fixing <rdar://problem/14170854>. llvm-svn: 186999
* Keep similar classes near each other. No functional change.Eric Christopher2013-07-231-119/+119
| | | | llvm-svn: 186998
* Fix spellingMatt Arsenault2013-07-231-1/+1
| | | | llvm-svn: 186997
* 80-column.Eric Christopher2013-07-231-1/+5
| | | | llvm-svn: 186995
* Reformat options.Eric Christopher2013-07-231-40/+41
| | | | llvm-svn: 186994
* Expand the comment on getOpenFileSlice a bit for more details and consistencyEli Bendersky2013-07-231-2/+3
| | | | llvm-svn: 186987
* Refactor the unit test for MemoryBuffer::getOpenFileSliceEli Bendersky2013-07-231-6/+27
| | | | | | | Run in two different modes: with and without reopening the temporary file between creating it and mapping it with MemoryBuffer. llvm-svn: 186986
* Debug Info: code cleanup, use getNodeField if possible.Manman Ren2013-07-231-28/+15
| | | | | | | Use getNodeField to access a field as a MDNode. No functionality change. llvm-svn: 186985
* Split getOpenFile into getOpenFile and getOpenFileSlice.Rafael Espindola2013-07-238-33/+48
| | | | | | | | | | | | | | | | The main observation is that we never need both the filesize and the map size. When mapping a slice of a file, it doesn't make sense to request a null terminator and that would be the only case where the filesize would be used. There are other cleanups that should be done in this area: * A client should not have to pass the size (even an explicit -1) to say if it wants a null terminator or not, so we should probably swap the argument order. * The default should be to not require a null terminator. Very few clients require this, but many end up asking for it just because it is the default. llvm-svn: 186984
* Fix use of the getOpenFile api.Rafael Espindola2013-07-231-2/+2
| | | | | | | | | | | | | | | | The gold plugin was passing the desired map size as the file size. This was working for two reasons: * Recent version of gold provide the get_view callback, so this code was not used. * In older versions, getOpenFile was called, but the file size is never used if we don't require null terminated buffers and map size defaults to the file size. Thanks to Eli Bendersky for noticing this. I will try to make this api a bit less error prone. llvm-svn: 186978
* DebugInfo Verifier: verify the actual type.Manman Ren2013-07-231-0/+10
| | | | llvm-svn: 186972
* Revert "Remove use of asymmetric std::lower_bound comparator."Ahmed Bougacha2013-07-232-23/+12
| | | | | | | This reverts commit r185676. Originally done because of VS 2008. llvm-svn: 186969
* docs: Update old VS 2008 references.Ahmed Bougacha2013-07-231-4/+3
| | | | llvm-svn: 186968
* docs: cleanup VS 2008 release note.Ahmed Bougacha2013-07-231-1/+1
| | | | | | Remove trailing ')'. Sorry about all that, should be good now! llvm-svn: 186965
* docs: Correct reST link.Ahmed Bougacha2013-07-231-1/+1
| | | | llvm-svn: 186963
* Update docs to drop support for VS 2008.Ahmed Bougacha2013-07-232-2/+6
| | | | llvm-svn: 186961
* Add not so that these tests pass with pipefail enabled.Rafael Espindola2013-07-233-3/+3
| | | | llvm-svn: 186939
* Add -disable-debug-info-verifier.Rafael Espindola2013-07-231-1/+1
| | | | | | Found while testing with pipefail enabled. llvm-svn: 186937
* Fix the build in c++03 mode.Rafael Espindola2013-07-231-2/+9
| | | | llvm-svn: 186935
* Add an initial implementation of archive symbol table generation.Rafael Espindola2013-07-233-69/+230
| | | | | | | | | | | The symbol table has forward references in the file. Instead of allocating a temporary buffer or counting the size and then writing, this implementation writes a dummy value first and patches it once the final value is known. There is room for performance improvement. I will implement them as soon as I get some other features (like a ranlib mode) in. llvm-svn: 186934
* Remove some errant space charcters in mnemonic strings.Craig Topper2013-07-232-12/+12
| | | | llvm-svn: 186932
* remove unnecessary spaceShuxin Yang2013-07-231-1/+1
| | | | llvm-svn: 186931
* llvm/test/DebugInfo/X86/dbg-value-range.ll: Add ↵NAKAMURA Takumi2013-07-231-1/+1
| | | | | | -disable-debug-info-verifier, too, since r186902. llvm-svn: 186930
* Remove 'else' after 'return'. No functional change.Craig Topper2013-07-231-2/+1
| | | | llvm-svn: 186929
* Remove trailing whitespace.Craig Topper2013-07-231-26/+26
| | | | llvm-svn: 186928
* Don't let x86 asm printer use the no operand movsd alias. It should use the ↵Craig Topper2013-07-234-13/+13
| | | | | | normal movsl instead. llvm-svn: 186924
* R600: Add support for 24-bit MAD instructionsTom Stellard2013-07-234-2/+102
| | | | | Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186923
* R600: Add support for 24-bit MUL instructionsTom Stellard2013-07-236-5/+159
| | | | | Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186922
* R600: Improve support for < 32-bit loadsTom Stellard2013-07-236-25/+106
| | | | | Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186921
* R600: Rename AMDILISelDAGToDAG.cpp -> AMDGPUISelDAGToDAG.cppTom Stellard2013-07-232-1/+1
| | | | | Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186920
* R600: Move CONST_ADDRESS folding into AMDGPUDAGToDAGISel::Select()Tom Stellard2013-07-235-50/+161
| | | | | | | | | | This increases the number of opportunites we have for folding. With the previous implementation we were unable to fold into any instructions other than the first when multiple instructions were selected from a single SDNode. Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186919
* R600: Use KCache for kernel argumentsTom Stellard2013-07-2321-139/+108
| | | | | Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186918
* R600: Simplify assembly for KCache registers using the TableGen !add operatorTom Stellard2013-07-231-4/+4
| | | | | | | | | | | | | Before: MOV * T0.W, KC0[131-128].Y After: MOV * T0.W, KC0[3].Y Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186917
* R600: Use the same compute kernel calling convention for all GPUsTom Stellard2013-07-234-13/+29
| | | | | | | | A side-effect of this is that now the compiler expects kernel arguments to be 4-byte aligned. Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186916
* R600: Use correct LoadExtType when lowering kernel argumentsTom Stellard2013-07-232-1/+28
| | | | | Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186915
* R600: Clean up extended load patternsTom Stellard2013-07-236-16/+33
| | | | | Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 186914
* R600: Expand vector FNEGTom Stellard2013-07-232-0/+29
| | | | llvm-svn: 186913
* Revert r186907 to fix bots.Craig Topper2013-07-231-1/+1
| | | | llvm-svn: 186910
* Don't let x86 asm printer use the no operand movsd alias. It should use the ↵Craig Topper2013-07-231-1/+1
| | | | | | normal movsl instead. llvm-svn: 186907
* Add aliases to map 'imm, mem' form of x86 bts/btr/btc without a size suffix ↵Craig Topper2013-07-231-0/+7
| | | | | | | | to their 32-bit forms. This makes them consistent with 'bt' which already had this handling. gas has the same behavior. There have been discussions on the mailing list about determining size based on the immediate, but my goal here was just to remove the inconsistency. llvm-svn: 186904
* Debug Info Finder: use processDeclare and processValue to list debug infoManman Ren2013-07-2319-21/+65
| | | | | | | | | | | MDNodes used by DbgDeclareInst and DbgValueInst. Another 16 testing cases failed and they are disabled with -disable-debug-info-verifier. A total of 34 cases are disabled with -disable-debug-info-verifier and will be corrected. llvm-svn: 186902
* Explicitly don't let the asm printer use the clrb/w/l aliases for xor %reg, ↵Craig Topper2013-07-231-4/+4
| | | | | | | | %reg. It only didn't use it before because it seems InstAlias handling in the asm printer fails to count tied operands so it tried to find an xor with 2 operands instead of the 3 it wfails to count tied. llvm-svn: 186900
* Suppress argumentless aliases for some x86 FP operations from being used by ↵Craig Topper2013-07-231-14/+14
| | | | | | the asm writer. Prefer to use the explicit %st(1) form. llvm-svn: 186897
* Fix typo (ponted -> pointed)Matt Arsenault2013-07-221-7/+7
| | | | llvm-svn: 186896
* Remove extraneous null statement. No functionality change!Nick Lewycky2013-07-221-1/+1
| | | | llvm-svn: 186893
* Use switch instead of if. No functionality change.Jakub Staszak2013-07-221-14/+17
| | | | llvm-svn: 186892
* Remove trailing spaces.Jakub Staszak2013-07-221-37/+37
| | | | llvm-svn: 186890
* Add a simple unit test for MemoryBuffer::getOpenFileEli Bendersky2013-07-221-0/+33
| | | | llvm-svn: 186887
OpenPOWER on IntegriCloud