summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* macho-dump: Add support for dumping string table data.Daniel Dunbar2010-11-273-1/+32
| | | | llvm-svn: 120217
* macho-dump: Add support for dumping relocation entries.Daniel Dunbar2010-11-275-33/+76
| | | | llvm-svn: 120216
* macho-dump: Add support for dumping sections.Daniel Dunbar2010-11-274-6/+157
| | | | llvm-svn: 120215
* macho-dump: Add support for dumping dysymtab indirect symbol table.Daniel Dunbar2010-11-274-1/+45
| | | | llvm-svn: 120214
* Add an optional LowerCase argument to hexdigit().Daniel Dunbar2010-11-271-3/+4
| | | | llvm-svn: 120213
* CMake: lit(check.vcproj) can run with multiple configurations on Visual Studio.NAKAMURA Takumi2010-11-274-10/+37
| | | | | | | | Unittests need LLVM_BUILD_MODE to pick up each test. Confirmed on CentOS5, Mingw, MSYS, and with possible configurations on VS8 and VS10. llvm-svn: 120212
* 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-274-0/+141
| | | | llvm-svn: 120204
* macho-dump: Add support for dumping segment load commands.Daniel Dunbar2010-11-274-3/+168
| | | | llvm-svn: 120203
* Second attempt at fixing the performance regressions introducedOwen Anderson2010-11-272-24/+61
| | | | | | | | 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
* ADT/InMemoryStruct: Add an experimental helper class intended for use inDaniel Dunbar2010-11-271-0/+77
| | | | | | | | situations where on the common path an API can return a pointer to some direct memory, but which on an exceptional path may need to return a pointer to a temporary struct. llvm-svn: 120201
* raw_ostream::write_escaped: Add a UseHexEscapes argument.Daniel Dunbar2010-11-272-7/+16
| | | | 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-274-24/+228
| | | | llvm-svn: 120198
* Refactor. Set alignment bit in VLD1-dup instruction classes.Bob Wilson2010-11-271-25/+17
| | | | llvm-svn: 120197
* build/Makefiles: Don't build unittests when ONLY_TOOLS is set.Daniel Dunbar2010-11-271-0/+5
| | | | llvm-svn: 120196
* Object/Mach-O: Validate Mach-O magic and initialize format info.Daniel Dunbar2010-11-272-5/+33
| | | | llvm-svn: 120195
* Add NEON VLD1-dup instructions (load 1 element to all lanes).Bob Wilson2010-11-277-3/+162
| | | | 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
* macho-dump: More sketching.Daniel Dunbar2010-11-271-2/+28
| | | | llvm-svn: 120192
* macho-dump: Stub out C++ macho-dump tool.Daniel Dunbar2010-11-275-1/+60
| | | | llvm-svn: 120191
* MC/Mach-O: Start stubbing out a Mach-O object file wrapper.Daniel Dunbar2010-11-273-0/+93
| | | | 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-272-104/+106
| | | | 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-272-38/+136
| | | | | | | independent information on the Mach object format, and move some stuff from MachObjectWriter.cpp there. llvm-svn: 120186
* macho-dump: Fix typo.Daniel Dunbar2010-11-2729-30/+30
| | | | llvm-svn: 120185
* BitVector tweaks.Benjamin Kramer2010-11-261-19/+11
| | | | | | | - Double the vector's capacity when growing to avoid unneeccesary reallocation. - Do the reallocation with realloc(3) which can expand the memory in place. llvm-svn: 120183
* StringRefs are POD-like.Benjamin Kramer2010-11-261-0/+4
| | | | llvm-svn: 120181
* unittests/JITTests: Don't use --export-dynamic but --export-all-symbols on ↵NAKAMURA Takumi2010-11-263-8/+20
| | | | | | | | | | | | cygming. GNU ld/PECOFF accepts but ignores them below; --version-script --export-dynamic --rpath FIXME: autoconf should be aware of them. llvm-svn: 120179
* test/site.exp.in: Add "emitir", for now, fixing up r120156. CMake depends on ↵NAKAMURA Takumi2010-11-261-0/+1
| | | | | | site.exp.in, though, "emitir" might be unused. llvm-svn: 120174
* Add B+-tree test case that creates a height 3 tree with a smaller root node.Jakob Stoklund Olesen2010-11-262-16/+81
| | | | | | Change temporary debugging code to write a dot file directly. llvm-svn: 120171
* Extract template function adjustSiblingSizes(), allowing instances to be sharedJakob Stoklund Olesen2010-11-261-75/+86
| | | | | | between B+-trees using the same KeyT. llvm-svn: 120170
* Remove the unused TheTarget member.Rafael Espindola2010-11-266-13/+8
| | | | llvm-svn: 120168
* Fix spelling!Michael J. Spencer2010-11-262-3/+3
| | | | llvm-svn: 120167
* Fix Whitespace.Michael J. Spencer2010-11-267-65/+65
| | | | llvm-svn: 120166
* Move tree navigation to a new Path class that doesn't have to be a template.Jakob Stoklund Olesen2010-11-262-296/+364
| | | | | | | | 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
* Remove explicit uses of -emit-llvm, the test infrastructure adds itDuncan Sands2010-11-254-4/+4
| | | | | | | | automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). Yes, dragonegg supports objective-c++ (poorly though). llvm-svn: 120164
* Remove explicit uses of -emit-llvm, the test infrastructure adds itDuncan Sands2010-11-2510-10/+10
| | | | | | | | automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). Yes, dragonegg supports objective-c (poorly though). llvm-svn: 120163
* Bump required cmake version on CMake.html.Oscar Fuentes2010-11-251-1/+1
| | | | llvm-svn: 120162
* Use -S rather than -c for the benefit of dragonegg.Duncan Sands2010-11-253-3/+3
| | | | llvm-svn: 120161
* Remove explicit uses of -emit-llvm, the test infrastructure adds itDuncan Sands2010-11-2547-63/+63
| | | | | | | | automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). llvm-svn: 120160
* Judging from the comment, the system assembler is supposed to assembleDuncan Sands2010-11-251-1/+1
| | | | | | | | the output of this test. Since it was producing bitcode, that clearly wasn't happening! Have it produce target assembler and assemble that instead. llvm-svn: 120159
* Remove explicit uses of -emit-llvm, the test infrastructure adds itDuncan Sands2010-11-2588-121/+121
| | | | | | | | automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). llvm-svn: 120158
* Dragonegg cannot output bitcode, only human readable IR, so use -S ratherDuncan Sands2010-11-2521-22/+22
| | | | | | than -c. llvm-svn: 120157
* Use LLVMCC_EMITIR_FLAG rather than hard-coding "-emit-llvm".Duncan Sands2010-11-253-5/+6
| | | | llvm-svn: 120156
* Using LLVMCC_EMITIR_FLAG rather than hard-coding -emit-llvmDuncan Sands2010-11-251-10/+10
| | | | | | | (dragonegg cannot use -emit-llvm so needs a different flag to everyone else). llvm-svn: 120155
* It seems inconsistent to have LLVMCC_EMITIR_FLAG andDuncan Sands2010-11-253-8/+8
| | | | | | | | LLVMGCC_DISABLEOPT_FLAGS, one with CC in it, the other with GCC. Rename LLVMGCC_DISABLEOPT_FLAGS to LLVMCC_DISABLEOPT_FLAGS. llvm-svn: 120151
OpenPOWER on IntegriCloud