| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 100222
|
| |
|
|
| |
llvm-svn: 100221
|
| |
|
|
|
|
|
| |
This keeps around temporary typedef for clang/llvm-gcc so the
build won't break when I commit this :)
llvm-svn: 100218
|
| |
|
|
| |
llvm-svn: 100217
|
| |
|
|
| |
llvm-svn: 100216
|
| |
|
|
| |
llvm-svn: 100215
|
| |
|
|
| |
llvm-svn: 100214
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
representation. This eliminates the 'DILocation' MDNodes for
file/line/col tuples from -O0 -g codegen.
This remove the old DebugLoc class, making it a typedef for DebugLoc,
I'll rename NewDebugLoc next.
I didn't update the JIT to use the new apis, so it will continue to
work, but be as slow as before. Someone should eventually do this
or, better yet, rip out the JIT debug info stuff and build the JIT
on top of MC.
llvm-svn: 100209
|
| |
|
|
| |
llvm-svn: 100208
|
| |
|
|
|
|
| |
are run during codegen.
llvm-svn: 100207
|
| |
|
|
| |
llvm-svn: 100206
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<string> include. For some reason the buildbot choked on this while my
builds did not. It's probably due to a difference in system headers.
---
Add some switches helpful for debugging:
-print-before=<Pass Name>
Dump IR before running pass <Pass Name>.
-print-before-all
Dump IR before running each pass.
-print-after-all
Dump IR after running each pass.
These are helpful when tracking down a miscompilation. It is easy to
get IR dumps and do diffs on them, etc.
To make this work well, add a new getPrinterPass API to Pass so that
each kind of pass (ModulePass, FunctionPass, etc.) can create a Pass
suitable for dumping out the kind of object the Pass works on.
llvm-svn: 100204
|
| |
|
|
| |
llvm-svn: 100199
|
| |
|
|
|
|
|
| |
Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset,
e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
llvm-svn: 100191
|
| |
|
|
| |
llvm-svn: 100187
|
| |
|
|
|
|
| |
it can't currently observe such changes automatically.
llvm-svn: 100186
|
| |
|
|
|
|
|
|
| |
Need to start from (char*)(Slab+1), and not from (char*)Slab+1.
This fixes crashes in Win64 debug mode.
Thanks to Nicolas Capens!
llvm-svn: 100184
|
| |
|
|
| |
llvm-svn: 100183
|
| |
|
|
| |
llvm-svn: 100177
|
| |
|
|
| |
llvm-svn: 100176
|
| |
|
|
|
|
|
| |
in particular, they end up aligning strings at 16-byte boundaries, and
there's no way for GlobalOpt to check OptForSize.
llvm-svn: 100172
|
| |
|
|
|
|
|
|
| |
adding it to CSE hash table since copies aren't being considered for CSE and they may be deleted.
rdar://7819990
llvm-svn: 100170
|
| |
|
|
|
|
|
| |
folder to be tolerant of debug info following the
branch(es) at the end of a block.
llvm-svn: 100168
|
| |
|
|
| |
llvm-svn: 100167
|
| |
|
|
|
|
| |
unaligned loads into aligned loads.
llvm-svn: 100166
|
| |
|
|
| |
llvm-svn: 100165
|
| |
|
|
| |
llvm-svn: 100164
|
| |
|
|
|
|
|
|
| |
on Mac OS X to use @rpath rather than an absolute
path. Also allowed the version to be set using an
environment variable.
llvm-svn: 100163
|
| |
|
|
|
|
| |
This fixes test/Transforms/GlobalOpt/gv-align.ll.
llvm-svn: 100161
|
| |
|
|
| |
llvm-svn: 100160
|
| |
|
|
|
|
| |
This is more efficient than adding them to the worklist and then ignoring them.
llvm-svn: 100158
|
| |
|
|
|
|
|
| |
likely not a bitcode file at all, rather than being a bitcode file which
is truncated. Check for this case and issue a more relevant error message.
llvm-svn: 100156
|
| |
|
|
| |
llvm-svn: 100148
|
| |
|
|
| |
llvm-svn: 100147
|
| |
|
|
| |
llvm-svn: 100146
|
| |
|
|
| |
llvm-svn: 100145
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-print-before=<Pass Name>
Dump IR before running pass <Pass Name>.
-print-before-all
Dump IR before running each pass.
-print-after-all
Dump IR after running each pass.
These are helpful when tracking down a miscompilation. It is easy to
get IR dumps and do diffs on them, etc.
To make this work well, add a new getPrinterPass API to Pass so that
each kind of pass (ModulePass, FunctionPass, etc.) can create a Pass
suitable for dumping out the kind of object the Pass works on.
llvm-svn: 100143
|
| |
|
|
| |
llvm-svn: 100137
|
| |
|
|
|
|
| |
label due to one or other reason.
llvm-svn: 100134
|
| |
|
|
|
|
| |
all together.
llvm-svn: 100133
|
| |
|
|
| |
llvm-svn: 100132
|
| |
|
|
| |
llvm-svn: 100131
|
| |
|
|
|
|
| |
one place. This removes the template function added in svn 94690.
llvm-svn: 100130
|
| |
|
|
|
|
| |
blow out the stack for really big functions. Start by fixing an easy case.
llvm-svn: 100126
|
| |
|
|
|
|
|
|
| |
zero.
- Do not try to infer GV alignment unless its type is sized. It's not possible to infer alignment if it has opaque type.
llvm-svn: 100118
|
| |
|
|
| |
llvm-svn: 100117
|
| |
|
|
|
|
| |
Update comment, rename a local variable.
llvm-svn: 100116
|
| |
|
|
| |
llvm-svn: 100107
|
| |
|
|
|
|
|
|
|
|
| |
- Use a RAII object to close the FD.
- Use sys::StrError instead of thread-unsafe strerror calls.
- Recover gracefully if read returns zero. This works around an issue on
DragonFlyBSD where /dev/null has an st_size of 136 but we can't read 136 bytes
from it.
llvm-svn: 100106
|
| |
|
|
|
|
| |
hosts / targets.
llvm-svn: 100101
|