Home | History | Annotate | Download | only in optimizing

Lines Matching defs:Add

234   // Add a constant to a ValueBound.
237 ValueBound Add(int32_t c, /* out */ bool* overflow, /* out */ bool* underflow) const {
284 * comparisons related to array bounds, array bounds check, add/sub on top
335 ValueRange* Add(int32_t constant) const {
337 ValueBound lower = lower_.Add(constant, &overflow, &underflow);
343 ValueBound upper = upper_.Add(constant, &overflow, &underflow);
673 right_range->GetBound().Add(left_compensation, &overflow, &underflow));
681 left_range->GetBound().Add(right_compensation, &overflow, &underflow),
748 ValueBound new_upper = upper.Add(compensation, &overflow, &underflow);
760 ValueBound new_lower = lower.Add(compensation, &overflow, &underflow);
772 ValueBound new_lower = lower.Add(compensation, &overflow, &underflow);
783 ValueBound new_upper = upper.Add(compensation, &overflow, &underflow);
903 // instruction has an associated HEnvironment where we may add an HDeoptimize
939 // Add constant 0. It's really a fixed value.
981 void VisitAdd(HAdd* add) OVERRIDE {
982 HInstruction* right = add->GetRight();
984 ValueRange* left_range = LookupValueRange(add->GetLeft(), add->GetBlock());
988 ValueRange* range = left_range->Add(right->AsIntConstant()->GetValue());
990 AssignRange(add->GetBlock(), add, range);
1003 ValueRange* range = left_range->Add(-right->AsIntConstant()->GetValue());
1264 // Add this candidate later only if it falls into the range.
1270 // Add standby candidates that fall in selected range.
1370 // add this candidate later only if it falls into the range.
1381 // Add standby candidates that fall in selected range.