History log of /llvm-project/llvm/lib/Analysis/ScalarEvolution.cpp (Results 1601 – 1625 of 2089)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 24ceda8e 18-Jun-2010 Dan Gohman <gohman@apple.com>

Revert r106304 (105548 and friends), which are the SCEVComplexityCompare
optimizations. There is still some nondeterminism remaining.

llvm-svn: 106306


# 4c807fca 18-Jun-2010 Dan Gohman <gohman@apple.com>

Reapply 105540, 105542, and 105548, and revert r105732.

llvm-svn: 106304


# 45073042 18-Jun-2010 Dan Gohman <gohman@apple.com>

Reapply 105546.

llvm-svn: 106302


# 9136d9fb 18-Jun-2010 Dan Gohman <gohman@apple.com>

Reapply 105544.

llvm-svn: 106301


# 3d8a9d74 18-Jun-2010 Dan Gohman <gohman@apple.com>

Remove getIntegerSCEV; it's redundant with getConstant, and getConstant
is more consistent with the ConstantInt API.

llvm-svn: 106281


# 8f5954f4 17-Jun-2010 Dan Gohman <gohman@apple.com>

Simplify this code.

llvm-svn: 106254


# ae83e1f5 09-Jun-2010 Evan Cheng <evan.cheng@apple.com>

Revert 105540, 105542, 105544, 105546, and 105548 to unbreak bootstrapping.

llvm-svn: 105740


# ebf2e977 07-Jun-2010 Dan Gohman <gohman@apple.com>

The FoldingSet hash data includes pointer values, so it isn't
determinstic. Instead, give SCEV objects an arbitrary sequence
number.

llvm-svn: 105548


# 3553feed 07-Jun-2010 Dan Gohman <gohman@apple.com>

Optimize this code somewhat by taking advantage of the fact
that the operands are sorted.

llvm-svn: 105546


# a2effb64 07-Jun-2010 Dan Gohman <gohman@apple.com>

Micro-optimize this, to speed up this hotspot in debug builds a little.

llvm-svn: 105544


# 18a4b464 07-Jun-2010 Dan Gohman <gohman@apple.com>

Micro-optimize this.

llvm-svn: 105542


# 70910a6a 07-Jun-2010 Dan Gohman <gohman@apple.com>

Optimize ScalarEvolution's SCEVComplexityCompare predicate: don't go
scrounging through SCEVUnknown contents and SCEVNAryExpr operands;
instead just do a simple deterministic comparison of the precom

Optimize ScalarEvolution's SCEVComplexityCompare predicate: don't go
scrounging through SCEVUnknown contents and SCEVNAryExpr operands;
instead just do a simple deterministic comparison of the precomputed
hash data.

Also, since this is more precise, it eliminates the need for the slow
N^2 duplicate detection code.

llvm-svn: 105540

show more ...


# a3b6c4b5 28-May-2010 Dan Gohman <gohman@apple.com>

ConstantFoldConstantExpression can theoretically return null.

llvm-svn: 104948


# 70a3b121 04-May-2010 Dan Gohman <gohman@apple.com>

Use the SCEVAddRecExpr::getPostIncExpr utility function instead
of doing the same thing manually.

llvm-svn: 102997


# 5f18c547 04-May-2010 Dan Gohman <gohman@apple.com>

Fix a copy+pasto.

llvm-svn: 102996


# 1d2ded75 03-May-2010 Dan Gohman <gohman@apple.com>

Use getConstant instead of getIntegerSCEV. The two are basically the
same, now that getConstant has overloads consistent with ConstantInt::get.

llvm-svn: 102965


# 267700c5 03-May-2010 Dan Gohman <gohman@apple.com>

Silence warnings about -1 being converted to an unsigned value.

Also, pass true for isSigned even when creating constants for unsigned
comparisons, because the point is to create an all-ones constan

Silence warnings about -1 being converted to an unsigned value.

Also, pass true for isSigned even when creating constants for unsigned
comparisons, because the point is to create an all-ones constant,
rather than UINT64_MAX, even for integers wider than 64 bits.

llvm-svn: 102946

show more ...


# b5025c72 03-May-2010 Dan Gohman <gohman@apple.com>

Use isTrueWhenEqual and isFalseWhenEqual instead of assuming that
SimplifyICmpOperands will simplify such cases to EQ or NE. This makes
the correcntess of the code independent on SimplifyICmpOperands

Use isTrueWhenEqual and isFalseWhenEqual instead of assuming that
SimplifyICmpOperands will simplify such cases to EQ or NE. This makes
the correcntess of the code independent on SimplifyICmpOperands doing
certain simplifications.

llvm-svn: 102927

show more ...


# d18dc2c8 03-May-2010 Dan Gohman <gohman@apple.com>

In ScalarEvolution::print, don't bother printing out the SCEVs for
comparison instructions, since they aren't interesting, despite having
integer result types.

llvm-svn: 102925


# df564cac 03-May-2010 Dan Gohman <gohman@apple.com>

In SimplifyICmpOperands, avoid needlessly swapping the operands in the
case where both are addrecs in unrelated loops.

llvm-svn: 102924


# 81585c18 03-May-2010 Dan Gohman <gohman@apple.com>

Factor out the new <= and >= analysis code into SimplifyICmpOperands.

llvm-svn: 102922


# a0a8a7fe 30-Apr-2010 Dan Gohman <gohman@apple.com>

Set isSigned to true when creating an all-ones integer constant, even
for unsigned purposes, so >64-bit integer values get a full all-ones
value.

llvm-svn: 102739


# 1c07852e 30-Apr-2010 Dan Gohman <gohman@apple.com>

Silence compiler warnings.

llvm-svn: 102734


Revision tags: llvmorg-2.7.0
# f33bac3a 24-Apr-2010 Dan Gohman <gohman@apple.com>

ScalarEvolution support for <= and >= loops.

Also, generalize ScalarEvolutions's min and max recognition to handle
some new forms of min and max that this change makes more common.

llvm-svn: 102234


# 36cce7e0 24-Apr-2010 Dan Gohman <gohman@apple.com>

Use SimplifyICmpOperands in isKnownPredicate too.

llvm-svn: 102233


1...<<61626364656667686970>>...84