[llvm-commits] CVS: llvm/include/llvm/Analysis/AliasAnalysis.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Dec 17 09:03:09 PST 2004
Changes in directory llvm/include/llvm/Analysis:
AliasAnalysis.h updated: 1.18 -> 1.19
---
Log message:
Make code fit in 80 cols
---
Diffs of the changes: (+3 -2)
Index: llvm/include/llvm/Analysis/AliasAnalysis.h
diff -u llvm/include/llvm/Analysis/AliasAnalysis.h:1.18 llvm/include/llvm/Analysis/AliasAnalysis.h:1.19
--- llvm/include/llvm/Analysis/AliasAnalysis.h:1.18 Wed Dec 15 01:21:39 2004
+++ llvm/include/llvm/Analysis/AliasAnalysis.h Fri Dec 17 11:02:54 2004
@@ -185,7 +185,7 @@
/// called from the specified call site. The call site may be null in which
/// case the most generic behavior of this function should be returned.
virtual ModRefBehavior getModRefBehavior(Function *F, CallSite CS,
- std::vector<PointerAccessInfo> *Info = 0);
+ std::vector<PointerAccessInfo> *Info = 0);
/// doesNotAccessMemory - If the specified function is known to never read or
/// write memory, return true. If the function only reads from known-constant
@@ -212,7 +212,8 @@
/// This property corresponds to the GCC 'pure' attribute.
///
bool onlyReadsMemory(Function *F) {
- /// FIXME: If the analysis returns more precise info, we can reduce it to this.
+ /// FIXME: If the analysis returns more precise info, we can reduce it to
+ /// this.
return getModRefBehavior(F, CallSite()) == OnlyReadsMemory;
}
More information about the llvm-commits
mailing list