Home
last modified time | relevance | path

Searched refs:is_min (Results 1 – 10 of 10) sorted by relevance

/art/compiler/optimizing/
Dinduction_var_range.cc526 bool is_min) const { in GetLinear()
538 if (!is_min && stride_value == 1) { in GetLinear()
549 return GetVal(&cancelled_trip, trip, in_body, is_min); in GetLinear()
551 } else if (is_min && stride_value == -1) { in GetLinear()
564 return SubValue(Value(0), GetVal(&cancelled_trip, trip, in_body, !is_min)); in GetLinear()
571 return AddValue(GetMul(info->op_a, trip, trip, in_body, is_min), in GetLinear()
572 GetVal(info->op_b, trip, in_body, is_min)); in GetLinear()
578 bool is_min) const { in GetPolynomial()
587 Value c = GetVal(info->op_b, trip, in_body, is_min); in GetPolynomial()
588 if (is_min) { in GetPolynomial()
[all …]
Dinduction_var_range.h235 bool is_min) const;
239 bool is_min) const;
243 bool is_min) const;
247 bool is_min) const;
251 bool is_min) const;
256 bool is_min) const;
261 bool is_min) const;
271 bool is_min) const;
276 bool is_min) const;
282 Value MergeVal(Value v1, Value v2, bool is_min) const;
[all …]
Dcode_generator_arm_vixl.h384 void GenerateMinMaxInt(LocationSummary* locations, bool is_min);
385 void GenerateMinMaxLong(LocationSummary* locations, bool is_min);
386 void GenerateMinMaxFloat(HInstruction* minmax, bool is_min);
387 void GenerateMinMaxDouble(HInstruction* minmax, bool is_min);
388 void GenerateMinMax(HBinaryOperation* minmax, bool is_min);
Dcode_generator_x86_64.h256 void GenerateMinMaxInt(LocationSummary* locations, bool is_min, DataType::Type type);
257 void GenerateMinMaxFP(LocationSummary* locations, bool is_min, DataType::Type type);
258 void GenerateMinMax(HBinaryOperation* minmax, bool is_min);
Dcode_generator_x86.h276 void GenerateMinMaxInt(LocationSummary* locations, bool is_min, DataType::Type type);
277 void GenerateMinMaxFP(LocationSummary* locations, bool is_min, DataType::Type type);
278 void GenerateMinMax(HBinaryOperation* minmax, bool is_min);
Dinduction_var_range_test.cc265 bool is_min) { in GetMul() argument
266 return range_.GetMul(info1, info2, nullptr, /* in_body= */ true, is_min); in GetMul()
271 bool is_min) { in GetDiv() argument
272 return range_.GetDiv(info1, info2, nullptr, /* in_body= */ true, is_min); in GetDiv()
Dcode_generator_arm_vixl.cc4734 void InstructionCodeGeneratorARMVIXL::GenerateMinMaxInt(LocationSummary* locations, bool is_min) { in GenerateMinMaxInt() argument
4750 __ ite(is_min ? lt : gt); in GenerateMinMaxInt()
4751 __ mov(is_min ? lt : gt, out, op1); in GenerateMinMaxInt()
4752 __ mov(is_min ? ge : le, out, op2); in GenerateMinMaxInt()
4756 void InstructionCodeGeneratorARMVIXL::GenerateMinMaxLong(LocationSummary* locations, bool is_min) { in GenerateMinMaxLong() argument
4785 vixl32::ConditionType cond = is_min ? ge : lt; in GenerateMinMaxLong()
4795 void InstructionCodeGeneratorARMVIXL::GenerateMinMaxFloat(HInstruction* minmax, bool is_min) { in GenerateMinMaxFloat() argument
4824 vixl32::ConditionType cond = is_min ? gt : lt; in GenerateMinMaxFloat()
4838 if (is_min) { in GenerateMinMaxFloat()
4856 void InstructionCodeGeneratorARMVIXL::GenerateMinMaxDouble(HInstruction* minmax, bool is_min) { in GenerateMinMaxDouble() argument
[all …]
Dinstruction_simplifier.cc890 bool is_min) { in NewIntegralMinMax() argument
894 if (is_min) { in NewIntegralMinMax()
1067 bool is_min = (cmp == kCondLT || cmp == kCondLE) == (a == true_value); in VisitSelect() local
1068 replace_with = NewIntegralMinMax(GetGraph()->GetAllocator(), a, b, select, is_min); in VisitSelect()
Dcode_generator_x86_64.cc4282 bool is_min, in GenerateMinMaxInt() argument
4307 __ cmov(is_min ? Condition::kGreater : Condition::kLess, out, op2, /*is64bit*/ true); in GenerateMinMaxInt()
4311 __ cmov(is_min ? Condition::kGreater : Condition::kLess, out, op2, /*is64bit*/ false); in GenerateMinMaxInt()
4316 bool is_min, in GenerateMinMaxFP() argument
4358 __ j(is_min ? Condition::kAbove : Condition::kBelow, &op2_label); in GenerateMinMaxFP()
4359 __ j(is_min ? Condition::kBelow : Condition::kAbove, &done); in GenerateMinMaxFP()
4362 if (is_min) { in GenerateMinMaxFP()
4398 void InstructionCodeGeneratorX86_64::GenerateMinMax(HBinaryOperation* minmax, bool is_min) { in GenerateMinMax() argument
4403 GenerateMinMaxInt(minmax->GetLocations(), is_min, type); in GenerateMinMax()
4407 GenerateMinMaxFP(minmax->GetLocations(), is_min, type); in GenerateMinMax()
Dcode_generator_x86.cc4245 bool is_min, in GenerateMinMaxInt() argument
4280 Condition cond = is_min ? Condition::kGreaterEqual : Condition::kLess; in GenerateMinMaxInt()
4295 Condition cond = is_min ? Condition::kGreater : Condition::kLess; in GenerateMinMaxInt()
4301 bool is_min, in GenerateMinMaxFP() argument
4343 __ j(is_min ? Condition::kAbove : Condition::kBelow, &op2_label); in GenerateMinMaxFP()
4344 __ j(is_min ? Condition::kBelow : Condition::kAbove, &done); in GenerateMinMaxFP()
4347 if (is_min) { in GenerateMinMaxFP()
4386 void InstructionCodeGeneratorX86::GenerateMinMax(HBinaryOperation* minmax, bool is_min) { in GenerateMinMax() argument
4391 GenerateMinMaxInt(minmax->GetLocations(), is_min, type); in GenerateMinMax()
4395 GenerateMinMaxFP(minmax->GetLocations(), is_min, type); in GenerateMinMax()