- Mar 30, 2004
-
-
Chris Lattner authored
an incoming value from a block, the selector would evaluate the constant at the TOP of the block instead of at the end of the block. This made the live range for the constant span the entire block, increasing register pressure needlessly. llvm-svn: 12542
-
Chris Lattner authored
llvm-svn: 12541
-
- Mar 29, 2004
-
-
Brian Gaeke authored
Otherwise, if you're in debugging mode, you get warnings for (apparently) every immediate constant in the function during reg. allocation. llvm-svn: 12538
-
- Mar 19, 2004
-
-
Chris Lattner authored
llvm-svn: 12504
-
- Mar 18, 2004
-
-
Chris Lattner authored
llvm-svn: 12500
-
Chris Lattner authored
folding load instructions into other instructions across free instruction boundaries. Perhaps this will also fix the other strange failures? llvm-svn: 12494
-
- Mar 16, 2004
-
-
Brian Gaeke authored
llvm-svn: 12454
-
Brian Gaeke authored
llvm-svn: 12453
-
Brian Gaeke authored
llvm-svn: 12452
-
Brian Gaeke authored
llvm-svn: 12451
-
Brian Gaeke authored
Add handling for Mul instruction. llvm-svn: 12450
-
- Mar 15, 2004
-
-
Alkis Evlogimenos authored
llvm-svn: 12424
-
- Mar 14, 2004
-
-
Alkis Evlogimenos authored
MachineBasicBlock::iterator take a MachineInstr*. llvm-svn: 12392
-
Alkis Evlogimenos authored
instruction to make the API more flexible. llvm-svn: 12386
-
- Mar 13, 2004
-
-
Chris Lattner authored
llvm-svn: 12357
-
Chris Lattner authored
Intrinsic::va*. This avoid conflicting with macros in the stdlib.h file. llvm-svn: 12356
-
- Mar 12, 2004
-
-
Brian Gaeke authored
llvm-svn: 12344
-
Alkis Evlogimenos authored
llvm-svn: 12336
-
Chris Lattner authored
llvm-svn: 12316
-
Misha Brukman authored
header file and all those who #include it. llvm-svn: 12297
-
- Mar 11, 2004
-
-
Brian Gaeke authored
Make an explicit call to it from runOnFunction() if we know we're supposed to write into the global. This is lame (esp. the const_cast), but it solves the problem. llvm-svn: 12291
-
Brian Gaeke authored
llvm-svn: 12290
-
Misha Brukman authored
llvm-svn: 12289
-
Brian Gaeke authored
make the output more compact. Divorce state-saving from the doFinalization method; for some reason it's not getting called when I want it to, at Reoptimizer time. Put the guts in PhyRegAlloc::finishSavingState(). Put an abort() in it so that I can be really really sure that it's getting called. Update comments. llvm-svn: 12286
-
Brian Gaeke authored
llvm-svn: 12285
-
- Mar 10, 2004
-
-
Brian Gaeke authored
De-constify SaveStateToModule; we have to set both it and SaveRegAllocState explicitly in the reoptimizer. Make SaveRegAllocState an 'external location' option. llvm-svn: 12278
-
Brian Gaeke authored
llvm-svn: 12277
-
- Mar 09, 2004
-
-
Alkis Evlogimenos authored
instructions. llvm-svn: 12258
-
Brian Gaeke authored
llvm-svn: 12255
-
Alkis Evlogimenos authored
llvm-svn: 12254
-
Alkis Evlogimenos authored
llvm-svn: 12253
-
Alkis Evlogimenos authored
llvm-svn: 12252
-
Alkis Evlogimenos authored
llvm-svn: 12251
-
Brian Gaeke authored
AllocInfo.Instruction becoming an int. llvm-svn: 12247
-
Brian Gaeke authored
#-1. Other minor changes to deal with AllocInfo.Instruction becoming an int. llvm-svn: 12246
-
Brian Gaeke authored
(Instruction #-1's operands = argument list). llvm-svn: 12245
-
- Mar 08, 2004
-
-
Chris Lattner authored
llvm-svn: 12207
-
Chris Lattner authored
testcase like this: int %test(int* %P, int %A) { %Pv = load int* %P %B = add int %A, %Pv ret int %B } We now generate: test: mov %ECX, DWORD PTR [%ESP + 4] mov %EAX, DWORD PTR [%ESP + 8] add %EAX, DWORD PTR [%ECX] ret Instead of: test: mov %EAX, DWORD PTR [%ESP + 4] mov %ECX, DWORD PTR [%ESP + 8] mov %EAX, DWORD PTR [%EAX] add %EAX, %ECX ret ... saving one instruction, and often a register. Note that there are a lot of other instructions that could use this, but they aren't handled. I'm not really interested in adding them, but mul/div and all of the FP instructions could be supported as well if someone wanted to add them. llvm-svn: 12204
-
Chris Lattner authored
llvm-svn: 12203
-
- Mar 07, 2004
-
-
Alkis Evlogimenos authored
llvm-svn: 12190
-