- Jul 08, 2008
-
-
Dan Gohman authored
MachineMemOperands. The pools are owned by MachineFunctions. This drastically reduces the number of calls to malloc/free made during the "Emit" phase of scheduling, as well as later phases in CodeGen. Combined with other changes, this speeds up the "instruction selection" phase of CodeGen by 10% in some cases. llvm-svn: 53212
-
Dan Gohman authored
and reused across SelectionDAGs. This drastically reduces the number of calls to malloc/free made during instruction selection, and improves memory locality. llvm-svn: 53211
-
Dan Gohman authored
for handling bookkeeping for deleted objects, as well as the alist class template, for keeping lists of objects allocated from Recyclers, and some related utilities. llvm-svn: 53210
-
Evan Cheng authored
llvm-svn: 53209
-
Evan Cheng authored
ATT asm printer just print register AsmName's instead of calling tolower on each charater of Name. This speeds it up by 10%. llvm-svn: 53208
-
Evan Cheng authored
TargetRegisterDesc::Name field is the same as the abstract register name. There is no need for targets to specify register names in addition to their AsmName's. llvm-svn: 53207
-
- Jul 07, 2008
-
-
Bill Wendling authored
llvm-svn: 53206
-
Dan Gohman authored
getTargetNode and SelectNodeTo to reduce duplication, and to make some of the getTargetNode code available to SelectNodeTo. Use SelectNodeTo instead of getTargetNode in several new interesting cases, as it mutates nodes in place instead of creating new ones. This triggers some scheduling behavior differences due to nodes being presented to the scheduler in a different order. Some of the arbitrary scheduling decisions it makes are now arbitrarily made differently. This is visible in CodeGen/PowerPC/LargeAbsoluteAddr.ll, where a trivial scheduling difference led to a trivial register allocation difference. llvm-svn: 53203
-
Bill Wendling authored
llvm-svn: 53202
-
Dan Gohman authored
properly track dead nodes that are on the original SDNode's operand list but not the new one, and have no other uses. llvm-svn: 53201
-
Dan Gohman authored
#include dependency on Support/MathExtras.h in the header file. llvm-svn: 53200
-
Dan Gohman authored
pool-allocating MachineInstrs. llvm-svn: 53198
-
Dan Gohman authored
llvm-svn: 53197
-
Dan Gohman authored
llvm-svn: 53196
-
Dan Gohman authored
and rearranging the fields. llvm-svn: 53195
-
Dan Gohman authored
their cleanup code. llvm-svn: 53194
-
Evan Cheng authored
1. LSR runOnLoop is always returning false regardless if any transformation is made. 2. AddUsersIfInteresting can create new instructions that are added to DeadInsts. But there is a later early exit which prevents them from being freed. llvm-svn: 53193
-
Bruno Cardoso Lopes authored
llvm-svn: 53192
-
Dan Gohman authored
llvm-svn: 53190
-
Dan Gohman authored
llvm-svn: 53189
-
Dan Gohman authored
llvm-svn: 53188
-
Dan Gohman authored
llvm-svn: 53187
-
Dan Gohman authored
simple const SDOperand*, which is what's usually needed. For AddNodeIDOperands, which is small, just duplicate the function to accept an SDUse*. For SelectionDAG::getNode - Add an overload that accepts SDUse* that copies the operands into a temporary SDOperand array, but also has special-case checks for 0 through 3 operands to avoid the copy in the common cases. llvm-svn: 53183
-
Dan Gohman authored
all happened be unnecessary. llvm-svn: 53182
-
Dan Gohman authored
llvm-svn: 53181
-
Dan Gohman authored
llvm-svn: 53180
-
Dan Gohman authored
llvm-svn: 53179
-
Dan Gohman authored
llvm-svn: 53178
-
Dan Gohman authored
llvm-svn: 53177
-
Ted Kremenek authored
Removed ImmutableMap::SlimFind and replaced it with ImmutableMap::lookup. The new method does the same thing, except that it returns a pointer to the mapped data type, and not to an internal tree node. llvm-svn: 53171
-
Evan Cheng authored
llvm-svn: 53169
-
Nick Lewycky authored
Comment the xor %x, -1 case. llvm-svn: 53167
-
Bill Wendling authored
llvm-svn: 53166
-
Duncan Sands authored
float value. llvm-svn: 53165
-
- Jul 06, 2008
-
-
Anton Korobeynikov authored
having weak or linkonce or common or extweak LLVM linkage. llvm-svn: 53158
-
Anton Korobeynikov authored
llvm-svn: 53157
-
Anton Korobeynikov authored
llvm-svn: 53156
-
Anton Korobeynikov authored
llvm-svn: 53155
-
Anton Korobeynikov authored
llvm-svn: 53154
-
Nick Lewycky authored
llvm-svn: 53153
-