- Feb 05, 2009
-
-
Evan Cheng authored
Machine LICM increases register pressure and it almost always increase code size. For now, disable it for optimizing for size. llvm-svn: 63856
-
Evan Cheng authored
llvm-svn: 63854
-
- Feb 04, 2009
-
-
Evan Cheng authored
llvm-svn: 63729
-
Evan Cheng authored
Don't bother hoisting out a "cheap" instruction if all of its uses are PHIs. LICM "cheap" instructions are not particularly beneficial to start with. This will just end up making the copies harder to coalesce. llvm-svn: 63728
-
Evan Cheng authored
For now, only hoist re-materilizable instructions. LICM will increase register pressure. We want to avoid spilling more instructions if it's possible. llvm-svn: 63725
-
- Jan 15, 2009
-
-
Dan Gohman authored
loops, hoisting instructions all the way out in one step rather than hoisting them one nest level at a time. Also, make a few other code simplifications. This speeds up MachineLICM by several fold. llvm-svn: 62283
-
- Jan 05, 2009
-
-
Dan Gohman authored
llvm-svn: 61715
-
- Dec 23, 2008
-
-
Dan Gohman authored
several places. isTerminator() returns true for a superset of cases, and includes things like FP_REG_KILL, which are nither return or branch but aren't safe to move/remat/etc. llvm-svn: 61373
-
- Dec 18, 2008
-
-
Dan Gohman authored
llvm-svn: 61184
-
- Oct 03, 2008
-
-
Dan Gohman authored
isReg, etc., from isRegister, etc. llvm-svn: 57006
-
- Sep 04, 2008
-
-
Dan Gohman authored
llvm-svn: 55779
-
- Aug 31, 2008
-
-
Bill Wendling authored
llvm-svn: 55578
-
- Aug 20, 2008
-
-
Bill Wendling authored
llvm-svn: 55074
-
- Aug 18, 2008
-
-
Bill Wendling authored
hoisting out some "test" and "cmp" instructions. This was obvious badness. llvm-svn: 54908
-
- Jul 07, 2008
-
-
Bill Wendling authored
llvm-svn: 53166
-
- 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 12, 2008
-
-
Bill Wendling authored
llvm-svn: 50990
-
Bill Wendling authored
possible for it to produce worse code than before. The rest of this patch is code cleanup. llvm-svn: 50987
-
- Mar 10, 2008
-
-
Bill Wendling authored
llvm-svn: 48142
-
- Feb 26, 2008
-
-
Bill Wendling authored
llvm-svn: 47629
-
Bill Wendling authored
would have been a Godsend here! llvm-svn: 47625
-
- Feb 10, 2008
-
-
Dan Gohman authored
llvm-svn: 46930
-
- Jan 11, 2008
-
-
Chris Lattner authored
both work right according to the new flags. This removes the TII::isReallySideEffectFree predicate, and adds TII::isInvariantLoad. It removes NeverHasSideEffects+MayHaveSideEffects and adds UnmodeledSideEffects as machine instr flags. Now the clients can decide everything they need. I think isRematerializable can be implemented in terms of the flags we have now, though I will let others tackle that. llvm-svn: 45843
-
- Jan 07, 2008
-
-
Chris Lattner authored
Make MachineInstr::getDesc return a reference instead of a pointer, since it can never be null. llvm-svn: 45695
-
Chris Lattner authored
that it is cheap and efficient to get. Move a variety of predicates from TargetInstrInfo into TargetInstrDescriptor, which makes it much easier to query a predicate when you don't have TII around. Now you can use MI->getDesc()->isBranch() instead of going through TII, and this is much more efficient anyway. Not all of the predicates have been moved over yet. Update old code that used MI->getInstrDescriptor()->Flags to use the new predicates in many places. llvm-svn: 45674
-
- Jan 04, 2008
-
-
Bill Wendling authored
llvm-svn: 45573
-
Bill Wendling authored
llvm-svn: 45572
-
Bill Wendling authored
llvm-svn: 45571
-
Chris Lattner authored
llvm-svn: 45569
-
- Jan 02, 2008
-
-
Bill Wendling authored
llvm-svn: 45499
-
Bill Wendling authored
llvm-svn: 45496
-
Bill Wendling authored
instruction. Also, use "splice" to move the new instruction instead of remove/insert (where it was leaking memory anyway). llvm-svn: 45492
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Dec 20, 2007
-
-
Bill Wendling authored
llvm-svn: 45245
-
- Dec 18, 2007
-
-
Bill Wendling authored
llvm-svn: 45178
-
- Dec 12, 2007
-
-
Bill Wendling authored
llvm-svn: 44892
-
- Dec 11, 2007
-
-
Bill Wendling authored
llvm-svn: 44881
-
Bill Wendling authored
llvm-svn: 44874
-
Bill Wendling authored
- Fix subtle bug when creating initially creating this map. llvm-svn: 44873
-
Bill Wendling authored
because those with side effects will be caught by other checks in here. Also, simplify the check for a BB in a sub loop. llvm-svn: 44871
-