- Aug 24, 2008
-
-
Chris Lattner authored
use raw_ostream instead of std::ostream. Among other goodness, this speeds up llvm-dis of kc++ with a release build from 0.85s to 0.49s (88% faster). Other interesting changes: 1) This makes Value::print be non-virtual. 2) AP[S]Int and ConstantRange can no longer print to ostream directly, use raw_ostream instead. 3) This fixes a bug in raw_os_ostream where it didn't flush itself when destroyed. 4) This adds a new SDNode::print method, instead of only allowing "dump". A lot of APIs have both std::ostream and raw_ostream versions, it would be useful to go through and systematically anihilate the std::ostream versions. This passes dejagnu, but there may be minor fallout, plz let me know if so and I'll fix it. llvm-svn: 55263
-
- Aug 23, 2008
-
-
Dan Gohman authored
llvm-svn: 55220
-
Dan Gohman authored
process up to a higher level. This allows FastISel to leverage more of SelectionDAGISel's infastructure, such as updating Machine PHI nodes. Also, implement transitioning from SDISel back to FastISel in the middle of a block, so it's now possible to go back and forth. This allows FastISel to hand individual CallInsts and other complicated things off to SDISel to handle, while handling the rest of the block itself. To help support this, reorganize the SelectionDAG class so that it is allocated once and reused throughout a function, instead of being completely reallocated for each block. llvm-svn: 55219
-
Dan Gohman authored
i8* getelementptr. DAGCombine eliminates these, but this is a fairly common case. llvm-svn: 55214
-
Dan Gohman authored
llvm-svn: 55212
-
- Aug 22, 2008
-
-
Dan Gohman authored
llvm-svn: 55205
-
Bill Wendling authored
{standard input}:17:bad register name `%sil' make[4]: *** [libgcc/./_addvsi3.o] Error 1 make[4]: *** Waiting for unfinished jobs.... {standard input}:23:bad register name `%dil' {standard input}:28:bad register name `%dil' make[4]: *** [libgcc/./_addvdi3.o] Error 1 {standard input}:18:bad register name `%sil' make[4]: *** [libgcc/./_subvsi3.o] Error 1 llvm-svn: 55200
-
Dan Gohman authored
llvm-svn: 55192
-
Dan Gohman authored
llvm-svn: 55191
-
Dan Gohman authored
are not yet updated properly, but that's a separate task. llvm-svn: 55187
-
Dan Gohman authored
handled correctly, and change a few SmallVector uses to use size 0 to more clearly reflect their intent. llvm-svn: 55181
-
Chris Lattner authored
Patch contributed by m-s. llvm-svn: 55167
-
Dan Gohman authored
and use it in FastISelEmitter.cpp, and make FastISel subtarget aware. Among other things, this lets it work properly on x86 targets that don't have SSE, where it successfully selects x87 instructions. llvm-svn: 55156
-
Bill Wendling authored
llvm-svn: 55154
-
- Aug 21, 2008
-
-
Owen Anderson authored
llvm-svn: 55134
-
Dan Gohman authored
llvm-svn: 55133
-
Dan Gohman authored
llvm-svn: 55130
-
Dan Gohman authored
llvm-svn: 55129
-
Dan Gohman authored
intptr_t type in this case. FastISel can now select simple getelementptr instructions. llvm-svn: 55125
-
Dan Gohman authored
are actually deleted, so it's not necessary to remove re-used nodes from the set. llvm-svn: 55123
-
Dan Gohman authored
llvm-svn: 55099
-
Evan Cheng authored
llvm-svn: 55097
-
Owen Anderson authored
llvm-svn: 55092
-
Dan Gohman authored
llvm-svn: 55089
-
Evan Cheng authored
llvm-svn: 55085
-
- Aug 20, 2008
-
-
Dan Gohman authored
llvm-svn: 55077
-
Dan Gohman authored
class hold a MachineRegisterInfo member, and make the MachineBasicBlock be passed in to SelectInstructions rather than the FastISel constructor. llvm-svn: 55076
-
Dan Gohman authored
llvm-svn: 55075
-
Bill Wendling authored
llvm-svn: 55074
-
Dan Gohman authored
llvm-svn: 55072
-
Dan Gohman authored
llvm-svn: 55071
-
Dan Gohman authored
llvm-svn: 55070
-
Dan Gohman authored
llvm-svn: 55069
-
Evan Cheng authored
llvm-svn: 55067
-
Dan Gohman authored
llvm-svn: 55059
-
Dan Gohman authored
alignment and volatility information, such as loads and stores, to reduce the number of integer values added to the FoldingSetNodeID. llvm-svn: 55058
-
Dan Gohman authored
llvm-svn: 55054
-
Dan Gohman authored
llvm-svn: 55050
-
Dan Gohman authored
llvm-svn: 55049
-
Dan Gohman authored
not have a fall-through successor. llvm-svn: 55033
-