summaryrefslogtreecommitdiff
path: root/compiler/optimizing/induction_var_analysis.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2016-10-20 22:50:12 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-10-20 22:50:12 +0000
commita8188191477b7b5b01a3c4426c51c48cd55f6678 (patch)
tree794ab1f6abf125263589acc037f01e8ba97004ef /compiler/optimizing/induction_var_analysis.h
parent6494dae35b15cc5b771daa7871e4621e6dec1744 (diff)
parent639cc8c7bbb7d8c341173bcf24604ccb4328acb8 (diff)
Merge "Improve recognition of select-based period induction."
Diffstat (limited to 'compiler/optimizing/induction_var_analysis.h')
-rw-r--r--compiler/optimizing/induction_var_analysis.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/optimizing/induction_var_analysis.h b/compiler/optimizing/induction_var_analysis.h
index 06aee31b88..d19078248c 100644
--- a/compiler/optimizing/induction_var_analysis.h
+++ b/compiler/optimizing/induction_var_analysis.h
@@ -177,8 +177,11 @@ class HInductionVarAnalysis : public HOptimization {
HInstruction* entry_phi,
HInstruction* instruction,
HInstruction* x,
- HInstruction* y,
- bool is_first_call); // possibly swaps x and y to try again
+ HInstruction* y);
+ InductionInfo* SolveTest(HLoopInformation* loop,
+ HInstruction* entry_phi,
+ HInstruction* instruction,
+ int64_t oppositive_value);
InductionInfo* SolveCnv(HTypeConversion* conversion);
// Trip count information.