#
edb4a703 |
| 24-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come.
llvm-svn: 77011
|
#
5ece69a4 |
| 24-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Fix whitespace.
llvm-svn: 76929
|
#
47db941f |
| 22-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Get rid of the Pass+Context magic.
llvm-svn: 76702
|
#
430f0cc5 |
| 21-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Replace the original ad-hoc code for determining whether (v pred w) implies (x pred y) with more thorough code that does more complete canonicalization before resorting to range checks. This helps it
Replace the original ad-hoc code for determining whether (v pred w) implies (x pred y) with more thorough code that does more complete canonicalization before resorting to range checks. This helps it find more cases where the canonicalized expressions match.
llvm-svn: 76671
show more ...
|
#
75dced05 |
| 21-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Make the range calculations for addrecs to be more conservative, as they aren't currently prepared to handle complicated overflow cases.
llvm-svn: 76524
|
#
32291b1a |
| 21-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Whitespace cleanups.
llvm-svn: 76523
|
#
d571c37b |
| 21-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Minor code simplification.
llvm-svn: 76521
|
#
34392625 |
| 20-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a comment to clarify why there isn't any code in this spot.
llvm-svn: 76505
|
#
00c1aaec |
| 20-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Remove the code that tried to evaluate whether (A pred B) is known by determining if (B pred (B-A)) is known, as it doesn't handle overflow correctly.
llvm-svn: 76504
|
#
d231d78f |
| 20-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Minor code simplification.
llvm-svn: 76496
|
#
1a7ab947 |
| 20-Jul-2009 |
Dan Gohman <gohman@apple.com> |
The upper argument of ConstantRange is exclusive, not inclusive.
llvm-svn: 76492
|
#
33a3fd0b |
| 20-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Revert the addition of hasNoPointerOverflow to GEPOperator. Getelementptrs that are defined to wrap are virtually useless to optimization, and getelementptrs that are undefined on any kind of overflo
Revert the addition of hasNoPointerOverflow to GEPOperator. Getelementptrs that are defined to wrap are virtually useless to optimization, and getelementptrs that are undefined on any kind of overflow are too restrictive -- it's difficult to ensure that all intermediate addresses are within bounds. I'm going to take a different approach.
Remove a few optimizations that depended on this flag.
llvm-svn: 76437
show more ...
|
#
80ca01c4 |
| 17-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a new Operator class, for handling Instructions and ConstantExprs in a convenient manner, factoring out some common code from InstructionCombining and ValueTracking. Move the contents of BinaryOp
Add a new Operator class, for handling Instructions and ConstantExprs in a convenient manner, factoring out some common code from InstructionCombining and ValueTracking. Move the contents of BinaryOperators.h into Operator.h and use Operator to generalize them to support ConstantExprs as well as Instructions.
llvm-svn: 76232
show more ...
|
#
20b34ac7 |
| 16-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a number of issues in our current context-passing stuff, which is also fixed here
llvm-svn: 76089
|
#
8c129d76 |
| 16-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Fill in some holes in ScalarEvolution's loop iteration condition analysis. This allows indvars to emit a simpler loop trip count expression.
llvm-svn: 76085
|
#
b6b25300 |
| 14-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move EVER MORE stuff over to LLVMContext.
llvm-svn: 75703
|
#
fbcc663c |
| 14-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location i
llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed").
llvm-svn: 75640
show more ...
|
#
f34f8634 |
| 14-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Make SCEVCallbackVH::allUsesReplacedWith more thorough in removing users from the Scalars map.
llvm-svn: 75634
|
#
92b4c7f3 |
| 14-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a comment about why ScalarEvolution doesn't recognize non-loop PHIs even when they're obvious.
llvm-svn: 75632
|
#
3e42e9f2 |
| 13-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move more functionality over to LLVMContext.
llvm-svn: 75559
|
#
fda3c4ac |
| 13-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Print a newline after printing a Value, now that Value's operator<< doesn't print a newline.
llvm-svn: 75543
|
#
dd707af3 |
| 13-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Fix a few assertion strings.
llvm-svn: 75530
|
#
fc769940 |
| 13-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Whitespace cleanups.
llvm-svn: 75525
|
#
e6b4babc |
| 13-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Fix an 80-column violation.
llvm-svn: 75524
|
#
e65c917e |
| 13-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Reapply 75252, with a fix to avoid the infinite recursion case. The check for avoiding re-analyzing a widening cast needed to happen earlier, as getSCEV itself may result in a isLoopGuardedByCond que
Reapply 75252, with a fix to avoid the infinite recursion case. The check for avoiding re-analyzing a widening cast needed to happen earlier, as getSCEV itself may result in a isLoopGuardedByCond query.
llvm-svn: 75511
show more ...
|