summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add more Thumb encodings.Bill Wendling2010-11-291-24/+58
| | | | llvm-svn: 120272
* Make EmitIntValue non virtual.Rafael Espindola2010-11-283-58/+18
| | | | 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-284-65/+19
| | | | llvm-svn: 120269
* Move lowering of TLS_addr32 and TLS_addr64 to X86MCInstLower.Rafael Espindola2010-11-283-46/+67
| | | | llvm-svn: 120263
* PR5207: change APInt::doubleToBits() and APInt::floatToBits() to beJay Foad2010-11-283-10/+6
| | | | | | 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-281-0/+5
| | | | | | | | | | 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-281-0/+6
| | | | | | by Eric Dobson! llvm-svn: 120259
* 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-284-47/+26
| | | | | | Factor some duplicated code into MCObjectStreamer::EmitLabel. llvm-svn: 120248
* Revert previous patch while I debug the darwin bootstrap failure.Rafael Espindola2010-11-284-23/+54
| | | | llvm-svn: 120246
* Factor some duplicated code into MCObjectStreamer::EmitLabel.Rafael Espindola2010-11-284-54/+23
| | | | llvm-svn: 120245
* Avoid code duplication in the many unsupported EmitGPRel32Value implementations.Rafael Espindola2010-11-285-14/+4
| | | | llvm-svn: 120243
* 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-2814-93/+46
| | | | | | and at least the 4 byte one will be needed to implement the .cfi_* directives. llvm-svn: 120240
* Add support for NEON VLD2-dup instructions.Bob Wilson2010-11-288-8/+255
| | | | 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
* Move more PEI-related hooks to TFIAnton Korobeynikov2010-11-2729-778/+779
| | | | llvm-svn: 120229
* Move callee-saved regs spills / reloads to TFIAnton Korobeynikov2010-11-2725-600/+613
| | | | llvm-svn: 120228
* Lower TLS_addr32 and TLS_addr64.Rafael Espindola2010-11-273-9/+50
| | | | llvm-svn: 120225
* Implement the data16 prefix.Rafael Espindola2010-11-272-1/+4
| | | | llvm-svn: 120224
* Remove PIC16 remnants.Benjamin Kramer2010-11-271-5/+0
| | | | llvm-svn: 120223
* macho-dump: Add support for --dump-section-data and tweak a few format strings.Daniel Dunbar2010-11-271-0/+4
| | | | llvm-svn: 120219
* macho-dump: Add support for dumping symbol table entries.Daniel Dunbar2010-11-271-0/+28
| | | | llvm-svn: 120218
* macho-dump: Add support for dumping string table data.Daniel Dunbar2010-11-271-1/+7
| | | | llvm-svn: 120217
* macho-dump: Add support for dumping relocation entries.Daniel Dunbar2010-11-272-14/+22
| | | | llvm-svn: 120216
* macho-dump: Add support for dumping sections.Daniel Dunbar2010-11-271-0/+46
| | | | llvm-svn: 120215
* macho-dump: Add support for dumping dysymtab indirect symbol table.Daniel Dunbar2010-11-271-0/+13
| | | | llvm-svn: 120214
* Unbreak build for newer GCCs.Benjamin Kramer2010-11-271-4/+4
| | | | llvm-svn: 120205
* macho-dump: Add support for dumping symtab and dysymtab commands.Daniel Dunbar2010-11-271-0/+42
| | | | llvm-svn: 120204
* macho-dump: Add support for dumping segment load commands.Daniel Dunbar2010-11-271-0/+68
| | | | llvm-svn: 120203
* Second attempt at fixing the performance regressions introducedOwen Anderson2010-11-271-24/+55
| | | | | | | | by my recent GVN improvement. Looking through a single layer of PHI nodes when attempting to sink GEPs, we need to iteratively look through arbitrary PHI nests. llvm-svn: 120202
* raw_ostream::write_escaped: Add a UseHexEscapes argument.Daniel Dunbar2010-11-271-6/+15
| | | | llvm-svn: 120200
* Fix a comment.Daniel Dunbar2010-11-271-2/+1
| | | | llvm-svn: 120199
* Object/Mach-O: Add header and load command information.Daniel Dunbar2010-11-271-3/+80
| | | | llvm-svn: 120198
* Refactor. Set alignment bit in VLD1-dup instruction classes.Bob Wilson2010-11-271-25/+17
| | | | llvm-svn: 120197
* Object/Mach-O: Validate Mach-O magic and initialize format info.Daniel Dunbar2010-11-271-2/+24
| | | | llvm-svn: 120195
* Add NEON VLD1-dup instructions (load 1 element to all lanes).Bob Wilson2010-11-275-2/+119
| | | | llvm-svn: 120194
* Fix incorrect scheduling itineraries for NEON vld1/vst1 instructions.Bob Wilson2010-11-272-8/+8
| | | | | | | | I added these instructions recently but I have no idea where these "1" values in the NextCycles field came from. As far as I can tell now, these instruction stages are clearly intended to overlap. llvm-svn: 120193
* MC/Mach-O: Start stubbing out a Mach-O object file wrapper.Daniel Dunbar2010-11-272-0/+24
| | | | llvm-svn: 120190
* Reduce nesting.Daniel Dunbar2010-11-271-20/+26
| | | | llvm-svn: 120189
* MC/Mach-O: Migrate more constants into MachOFormat.h.Daniel Dunbar2010-11-271-104/+37
| | | | llvm-svn: 120188
* MC/Mach-O: Switch to using MachOFormat.h.Daniel Dunbar2010-11-273-13/+15
| | | | | | - I'm leaving MachO.h, because I believe it has external consumers, but I would really like to eliminate it (we have stylistic disagreements with one another). llvm-svn: 120187
* MC/Mach-O: Introduce Object/MachOFormat for describing purely platform / machineDaniel Dunbar2010-11-271-38/+24
| | | | | | | independent information on the Mach object format, and move some stuff from MachObjectWriter.cpp there. llvm-svn: 120186
* Remove the unused TheTarget member.Rafael Espindola2010-11-265-7/+7
| | | | llvm-svn: 120168
* Fix Whitespace.Michael J. Spencer2010-11-263-41/+41
| | | | llvm-svn: 120166
* Move tree navigation to a new Path class that doesn't have to be a template.Jakob Stoklund Olesen2010-11-261-1/+102
| | | | | | | | The path also holds a reference to the root node, and that allows important iterator accessors like start() and stop() to have no conditional code. (When the compiler is clever enough to remove it.) llvm-svn: 120165
* Use multiple 0x66 prefixes so that all nops up to 15 bytes are a single ↵Rafael Espindola2010-11-251-24/+8
| | | | | | instruction. llvm-svn: 120147
OpenPOWER on IntegriCloud