aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/AliasAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-22 22:46:39 +0000
committerChris Lattner <sabre@nondot.org>2002-08-22 22:46:39 +0000
commitf9355f636b6a7d59993081766dd0481bd08f545d (patch)
tree09802044dce24e7d3c7db3e63f855ed09bb45df7 /lib/Analysis/AliasAnalysis.cpp
parentce325e491cf501d8821f7725be51a46cf97dd144 (diff)
doxygenize comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/AliasAnalysis.cpp')
-rw-r--r--lib/Analysis/AliasAnalysis.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp
index fd6059d8b2..cfe6f5e68a 100644
--- a/lib/Analysis/AliasAnalysis.cpp
+++ b/lib/Analysis/AliasAnalysis.cpp
@@ -47,7 +47,6 @@ namespace {
return AA.canCallModify(CI, Ptr);
}
bool visitStoreInst(StoreInst &SI) {
- assert(!SI.hasIndices() && "Only support stores without indexing!");
return AA.alias(Ptr, SI.getOperand(1));
}
@@ -63,9 +62,9 @@ namespace {
//
AliasAnalysis::~AliasAnalysis() {}
-// canBasicBlockModify - Return true if it is possible for execution of the
-// specified basic block to modify the value pointed to by Ptr.
-//
+/// canBasicBlockModify - Return true if it is possible for execution of the
+/// specified basic block to modify the value pointed to by Ptr.
+///
bool AliasAnalysis::canBasicBlockModify(const BasicBlock &bb,
const Value *Ptr) const {
CanModify CM(this, Ptr);
@@ -78,11 +77,11 @@ bool AliasAnalysis::canBasicBlockModify(const BasicBlock &bb,
return false;
}
-// canInstructionRangeModify - Return true if it is possible for the execution
-// of the specified instructions to modify the value pointed to by Ptr. The
-// instructions to consider are all of the instructions in the range of [I1,I2]
-// INCLUSIVE. I1 and I2 must be in the same basic block.
-//
+/// canInstructionRangeModify - Return true if it is possible for the execution
+/// of the specified instructions to modify the value pointed to by Ptr. The
+/// instructions to consider are all of the instructions in the range of [I1,I2]
+/// INCLUSIVE. I1 and I2 must be in the same basic block.
+///
bool AliasAnalysis::canInstructionRangeModify(const Instruction &I1,
const Instruction &I2,
const Value *Ptr) const {