- Feb 09, 2010
-
-
Chris Lattner authored
into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687
-
Jakob Stoklund Olesen authored
Patch by M Wahab! llvm-svn: 95668
-
Dale Johannesen authored
llvm-svn: 95647
-
Devang Patel authored
llvm-svn: 95646
-
Lang Hames authored
Previously spill registers, whose def indexes are not defined, would sometimes be improperly marked as coalescable with conflicting registers. The new findCoalesces routine conservatively assumes that any register with at least one undefined def is not coalescable with any register it interferes with. llvm-svn: 95636
-
Lang Hames authored
Added copy sensible construction & assignment to PBQP graphs and fixed a memory access bug in the heuristic solver. llvm-svn: 95633
-
Dan Gohman authored
direct MCExpr equivalents. Don't use MCExpr::Shr because it isn't consistent between targets. llvm-svn: 95620
-
Chris Lattner authored
MCSymbol, we can remove the 'suffix' argument of GetBlockAddressSymbol. Do so. llvm-svn: 95601
-
- Feb 08, 2010
-
-
Dan Gohman authored
expression; don't go into an infinite loop if it does. llvm-svn: 95591
-
Dan Gohman authored
in global initializers. Instead of aborting, attempt to fold them on the spot. If folding succeeds, emit the folded expression instead. This fixes PR6255. llvm-svn: 95583
-
Dale Johannesen authored
we can get in here if FastISel gives up in a block. (Actually the two copies of this need to be unified. Later.) llvm-svn: 95579
-
Dan Gohman authored
for blocks ending in "unreachable". llvm-svn: 95565
-
- Feb 07, 2010
-
-
Duncan Sands authored
warns about this base class not having a virtual destructor, but since this class has no virtual methods and neither it or the types derived from it has a destructor, a protected trivial destructor will do (and shuts cppcheck up) the trick without the cost of introducing a vtable. llvm-svn: 95526
-
- Feb 06, 2010
-
-
Evan Cheng authored
only run for x86 with fastisel. I've found it being very effective in eliminating some obvious dead code as result of formal parameter lowering especially when tail call optimization eliminated the need for some of the loads from fixed frame objects. It also shrinks a number of the tests. A couple of tests no longer make sense and are now eliminated. llvm-svn: 95493
-
Bob Wilson authored
llvm-svn: 95488
-
Dale Johannesen authored
addresses in dbg.declare; ignore this for the moment to prevent things from breaking. llvm-svn: 95471
-
Devang Patel authored
llvm-svn: 95461
-
Devang Patel authored
llvm-svn: 95452
-
- Feb 05, 2010
-
-
Evan Cheng authored
When the scheduler unfold a load folding instruction it move some of the predecessors to the unfolded load. It decides what gets moved to the load by checking whether the new load is using the predecessor as an operand. The check neglects the cases whether the predecessor is a flagged scheduling unit. rdar://7604000 llvm-svn: 95339
-
Bill Wendling authored
following it. However, the EmitGlobalConstant method wasn't emitting a body for the constant. The assembler doesn't like that. Before, we were generating this: .zerofill __DATA, __common, __cmd, 1, 3 This fix puts us back to that semantic. llvm-svn: 95336
-
- Feb 04, 2010
-
-
Evan Cheng authored
llvm-svn: 95322
-
Jakob Stoklund Olesen authored
ProcessImplicitDefs would only mark one operand per instruction with <undef>. This fixed PR6086. llvm-svn: 95319
-
Evan Cheng authored
It's too risky to eliminate sext / zext of call results for tail call optimization even if the caller / callee attributes completely match. The callee may have been bitcast'ed (or otherwise lied about what it's doing). llvm-svn: 95282
-
- Feb 03, 2010
-
-
Devang Patel authored
llvm-svn: 95242
-
Devang Patel authored
llvm-svn: 95240
-
Chris Lattner authored
of const ones. non-const ones aren't very useful, because you can't even, say, emit them. llvm-svn: 95205
-
Chris Lattner authored
add -filetype=null for performance testing and remove -filetype=dynlib, which isn't planned to be implemented. llvm-svn: 95202
-
Evan Cheng authored
llvm-svn: 95198
-
Evan Cheng authored
Allow all types of callee's to be tail called. But avoid automatic tailcall if the callee is a result of bitcast to avoid losing necessary zext / sext etc. llvm-svn: 95195
-
Chris Lattner authored
.o files don't like that. llvm-svn: 95187
-
Chris Lattner authored
llvm-svn: 95186
-
Dale Johannesen authored
llvm-svn: 95183
-
Chris Lattner authored
the end of the instruction instead of expecting the caller to do it. This currently causes the asm-verbose instruction comments to be on the next line. llvm-svn: 95178
-
Chris Lattner authored
than DEBUG_VALUE :( ) into the target indep AsmPrinter.cpp file. This allows elimination of the NO_ASM_WRITER_BOILERPLATE hack among other things. llvm-svn: 95177
-
Chris Lattner authored
llvm-svn: 95168
-
Chris Lattner authored
stderr if in filetype=obj mode. This is a hack, and will live until dwarf emission and other random stuff that is not yet going through MCStreamer is upgraded. It only impacts filetype=obj mode. llvm-svn: 95166
-
Chris Lattner authored
$ cat t.ll @g = global i32 42 $ llc t.ll -o t.o -filetype=obj $ nm t.o 00000000 D _g There is still a ton of work left. Instructions are not being encoded yet apparently. llvm-svn: 95162
-
Evan Cheng authored
llvm-svn: 95160
-
Chris Lattner authored
llvm-svn: 95156
-
Chris Lattner authored
mccontext instead of having AsmPrinter do it. This allows other types of MCStreamer's to be passed in. llvm-svn: 95155
-