diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-11-01 23:50:04 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-11-01 23:50:04 +0000 |
commit | f57b1baa441e3bbce7f264d8bb5054e50fe8ee1c (patch) | |
tree | 94b19cfc74b5db489a2143b3180459f4e374f7c4 /include | |
parent | f4e748bc3f7090468f7b7e5b6e2ebe323c1e16fd (diff) | |
download | external_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.h | 4 |
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: /// |