diff options
author | Dan Gohman <gohman@apple.com> | 2009-05-08 20:26:55 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-05-08 20:26:55 +0000 |
commit | 26466c0eb3451c5c953b3cca8940359152c4f8e3 (patch) | |
tree | 4d4994cf7d0a4eb34645602e441233e541f00d9e /include | |
parent | 185cf0395c9d7d72ea12ce4d316a6cb2eab9115e (diff) | |
download | external_llvm-26466c0eb3451c5c953b3cca8940359152c4f8e3.zip external_llvm-26466c0eb3451c5c953b3cca8940359152c4f8e3.tar.gz external_llvm-26466c0eb3451c5c953b3cca8940359152c4f8e3.tar.bz2 |
Factor out the code for creating SCEVs for GEPs into a
separate function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/ScalarEvolution.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index fb22fd4..9649022 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -279,6 +279,10 @@ namespace llvm { /// SCEVs. SCEVHandle createNodeForPHI(PHINode *PN); + /// createNodeForGEP - Provide the special handling we need to analyze GEP + /// SCEVs. + SCEVHandle createNodeForGEP(GetElementPtrInst *GEP); + /// ReplaceSymbolicValueWithConcrete - This looks up the computed SCEV value /// for the specified instruction and replaces any references to the /// symbolic value SymName with the specified value. This is used during |