summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow machine LICM to do its job on SPU.Kalle Raiskila2010-11-292-1/+9
| | | | | | | -return a sensible value for register pressure -add pattern to 'ila' instrucion llvm-svn: 120285
* Add missing i128 case.Kalle Raiskila2010-11-291-0/+3
| | | | llvm-svn: 120284
* tools/Makefile: Don't look into $(TARGET_OS), but $(HOST_OS), to inspect ↵NAKAMURA Takumi2010-11-291-1/+1
| | | | | | | | availability of loadable module! The last commit made run.build.step.test_llvm_1 to fail. llvm-svn: 120283
* test: Check the feature 'loadable_module' with load modules in %llvmshlibdir.NAKAMURA Takumi2010-11-295-11/+11
| | | | | | %llvmshlibdir should be 'bin' on Cygming. llvm-svn: 120282
* Add some dead stores to pacify my least favorite GCC warning: may beChandler Carruth2010-11-291-3/+3
| | | | | | | | | | | uninitialized. The warning is terrible, has incorrect source locations, and has a huge false positive rate such as *all* of these. If anyone has a better solution, please let me know. Alternatively, I'll happily add -Wno-uninitialized to the -Werror build mode. Maybe I can even do it *only* when building with GCC instead of Clang. llvm-svn: 120281
* Add more Thumb encodings.Bill Wendling2010-11-292-12/+38
| | | | llvm-svn: 120279
* More Thumb encodings.Bill Wendling2010-11-292-24/+81
| | | | llvm-svn: 120278
* Add Thumb encodings for REV instructions.Bill Wendling2010-11-292-20/+45
| | | | llvm-svn: 120277
* tools/Makefile: Fix indentation.NAKAMURA Takumi2010-11-291-12/+12
| | | | llvm-svn: 120276
* tools/Makefile: Enable building lto, edis and bugpoint-passes on Cygming.NAKAMURA Takumi2010-11-291-3/+8
| | | | | | | bugpoint-passes would be built with ENABLE_SHARED=1. You could try building gold on Cygming, though, it would fail. llvm-svn: 120275
* test: Use $SharedLibDir for loadable modules. On Cygming, loadable modules ↵NAKAMURA Takumi2010-11-296-3/+9
| | | | | | are not in lib/ but bin. llvm-svn: 120274
* test: Add the new feature 'loadable_module'.NAKAMURA Takumi2010-11-293-0/+15
| | | | llvm-svn: 120273
* Add more Thumb encodings.Bill Wendling2010-11-292-24/+61
| | | | llvm-svn: 120272
* Make EmitIntValue non virtual.Rafael Espindola2010-11-284-60/+19
| | | | llvm-svn: 120271
* Forgot the MCPureStreamer::EmitValue in the previous commit.Rafael Espindola2010-11-281-21/+0
| | | | llvm-svn: 120270
* Move EmitValue to MCObjectStreamer.Rafael Espindola2010-11-285-65/+20
| | | | llvm-svn: 120269
* Don't use std::copy and std::copy_backward, run 10% faster.Jakob Stoklund Olesen2010-11-281-5/+8
| | | | | | | | Sometimes std::copy can become a memmove call, and that is not a good idea when copying relatively few bytes as we are doing. We also get a small win by changing two loops into one. llvm-svn: 120265
* Disallow overlapping inserts, even when inserting the same value.Jakob Stoklund Olesen2010-11-282-174/+54
| | | | | | | | | | | We always disallowed overlapping inserts with different values, and this makes the insertion code smaller and faster. If an overwriting insert is needed, it can be added as a separate method that trims any existing intervals before inserting. The immediate use cases for IntervalMap don't need this - they only use disjoint insertions. llvm-svn: 120264
* Move lowering of TLS_addr32 and TLS_addr64 to X86MCInstLower.Rafael Espindola2010-11-283-46/+67
| | | | llvm-svn: 120263
* PR5207: remove unused methods APInt::Emit() and APInt::Read().Jay Foad2010-11-281-6/+0
| | | | llvm-svn: 120262
* PR5207: change APInt::doubleToBits() and APInt::floatToBits() to beJay Foad2010-11-284-26/+12
| | | | | | static methods that return a new APInt. llvm-svn: 120261
* fix PR8686, accepting a 'b' suffix at the end of all the setccChris Lattner2010-11-282-1/+9
| | | | | | | | | | instructions. I choose to handle this with an asmparser hack, though it could be handled by changing all the instruction definitions to allow be "setneb" instead of "setne". The asm parser hack is better in this case, because we want the disassembler to produce setne, not setneb. llvm-svn: 120260
* add a function to the C api to get the context out of a module, patchChris Lattner2010-11-282-0/+9
| | | | | | by Eric Dobson! llvm-svn: 120259
* Tweak comments to make it clear that we are working in a namespace.Jakob Stoklund Olesen2010-11-281-18/+18
| | | | llvm-svn: 120256
* When emitting a single function with cppgen=function, you don't want to emitNicolas Geoffray2010-11-281-10/+26
| | | | | | | initializers of global variables used in the function. Also make sure to emit the operands of a constant. llvm-svn: 120253
* Fixed verson of r120245.Rafael Espindola2010-11-285-47/+27
| | | | | | Factor some duplicated code into MCObjectStreamer::EmitLabel. llvm-svn: 120248
* Revert previous patch while I debug the darwin bootstrap failure.Rafael Espindola2010-11-285-24/+54
| | | | llvm-svn: 120246
* Factor some duplicated code into MCObjectStreamer::EmitLabel.Rafael Espindola2010-11-285-54/+24
| | | | llvm-svn: 120245
* Make EmitSymbolValue non virtual.Rafael Espindola2010-11-281-2/+2
| | | | llvm-svn: 120244
* Avoid code duplication in the many unsupported EmitGPRel32Value implementations.Rafael Espindola2010-11-286-15/+5
| | | | llvm-svn: 120243
* Make EmitULEB128IntValue and EmitSLEB128IntValue non virtual.Rafael Espindola2010-11-281-2/+2
| | | | llvm-svn: 120242
* Move the PTXMCAsmStreamer class to the .cpp file.Rafael Espindola2010-11-283-206/+181
| | | | llvm-svn: 120241
* Define generic 1, 2 and 4 byte pc relative relocations. They are commonRafael Espindola2010-11-2815-98/+56
| | | | | | and at least the 4 byte one will be needed to implement the .cfi_* directives. llvm-svn: 120240
* Add default constructors for iterators.Jakob Stoklund Olesen2010-11-282-0/+14
| | | | | | | These iterators don't point anywhere, and they can't be compared to anything. They are only good for assigning to. llvm-svn: 120239
* Implement const_iterator::advanceTo().Jakob Stoklund Olesen2010-11-282-2/+89
| | | | | | | This is a version of find() that always searches forwards and is faster for local searches. llvm-svn: 120237
* Add support for NEON VLD2-dup instructions.Bob Wilson2010-11-289-8/+287
| | | | llvm-svn: 120236
* Fix a comment typo.Bob Wilson2010-11-281-1/+1
| | | | llvm-svn: 120235
* Another minor refactoring for VLD1DUP instructions.Bob Wilson2010-11-281-22/+20
| | | | | | | The op11_8 field is the same for all of them so put it in the instruction classes instead of specifying it separately for each instruction. llvm-svn: 120234
* Add entry in getTargetNodeName() for ARMISD::VBICIMM.Bob Wilson2010-11-281-1/+2
| | | | llvm-svn: 120233
* Speed up simple insertions into an unbranched tree by not creating an iterator.Jakob Stoklund Olesen2010-11-281-1/+6
| | | | llvm-svn: 120232
* llvmc: First stab at better -march handling.Mikhail Glushenkov2010-11-282-6/+58
| | | | llvm-svn: 120230
* Move more PEI-related hooks to TFIAnton Korobeynikov2010-11-2731-793/+796
| | | | llvm-svn: 120229
* Move callee-saved regs spills / reloads to TFIAnton Korobeynikov2010-11-2727-623/+638
| | | | llvm-svn: 120228
* Add more tests for erase(). Fix a few exposed bugs.Jakob Stoklund Olesen2010-11-272-5/+68
| | | | llvm-svn: 120227
* Add test case with randomly ordered insertions, massive coalescing.Jakob Stoklund Olesen2010-11-272-26/+170
| | | | | | | | | | Implement iterator::erase() in a simple version that erases nodes when they become empty, but doesn't try to redistribute elements among siblings for better packing. Handle coalescing across leaf nodes which may require erasing entries. llvm-svn: 120226
* Lower TLS_addr32 and TLS_addr64.Rafael Espindola2010-11-276-19/+61
| | | | llvm-svn: 120225
* Implement the data16 prefix.Rafael Espindola2010-11-273-1/+5
| | | | llvm-svn: 120224
* Remove PIC16 remnants.Benjamin Kramer2010-11-272-6/+0
| | | | llvm-svn: 120223
* macho-dump: Add support for --dump-section-data and tweak a few format strings.Daniel Dunbar2010-11-273-5/+25
| | | | llvm-svn: 120219
* macho-dump: Add support for dumping symbol table entries.Daniel Dunbar2010-11-274-1/+101
| | | | llvm-svn: 120218
OpenPOWER on IntegriCloud