aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-11-01 23:50:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-11-01 23:50:04 +0000
commitf57b1baa441e3bbce7f264d8bb5054e50fe8ee1c (patch)
tree94b19cfc74b5db489a2143b3180459f4e374f7c4 /include
parentf4e748bc3f7090468f7b7e5b6e2ebe323c1e16fd (diff)
downloadexternal_llvm-f57b1baa441e3bbce7f264d8bb5054e50fe8ee1c.zip
external_llvm-f57b1baa441e3bbce7f264d8bb5054e50fe8ee1c.tar.gz
external_llvm-f57b1baa441e3bbce7f264d8bb5054e50fe8ee1c.tar.bz2
Add PseudoSourceValue::mayAlias. It returns true if the object can ever alias any LLVM IR value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/PseudoSourceValue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/PseudoSourceValue.h b/include/llvm/CodeGen/PseudoSourceValue.h
index 7a9122d..26392f5 100644
--- a/include/llvm/CodeGen/PseudoSourceValue.h
+++ b/include/llvm/CodeGen/PseudoSourceValue.h
@@ -43,6 +43,10 @@ namespace llvm {
/// PseudoSourceValue may also be pointed to by an LLVM IR Value.
virtual bool isAliased(const MachineFrameInfo *) const;
+ /// mayAlias - Return true if the memory pointed to by this
+ /// PseudoSourceValue can ever alias a LLVM IR Value.
+ virtual bool mayAlias(const MachineFrameInfo *) const;
+
/// classof - Methods for support type inquiry through isa, cast, and
/// dyn_cast:
///