aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-10-12 07:33:29 +0000
committerOwen Anderson <resistor@mac.com>2008-10-12 07:33:29 +0000
commit4b089929b4cfa4b3ca7ad6a79db5c60b73012755 (patch)
tree955b80b1a2d26f96954b95f280449176c4bafe9f /include/llvm/Analysis
parent36b708a3188cd02909d102c26ec6c251147890d7 (diff)
downloadexternal_llvm-4b089929b4cfa4b3ca7ad6a79db5c60b73012755.zip
external_llvm-4b089929b4cfa4b3ca7ad6a79db5c60b73012755.tar.gz
external_llvm-4b089929b4cfa4b3ca7ad6a79db5c60b73012755.tar.bz2
Make Escape Analysis work for any pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/EscapeAnalysis.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Analysis/EscapeAnalysis.h b/include/llvm/Analysis/EscapeAnalysis.h
index 0befb31..03012a8 100644
--- a/include/llvm/Analysis/EscapeAnalysis.h
+++ b/include/llvm/Analysis/EscapeAnalysis.h
@@ -50,8 +50,9 @@ public:
//===---------------------------------------------------------------------
// Client API
- /// escapes - returns true if the AllocationInst can escape.
- bool escapes(AllocationInst* A);
+ /// escapes - returns true if the value, which must have a pointer type,
+ /// can escape.
+ bool escapes(Value* A);
};
} // end llvm namespace