#
41f14cf3 |
| 14-Sep-2010 |
Dan Gohman <gohman@apple.com> |
Remove the experimental AliasAnalysis::getDependency interface, which isn't a good level of abstraction for memdep. Instead, generalize AliasAnalysis::alias and related interfaces with a new Location
Remove the experimental AliasAnalysis::getDependency interface, which isn't a good level of abstraction for memdep. Instead, generalize AliasAnalysis::alias and related interfaces with a new Location class for describing a memory location. For now, this is the same Pointer and Size as before, plus an additional field for a TBAA tag.
Also, introduce a fixed MD_tbaa metadata tag kind.
llvm-svn: 113858
show more ...
|
#
1c5be00e |
| 09-Sep-2010 |
Dan Gohman <gohman@apple.com> |
Extend the getDependence query with support for PHI translation.
llvm-svn: 113521
|
#
64d842ec |
| 08-Sep-2010 |
Dan Gohman <gohman@apple.com> |
Add a new experimental generalized dependence query interface to AliasAnalysis, and some code for implementing the new query on top of existing implementations by making standard alias and getModRefI
Add a new experimental generalized dependence query interface to AliasAnalysis, and some code for implementing the new query on top of existing implementations by making standard alias and getModRefInfo queries.
llvm-svn: 113329
show more ...
|
Revision tags: llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0 |
|
#
3decde93 |
| 18-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
refix PR1143 by making basicaa analyze zexts of indices aggresively, which I broke with a recent patch.
llvm-svn: 111452
|
#
26403ace |
| 18-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
GetLinearExpression is only called when TD is non-null, pass as a reference instead of pointer.
llvm-svn: 111445
|
#
1b9c3879 |
| 18-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
rework GEP decomposition to make a new VariableGEPIndex struct instead of using a pair. This tidies up the code a bit. While setting things up, add a (currently unused) field to keep track of how t
rework GEP decomposition to make a new VariableGEPIndex struct instead of using a pair. This tidies up the code a bit. While setting things up, add a (currently unused) field to keep track of how the value is extended.
llvm-svn: 111444
show more ...
|
#
9f7500f5 |
| 18-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
move gep decomposition out of ValueTracking into BasicAA. The form of decomposition that it is doing is very basicaa specific and is only used by basicaa.
Now with less tree breakingness.
llvm-svn
move gep decomposition out of ValueTracking into BasicAA. The form of decomposition that it is doing is very basicaa specific and is only used by basicaa.
Now with less tree breakingness.
llvm-svn: 111433
show more ...
|
#
fbeeb130 |
| 18-Aug-2010 |
Daniel Dunbar <daniel@zuster.org> |
Revert r111375, "move gep decomposition out of ValueTracking into BasicAA. The form of", it doesn't pass tests.
llvm-svn: 111385
|
#
54fe8832 |
| 18-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
move gep decomposition out of ValueTracking into BasicAA. The form of decomposition that it is doing is very basicaa specific and is only used by basicaa.
llvm-svn: 111375
|
#
a7aed186 |
| 06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Reapply r110396, with fixes to appease the Linux buildbot gods.
llvm-svn: 110460
|
#
5f1702e4 |
| 06-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Move all the logic for function attributes and call attributes out of the AliasAnalysis base class and into BasicAliasAnalyais. This avoids confusion about where such logic is happening when there ar
Move all the logic for function attributes and call attributes out of the AliasAnalysis base class and into BasicAliasAnalyais. This avoids confusion about where such logic is happening when there are other AliasAnalysis implementations present.
Move the logic for translating two-callsite getModRefInfo queries into other AliasAnalysis queries out of BasicAliasAnalysis and into the AliasAnalysis base class, as it is useful for other AliasAnalysis implementations.
llvm-svn: 110421
show more ...
|
#
c2107d2e |
| 06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Fix botched revert.
llvm-svn: 110416
|
#
bda59bd2 |
| 06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Revert r110396 to fix buildbots.
llvm-svn: 110410
|
#
e0d5c458 |
| 05-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Fix 80-column violations.
llvm-svn: 110401
|
#
755aceb5 |
| 05-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static ID member as the sole unique type identifier. Clean up APIs related to this change.
llvm-svn: 110396
|
#
884dd752 |
| 05-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Implement AccessesArguments checking in the two-callsite form of BasicAA::getModRefInfo. This allows BasicAA to say that two memset calls to non-aliasing memory locations don't interfere.
llvm-svn:
Implement AccessesArguments checking in the two-callsite form of BasicAA::getModRefInfo. This allows BasicAA to say that two memset calls to non-aliasing memory locations don't interfere.
llvm-svn: 110393
show more ...
|
#
26ef7c7a |
| 05-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Fix memdep's code for reasoning about dependences between two calls. A Ref response from getModRefInfo is not useful here. Instead, check for identical calls only in the NoModRef case.
Reapply r1102
Fix memdep's code for reasoning about dependences between two calls. A Ref response from getModRefInfo is not useful here. Instead, check for identical calls only in the NoModRef case.
Reapply r110270, and strengthen it to compensate for the memdep changes. When both calls are readonly, there is no dependence between them.
llvm-svn: 110382
show more ...
|
#
554b012f |
| 05-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Revert r110270 for now. It appears to uncover a memdep bug.
llvm-svn: 110293
|
#
bd33dab6 |
| 04-Aug-2010 |
Dan Gohman <gohman@apple.com> |
The two-callsite form of AliasAnalysis::getModRefInfo is documented to return Ref if the left callsite only reads memory read or written by the right callsite; fix BasicAliasAnalysis to implement thi
The two-callsite form of AliasAnalysis::getModRefInfo is documented to return Ref if the left callsite only reads memory read or written by the right callsite; fix BasicAliasAnalysis to implement this.
Add AliasAnalysisEvaluator support for testing the two-callsite form of getModRefInfo.
llvm-svn: 110270
show more ...
|
#
5442c71f |
| 03-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Thread const correctness through a bunch of AliasAnalysis interfaces and eliminate several const_casts.
Make CallSite implicitly convertible to ImmutableCallSite.
Rename the getModRefBehavior for i
Thread const correctness through a bunch of AliasAnalysis interfaces and eliminate several const_casts.
Make CallSite implicitly convertible to ImmutableCallSite.
Rename the getModRefBehavior for intrinsic IDs to getIntrinsicModRefBehavior to avoid overload ambiguity with CallSite, which happens to be implicitly convertible to bool.
llvm-svn: 110155
show more ...
|
#
ad867b0a |
| 03-Aug-2010 |
Dan Gohman <gohman@apple.com> |
The singular of "indices" is "index".
llvm-svn: 110135
|
#
852d6fc5 |
| 03-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Delete an unused function.
llvm-svn: 110134
|
#
2a190081 |
| 03-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Introduce a symbolic constant for ~0u for use with AliasAnalysis.
llvm-svn: 110091
|
#
ac4a1ede |
| 21-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with RegisterAnalysisGroup<> for pass registration.
llvm-svn: 109058
|
#
81781220 |
| 20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Speculatively revert r108813, in an attempt to get the self-host buildbots working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patc
Speculatively revert r108813, in an attempt to get the self-host buildbots working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patches seem likely either.
llvm-svn: 108818
show more ...
|