Daniel Dunbar
a1e3ba6a1c
macho-dump: Add support for dumping string table data.
...
llvm-svn: 120217
2010-11-27 13:46:11 +00:00
Daniel Dunbar
2dd3ae7c9c
macho-dump: Add support for dumping relocation entries.
...
llvm-svn: 120216
2010-11-27 13:39:48 +00:00
Daniel Dunbar
3aa435a0ac
macho-dump: Add support for dumping sections.
...
llvm-svn: 120215
2010-11-27 13:33:15 +00:00
Daniel Dunbar
2525373652
macho-dump: Add support for dumping dysymtab indirect symbol table.
...
llvm-svn: 120214
2010-11-27 13:26:12 +00:00
Daniel Dunbar
05a18ee325
Add an optional LowerCase argument to hexdigit().
...
llvm-svn: 120213
2010-11-27 13:19:46 +00:00
NAKAMURA Takumi
a1049dbd9a
CMake: lit(check.vcproj) can run with multiple configurations on Visual Studio.
...
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
2010-11-27 13:10:11 +00:00
Benjamin Kramer
4d1bd491b0
Unbreak build for newer GCCs.
...
llvm-svn: 120205
2010-11-27 09:08:25 +00:00
Daniel Dunbar
38307b5ad4
macho-dump: Add support for dumping symtab and dysymtab commands.
...
llvm-svn: 120204
2010-11-27 08:33:44 +00:00
Daniel Dunbar
44ac81f948
macho-dump: Add support for dumping segment load commands.
...
llvm-svn: 120203
2010-11-27 08:22:29 +00:00
Owen Anderson
8c948566d4
Second attempt at fixing the performance regressions introduced
...
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
2010-11-27 08:15:55 +00:00
Daniel Dunbar
3258210b90
ADT/InMemoryStruct: Add an experimental helper class intended for use in
...
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
2010-11-27 08:11:02 +00:00
Daniel Dunbar
56381d8cc7
raw_ostream::write_escaped: Add a UseHexEscapes argument.
...
llvm-svn: 120200
2010-11-27 07:59:50 +00:00
Daniel Dunbar
a9f9d6d2db
Fix a comment.
...
llvm-svn: 120199
2010-11-27 07:39:37 +00:00
Daniel Dunbar
9ff2982261
Object/Mach-O: Add header and load command information.
...
llvm-svn: 120198
2010-11-27 07:19:41 +00:00
Bob Wilson
3e64f6b309
Refactor. Set alignment bit in VLD1-dup instruction classes.
...
llvm-svn: 120197
2010-11-27 07:12:02 +00:00
Daniel Dunbar
e0e2ddaedc
build/Makefiles: Don't build unittests when ONLY_TOOLS is set.
...
llvm-svn: 120196
2010-11-27 06:59:16 +00:00
Daniel Dunbar
7d054546a8
Object/Mach-O: Validate Mach-O magic and initialize format info.
...
llvm-svn: 120195
2010-11-27 06:39:22 +00:00
Bob Wilson
cbd6281807
Add NEON VLD1-dup instructions (load 1 element to all lanes).
...
llvm-svn: 120194
2010-11-27 06:35:16 +00:00
Bob Wilson
c66e4574f1
Fix incorrect scheduling itineraries for NEON vld1/vst1 instructions.
...
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
2010-11-27 06:35:09 +00:00
Daniel Dunbar
7cc528eda3
macho-dump: More sketching.
...
llvm-svn: 120192
2010-11-27 06:19:17 +00:00
Daniel Dunbar
620fd57052
macho-dump: Stub out C++ macho-dump tool.
...
llvm-svn: 120191
2010-11-27 05:58:44 +00:00
Daniel Dunbar
52f1774650
MC/Mach-O: Start stubbing out a Mach-O object file wrapper.
...
llvm-svn: 120190
2010-11-27 05:38:50 +00:00
Daniel Dunbar
9b9f0a4d16
Reduce nesting.
...
llvm-svn: 120189
2010-11-27 05:18:48 +00:00
Daniel Dunbar
c686ff034f
MC/Mach-O: Migrate more constants into MachOFormat.h.
...
llvm-svn: 120188
2010-11-27 04:59:14 +00:00
Daniel Dunbar
bcc15fb05d
MC/Mach-O: Switch to using MachOFormat.h.
...
- 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
2010-11-27 04:38:36 +00:00
Daniel Dunbar
f050a00c17
MC/Mach-O: Introduce Object/MachOFormat for describing purely platform / machine
...
independent information on the Mach object format, and move some stuff from
MachObjectWriter.cpp there.
llvm-svn: 120186
2010-11-27 04:19:38 +00:00
Daniel Dunbar
6153e5cd7b
macho-dump: Fix typo.
...
llvm-svn: 120185
2010-11-27 04:00:06 +00:00
Benjamin Kramer
3b0f0fd785
BitVector tweaks.
...
- 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
2010-11-26 18:25:20 +00:00
Benjamin Kramer
75de69b73c
StringRefs are POD-like.
...
llvm-svn: 120181
2010-11-26 14:36:54 +00:00
NAKAMURA Takumi
649a6c919c
unittests/JITTests: Don't use --export-dynamic but --export-all-symbols on cygming.
...
GNU ld/PECOFF accepts but ignores them below;
--version-script
--export-dynamic
--rpath
FIXME: autoconf should be aware of them.
llvm-svn: 120179
2010-11-26 09:32:02 +00:00
NAKAMURA Takumi
6ca04f4068
test/site.exp.in: Add "emitir", for now, fixing up r120156. CMake depends on site.exp.in, though, "emitir" might be unused.
...
llvm-svn: 120174
2010-11-26 08:30:15 +00:00
Jakob Stoklund Olesen
6e57d83076
Add B+-tree test case that creates a height 3 tree with a smaller root node.
...
Change temporary debugging code to write a dot file directly.
llvm-svn: 120171
2010-11-26 06:54:20 +00:00
Jakob Stoklund Olesen
8c952bc1cd
Extract template function adjustSiblingSizes(), allowing instances to be shared
...
between B+-trees using the same KeyT.
llvm-svn: 120170
2010-11-26 06:54:17 +00:00
Rafael Espindola
0641196380
Remove the unused TheTarget member.
...
llvm-svn: 120168
2010-11-26 04:24:21 +00:00
Michael J. Spencer
0d9fb7f72e
Fix spelling!
...
llvm-svn: 120167
2010-11-26 04:16:20 +00:00
Michael J. Spencer
b2cfb3b443
Fix Whitespace.
...
llvm-svn: 120166
2010-11-26 04:16:08 +00:00
Jakob Stoklund Olesen
ac19a35444
Move tree navigation to a new Path class that doesn't have to be a template.
...
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
2010-11-26 01:39:40 +00:00
Duncan Sands
6f39fefae0
Remove explicit uses of -emit-llvm, the test infrastructure adds it
...
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
2010-11-25 21:48:20 +00:00
Duncan Sands
80532aef88
Remove explicit uses of -emit-llvm, the test infrastructure adds it
...
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
2010-11-25 21:46:07 +00:00
Oscar Fuentes
997986b1ea
Bump required cmake version on CMake.html.
...
llvm-svn: 120162
2010-11-25 21:41:48 +00:00
Duncan Sands
162b9e1aa6
Use -S rather than -c for the benefit of dragonegg.
...
llvm-svn: 120161
2010-11-25 21:41:35 +00:00
Duncan Sands
241d75b40f
Remove explicit uses of -emit-llvm, the test infrastructure adds it
...
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
2010-11-25 21:39:17 +00:00
Duncan Sands
31fddf4883
Judging from the comment, the system assembler is supposed to assemble
...
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
2010-11-25 21:26:21 +00:00
Duncan Sands
020f241883
Remove explicit uses of -emit-llvm, the test infrastructure adds it
...
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
2010-11-25 21:24:35 +00:00
Duncan Sands
9cd6a08245
Dragonegg cannot output bitcode, only human readable IR, so use -S rather
...
than -c.
llvm-svn: 120157
2010-11-25 21:21:59 +00:00
Duncan Sands
b01f1042f2
Use LLVMCC_EMITIR_FLAG rather than hard-coding "-emit-llvm".
...
llvm-svn: 120156
2010-11-25 21:19:52 +00:00
Duncan Sands
9b721e8233
Using LLVMCC_EMITIR_FLAG rather than hard-coding -emit-llvm
...
(dragonegg cannot use -emit-llvm so needs a different flag
to everyone else).
llvm-svn: 120155
2010-11-25 21:14:55 +00:00
Duncan Sands
7bda5159fa
It seems inconsistent to have LLVMCC_EMITIR_FLAG and
...
LLVMGCC_DISABLEOPT_FLAGS, one with CC in it, the other
with GCC. Rename LLVMGCC_DISABLEOPT_FLAGS to
LLVMCC_DISABLEOPT_FLAGS.
llvm-svn: 120151
2010-11-25 17:57:43 +00:00
Benjamin Kramer
8689c9176b
SDep is POD-like. Shave off a few bytes from SUnit by moving a member around.
...
llvm-svn: 120150
2010-11-25 17:50:19 +00:00
Duncan Sands
d9293a1aa5
Initial support for being able to specify the llvm-gcc to use like this:
...
--with-llvmgcc="gcc-4.5 -fplugin=dragonegg.so"
llvm-svn: 120149
2010-11-25 17:47:42 +00:00