Lines Matching refs:Range
5 #include "src/crankshaft/hydrogen-range-analysis.h"
41 // Infer range based on control flow.
131 // We know that value [op] other. Use this information to update the range on
136 Range temp_range;
137 Range* range = other->range() != NULL ? other->range() : &temp_range;
138 Range* new_range = NULL;
140 TraceRange("Control flow range infer %d %s %d\n",
146 // The same range has to apply for value.
147 new_range = range->Copy(graph()->zone());
149 new_range = range->CopyClearLower(graph()->zone());
154 new_range = range->CopyClearUpper(graph()->zone());
170 Range* range = value->range();
171 TraceRange("Initial inferred range of %d (%s) set to [%d,%d]\n",
174 range->lower(),
175 range->upper());
189 void HRangeAnalysisPhase::AddRange(HValue* value, Range* range) {
190 Range* original_range = value->range();
191 value->AddNewRange(range, graph()->zone());
193 Range* new_range = value->range();
194 TraceRange("Updated range of %d set to [%d,%d]\n",
199 TraceRange("Original range was [%d,%d]\n",
204 range->lower(),
205 range->upper());
227 if (instr->value()->range() == NULL ||
228 instr->value()->range()->CanBeMinusZero()) {
241 (instr->value()->range() == NULL ||
242 instr->value()->range()->CanBeMinusZero())) {
250 if (instr->range() == NULL || instr->range()->CanBeMinusZero()) {
256 if (instr->range() == NULL || instr->range()->CanBeMinusZero()) {
266 if (instr->range() == NULL || instr->range()->CanBeMinusZero()) {