- Jul 23, 2008
-
-
Owen Anderson authored
llvm-svn: 53961
-
Owen Anderson authored
to multiply the instruction count by a constant factor in a few places, which caused the register allocator to require many more iterations. llvm-svn: 53959
-
Owen Anderson authored
live intervals itself to use an instruction count approximation that is not affected by inserting empty indices. llvm-svn: 53937
-
- Jul 19, 2008
-
-
Evan Cheng authored
llvm-svn: 53779
-
- Jul 18, 2008
-
-
Dan Gohman authored
Fix a leak that this turned up in LowerSubregs.cpp. And, comment a leak in LiveIntervalAnalysis.cpp. llvm-svn: 53746
-
- Jul 12, 2008
-
-
Evan Cheng authored
llvm-svn: 53504
-
Evan Cheng authored
Fix PR2536: a nasty spiller bug. If a two-address instruction uses a register but the use portion of its live range is not part of its liveinterval, it must be defined by an implicit_def. In that case, do not spill the use. e.g. 8 %reg1024<def> = IMPLICIT_DEF 12 %reg1024<def> = INSERT_SUBREG %reg1024<kill>, %reg1025, 2 The live range [12, 14) are not part of the r1024 live interval since it's defined by an implicit def. It will not conflicts with live interval of r1025. Now suppose both registers are spilled, you can easily see a situation where both registers are reloaded before the INSERT_SUBREG and both target registers that would overlap. llvm-svn: 53503
-
- Jul 10, 2008
-
-
Evan Cheng authored
- Change the horrible N^2 isRegReDefinedByTwoAddr. Now callers must supply the operand index of def machineoperand and at most one full scan of non-implicit operands is needed. - Change local register allocator to use the new isRegReDefinedByTwoAddr instead of reinventing the wheel. llvm-svn: 53394
-
- 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
-
- Jul 03, 2008
-
-
Evan Cheng authored
- Remove calls to copyKillDeadInfo which is an N^2 function. Instead, propagate kill / dead markers as new instructions are constructed in foldMemoryOperand, convertToThressAddress, etc. - Also remove LiveVariables::instructionChanged, etc. Replace all calls with cheaper calls which update VarInfo kill list. llvm-svn: 53097
-
- Jun 26, 2008
-
-
Owen Anderson authored
Remember which MachineOperand we were processing, so we don't have to scan the list to find it again later. This speeds up live intervals from 0.37s to 0.30s on instcombine. llvm-svn: 52745
-
- Jun 21, 2008
-
-
Evan Cheng authored
llvm-svn: 52572
-
- Jun 19, 2008
-
-
Owen Anderson authored
llvm-svn: 52485
-
Evan Cheng authored
llvm-svn: 52477
-
Owen Anderson authored
add new instructions. llvm-svn: 52475
-
- Jun 17, 2008
-
-
Evan Cheng authored
llvm-svn: 52431
-
- Jun 16, 2008
-
-
Owen Anderson authored
llvm-svn: 52345
-
Owen Anderson authored
impact on code quality or compile time. llvm-svn: 52329
-
Owen Anderson authored
llvm-svn: 52306
-
Owen Anderson authored
Assign indices to empty basic blocks. This will be necessary for StrongPHIElimination in the near future. llvm-svn: 52300
-
- Jun 06, 2008
-
-
Evan Cheng authored
llvm-svn: 52040
-
- Jun 05, 2008
-
-
Owen Anderson authored
llvm-svn: 52012
-
- Jun 04, 2008
-
-
Evan Cheng authored
llvm-svn: 51934
-
- Jun 02, 2008
-
-
Owen Anderson authored
llvm-svn: 51876
-
- May 30, 2008
-
-
Owen Anderson authored
Make the renumbering correct in the face of deleted instructions that have been removed from the LiveIntervals maps. llvm-svn: 51714
-
- May 29, 2008
-
-
Bill Wendling authored
llvm-svn: 51704
-
Owen Anderson authored
llvm-svn: 51694
-
Owen Anderson authored
Renumbering needs to account for instruction slot offsets when performing lookups in the index maps. llvm-svn: 51691
-
Owen Anderson authored
llvm-svn: 51658
-
- May 28, 2008
-
-
Owen Anderson authored
Factor the numbering computation into a separate method, and add the slightest attempt at some renumbering logic, which is currently unused. llvm-svn: 51652
-
- May 24, 2008
-
-
Evan Cheng authored
llvm-svn: 51513
-
- May 22, 2008
-
-
David Greene authored
When rewriting defs and uses after spilling, don't set the weight of a live interval to infinity if the instruction being rewritten is an original remat def instruction. We were only checking against the clone of the remat def which doesn't actually appear in the IR at all. llvm-svn: 51440
-
- May 20, 2008
-
-
Evan Cheng authored
llvm-svn: 51305
-
- May 13, 2008
-
-
Dan Gohman authored
several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017
-
- May 06, 2008
-
-
Dan Gohman authored
llvm-svn: 50696
-
- Apr 16, 2008
-
-
Evan Cheng authored
llvm-svn: 49800
-
- Apr 11, 2008
-
-
Evan Cheng authored
Use of implicit_def is not part of live interval. Create empty intervals for the uses when the live interval is being spilled. llvm-svn: 49542
-
- Apr 09, 2008
-
-
Evan Cheng authored
- Added insert_subreg coalescing support. llvm-svn: 49448
-
- Apr 03, 2008
-
-
Evan Cheng authored
- Eliminate an implicit_def when it's being spilled. llvm-svn: 49166
-
- Apr 01, 2008
-
-
Evan Cheng authored
llvm-svn: 49053
-