projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enhance GVN to do more precise alias queries for non-local memory
[oota-llvm.git]
/
include
/
llvm
/
Analysis
/
AliasAnalysis.h
diff --git
a/include/llvm/Analysis/AliasAnalysis.h
b/include/llvm/Analysis/AliasAnalysis.h
index 17abae4eb9082f8426a33c84abf94b017936f779..302204e41b2de1f2d694a0be1c5348a455fdb00b 100644
(file)
--- a/
include/llvm/Analysis/AliasAnalysis.h
+++ b/
include/llvm/Analysis/AliasAnalysis.h
@@
-107,6
+107,12
@@
public:
return Copy;
}
+ Location getWithNewSize(uint64_t NewSize) const {
+ Location Copy(*this);
+ Copy.Size = NewSize;
+ return Copy;
+ }
+
Location getWithoutTBAATag() const {
Location Copy(*this);
Copy.TBAATag = 0;