- Apr 04, 2010
-
-
Chris Lattner authored
llvm-svn: 100324
-
Chris Lattner authored
llvm-svn: 100323
-
Chris Lattner authored
raw_ostream to print to. llvm-svn: 100313
-
Chris Lattner authored
llvm-svn: 100310
-
Chris Lattner authored
llvm-svn: 100309
-
Chris Lattner authored
llvm-svn: 100308
-
Chris Lattner authored
raw_ostream to print an instruction to had to be specified at MCInstPrinter construction time instead of being able to pick at each call to printInstruction. llvm-svn: 100307
-
Chris Lattner authored
member of AsmPrinter. Instead, pass it in explicitly. llvm-svn: 100306
-
Mon P Wang authored
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: 100304
-
Chris Lattner authored
of printOffset to pass in a stream to print to. llvm-svn: 100296
-
Chris Lattner authored
llvm-svn: 100295
-
Chris Lattner authored
a few more things in AsmPrinter.cpp. llvm-svn: 100294
-
Chris Lattner authored
EmitInlineAsm. However, this attempt is foiled by operands being emitted directly to "O" so I'll have to do some surgery and finish MCizing the world. llvm-svn: 100291
-
- Apr 03, 2010
-
-
Chris Lattner authored
If we have an MCAsmStreamer, we continue to emit asm textually, otherwise we (currently) emit an error to errs and ignore it. llvm-svn: 100289
-
Chris Lattner authored
llvm-svn: 100288
-
David Greene authored
Ok, third time's the charm. No changes from last time except the CMake source addition. Apparently the buildbots were wrong about failures. --- 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: 100249
-
- Apr 02, 2010
-
-
Dale Johannesen authored
beginning of a block. llvm-svn: 100230
-
Benjamin Kramer authored
llvm-svn: 100225
-
Chris Lattner authored
llvm-svn: 100223
-
Chris Lattner authored
llvm-svn: 100222
-
Chris Lattner authored
llvm-svn: 100215
-
Chris Lattner authored
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
-
Evan Cheng authored
llvm-svn: 100208
-
Evan Cheng authored
llvm-svn: 100207
-
Benjamin Kramer authored
llvm-svn: 100206
-
David Greene authored
Let's try this again. Re-apply 100143 including an apparent missing <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
-
Mon P Wang authored
llvm-svn: 100199
-
Mon P Wang authored
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
-
Evan Cheng authored
After trivial coalescing, the MI being visited may have become a copy. Avoid adding it to CSE hash table since copies aren't being considered for CSE and they may be deleted. rdar://7819990 llvm-svn: 100170
-
Dale Johannesen authored
folder to be tolerant of debug info following the branch(es) at the end of a block. llvm-svn: 100168
-
Eric Christopher authored
llvm-svn: 100146
-
Devang Patel authored
llvm-svn: 100145
-
David Greene authored
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: 100143
-
- Apr 01, 2010
-
-
Devang Patel authored
Do not eagerly record known previous location. DBG_VALUE may not cause a new label due to one or other reason. llvm-svn: 100134
-
Evan Cheng authored
llvm-svn: 100133
-
Evan Cheng authored
- 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
-
Devang Patel authored
llvm-svn: 100117
-
Devang Patel authored
Update comment, rename a local variable. llvm-svn: 100116
-
Evan Cheng authored
1. Makes it possible to lower with floating point loads and stores. 2. Avoid unaligned loads / stores unless it's fast. 3. Fix some memcpy lowering logic bug related to when to optimize a load from constant string into a constant. 4. Adjust x86 memcpy lowering threshold to make it more sane. 5. Fix x86 target hook so it uses vector and floating point memory ops more effectively. rdar://7774704 llvm-svn: 100090
-
Bill Wendling authored
llvm-svn: 100065
-