aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/ScalarEvolution.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-22 03:18:45 +0000
committerDan Gohman <gohman@apple.com>2009-06-22 03:18:45 +0000
commitf9a9a9928cc977970d9852292b1c139074ecf055 (patch)
tree33a5dba878bf020c2cb74aed81f275e18e466125 /include/llvm/Analysis/ScalarEvolution.h
parent2cf5f14f20ef0dc0d1ebddc45e11661df91f6ebf (diff)
downloadexternal_llvm-f9a9a9928cc977970d9852292b1c139074ecf055.zip
external_llvm-f9a9a9928cc977970d9852292b1c139074ecf055.tar.gz
external_llvm-f9a9a9928cc977970d9852292b1c139074ecf055.tar.bz2
Factor out code for computing umin and smin for SCEV expressions into
helper functions. Based on a patch by Nick Lewycky. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73869 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ScalarEvolution.h')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 37f25fc..8d5136c 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -494,6 +494,8 @@ namespace llvm {
SCEVHandle getSMaxExpr(SmallVectorImpl<SCEVHandle> &Operands);
SCEVHandle getUMaxExpr(const SCEVHandle &LHS, const SCEVHandle &RHS);
SCEVHandle getUMaxExpr(SmallVectorImpl<SCEVHandle> &Operands);
+ SCEVHandle getSMinExpr(const SCEVHandle &LHS, const SCEVHandle &RHS);
+ SCEVHandle getUMinExpr(const SCEVHandle &LHS, const SCEVHandle &RHS);
SCEVHandle getUnknown(Value *V);
SCEVHandle getCouldNotCompute();