Add a new pass "inductive range check elimination"
[oota-llvm.git] / include / llvm / Transforms / Scalar.h
index 5dcd899487598ad1d127031ab416d6d1495dacbc..83158596a214c9fbcd9422d83140ff8ffe080223 100644 (file)
@@ -96,6 +96,13 @@ FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
                                              signed ArrayElementThreshold = -1,
                                              signed ScalarLoadThreshold = -1);
 
+//===----------------------------------------------------------------------===//
+//
+// InductiveRangeCheckElimination - Transform loops to elide range checks on
+// linear functions of the induction variable.
+//
+Pass *createInductiveRangeCheckEliminationPass();
+
 //===----------------------------------------------------------------------===//
 //
 // InductionVariableSimplify - Transform induction variables in a program to all