- Aug 18, 2003
-
-
Misha Brukman authored
llvm-svn: 7944
-
- Aug 17, 2003
-
-
Chris Lattner authored
Implements SimplifyCFG/2003-08-17-FoldSwitch.ll llvm-svn: 7923
-
Chris Lattner authored
llvm-svn: 7921
-
Chris Lattner authored
This fixes testcase: SimplifyCFG/2003-08-17-BranchFold.ll llvm-svn: 7919
-
- Aug 14, 2003
-
-
Brian Gaeke authored
llvm-svn: 7839
-
Chris Lattner authored
llvm-svn: 7832
-
- Aug 13, 2003
-
-
Chris Lattner authored
(A <setcc1> B) logicalop (A <setcc2> B) -> (A <setcc3> B) or true or false Where setcc[123] is one of the 6 setcc instructions, and logicalop is one of: And, Or, Xor llvm-svn: 7828
-
Chris Lattner authored
llvm-svn: 7825
-
Brian Gaeke authored
llvm-svn: 7823
-
Chris Lattner authored
llvm-svn: 7813
-
John Criswell authored
Use the poolalloc module in CVS from now on. llvm-svn: 7810
-
Chris Lattner authored
llvm-svn: 7807
-
Chris Lattner authored
llvm-svn: 7806
-
Chris Lattner authored
of a power of two are represented as a shift. llvm-svn: 7803
-
Brian Gaeke authored
it's used 7 different times. Rename `getBackEdges' to `findAndInstrumentBackEdges', for clarity. Remove some excess whitespace and commented-out code. Use shorter forms of CallInst ctors. Do not make `reopt_threshold' visible to the LLVM program, and do not pass it to the call to `reoptimizerInitialize'. Don't pass the GlobalVariable representing it to any of our helper methods. `reopt_threshold' is an internal parameter of the reoptimizer, which InstLoops does not need to know about. llvm-svn: 7794
-
- Aug 12, 2003
-
-
Chris Lattner authored
This implements InstCombine/shift.ll:test14* llvm-svn: 7793
-
Chris Lattner authored
llvm-svn: 7792
-
Chris Lattner authored
llvm-svn: 7787
-
Chris Lattner authored
llvm-svn: 7783
-
Chris Lattner authored
llvm-svn: 7782
-
Sumant Kowshik authored
Bug fix: Some nodes pointed to by globals may not be marked incomplete and need to be tracked to find pool arguments llvm-svn: 7763
-
- Aug 11, 2003
-
-
Chris Lattner authored
llvm-svn: 7721
-
- Aug 07, 2003
-
-
John Criswell authored
The original code does not work because the value from WorkList.end() is invalidated once WorkList.erase() is called. To ensure proper functionality, we must ensure that WorkList.erase() is always called before WorkList.end(). llvm-svn: 7673
-
Sumant Kowshik authored
Added code for pool allocating only the pool-allocatable data structures in the presence of collapsed nodes + a couple of bug fixes llvm-svn: 7662
-
- Aug 06, 2003
-
-
Chris Lattner authored
llvm-svn: 7641
-
- Aug 05, 2003
-
-
Tanya Lattner authored
llvm-svn: 7614
-
Tanya Lattner authored
llvm-svn: 7612
-
Chris Lattner authored
* Expand most tabs into spaces * Move #define DEBUG_TYPE to top of file to avoid warning llvm-svn: 7611
-
Sumant Kowshik authored
Major bug fixes including a memory leak and tracking some exceptional conditions. Also added support for including global and indirect call information in the DS graphs used by the pool allocation llvm-svn: 7605
-
Chris Lattner authored
Fix bug: SimplifyCFG/2003-08-05-MishandleInvoke.ll llvm-svn: 7599
-
- Aug 02, 2003
-
-
Chris Lattner authored
llvm-svn: 7492
-
- Jul 24, 2003
-
-
Chris Lattner authored
llvm-svn: 7295
-
Chris Lattner authored
Now it shoudl be a bit more efficient llvm-svn: 7292
-
Chris Lattner authored
of codes. For example, short kernel (short t1) { t1 >>= 8; t1 <<= 8; return t1; } became: short %kernel(short %t1.1) { %tmp.3 = shr short %t1.1, ubyte 8 ; <short> [#uses=1] %tmp.5 = cast short %tmp.3 to int ; <int> [#uses=1] %tmp.7 = shl int %tmp.5, ubyte 8 ; <int> [#uses=1] %tmp.8 = cast int %tmp.7 to short ; <short> [#uses=1] ret short %tmp.8 } before, now it becomes: short %kernel(short %t1.1) { %tmp.3 = shr short %t1.1, ubyte 8 ; <short> [#uses=1] %tmp.8 = shl short %tmp.3, ubyte 8 ; <short> [#uses=1] ret short %tmp.8 } which will become: short %kernel(short %t1.1) { %tmp.3 = and short %t1.1, 0xFF00 ret short %tmp.3 } This implements cast-set.ll:test4 and test5 llvm-svn: 7290
-
Chris Lattner authored
llvm-svn: 7289
-
Chris Lattner authored
This fixes a long time annoyance which caused prototypes for bzero, bcopy, bcmp, fputs, and fputs_unlocked to never get deleted. Grr. llvm-svn: 7285
-
- Jul 23, 2003
-
-
Chris Lattner authored
llvm-svn: 7283
-
Chris Lattner authored
- InstCombine: (X & C1) ^ C2 --> (X & C1) | C2 iff (C1&C2) == 0 - InstCombine: (X | C1) ^ C2 --> (X | C1) & ~C2 iff (C1&C2) == C2 llvm-svn: 7282
-
Chris Lattner authored
llvm-svn: 7272
-
Chris Lattner authored
- InstCombine: (X | C) & C --> C - InstCombine: (X | C1) & C2 --> (X | (C1&C2)) & C2 llvm-svn: 7269
-