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.h382 void GenerateMinMaxInt(LocationSummary* locations, bool is_min);
383 void GenerateMinMaxLong(LocationSummary* locations, bool is_min);
384 void GenerateMinMaxFloat(HInstruction* minmax, bool is_min);
385 void GenerateMinMaxDouble(HInstruction* minmax, bool is_min);
386 void GenerateMinMax(HBinaryOperation* minmax, bool is_min);
Dcode_generator_x86.h257 void GenerateMinMaxInt(LocationSummary* locations, bool is_min, DataType::Type type);
258 void GenerateMinMaxFP(LocationSummary* locations, bool is_min, DataType::Type type);
259 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);
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.cc4688 void InstructionCodeGeneratorARMVIXL::GenerateMinMaxInt(LocationSummary* locations, bool is_min) { in GenerateMinMaxInt() argument
4704 __ ite(is_min ? lt : gt); in GenerateMinMaxInt()
4705 __ mov(is_min ? lt : gt, out, op1); in GenerateMinMaxInt()
4706 __ mov(is_min ? ge : le, out, op2); in GenerateMinMaxInt()
4710 void InstructionCodeGeneratorARMVIXL::GenerateMinMaxLong(LocationSummary* locations, bool is_min) { in GenerateMinMaxLong() argument
4739 vixl32::ConditionType cond = is_min ? ge : lt; in GenerateMinMaxLong()
4749 void InstructionCodeGeneratorARMVIXL::GenerateMinMaxFloat(HInstruction* minmax, bool is_min) { in GenerateMinMaxFloat() argument
4778 vixl32::ConditionType cond = is_min ? gt : lt; in GenerateMinMaxFloat()
4792 if (is_min) { in GenerateMinMaxFloat()
4810 void InstructionCodeGeneratorARMVIXL::GenerateMinMaxDouble(HInstruction* minmax, bool is_min) { in GenerateMinMaxDouble() argument
[all …]
Dinstruction_simplifier.cc862 bool is_min) { in NewIntegralMinMax() argument
866 if (is_min) { in NewIntegralMinMax()
978 bool is_min = (cmp == kCondLT || cmp == kCondLE) == (a == true_value); in VisitSelect() local
979 replace_with = NewIntegralMinMax(GetGraph()->GetAllocator(), a, b, select, is_min); in VisitSelect()
Dcode_generator_x86_64.cc4195 bool is_min, in GenerateMinMaxInt() argument
4220 __ cmov(is_min ? Condition::kGreater : Condition::kLess, out, op2, /*is64bit*/ true); in GenerateMinMaxInt()
4224 __ cmov(is_min ? Condition::kGreater : Condition::kLess, out, op2, /*is64bit*/ false); in GenerateMinMaxInt()
4229 bool is_min, in GenerateMinMaxFP() argument
4271 __ j(is_min ? Condition::kAbove : Condition::kBelow, &op2_label); in GenerateMinMaxFP()
4272 __ j(is_min ? Condition::kBelow : Condition::kAbove, &done); in GenerateMinMaxFP()
4275 if (is_min) { in GenerateMinMaxFP()
4311 void InstructionCodeGeneratorX86_64::GenerateMinMax(HBinaryOperation* minmax, bool is_min) { in GenerateMinMax() argument
4316 GenerateMinMaxInt(minmax->GetLocations(), is_min, type); in GenerateMinMax()
4320 GenerateMinMaxFP(minmax->GetLocations(), is_min, type); in GenerateMinMax()
Dcode_generator_x86.cc4059 bool is_min, in GenerateMinMaxInt() argument
4094 Condition cond = is_min ? Condition::kGreaterEqual : Condition::kLess; in GenerateMinMaxInt()
4109 Condition cond = is_min ? Condition::kGreater : Condition::kLess; in GenerateMinMaxInt()
4115 bool is_min, in GenerateMinMaxFP() argument
4157 __ j(is_min ? Condition::kAbove : Condition::kBelow, &op2_label); in GenerateMinMaxFP()
4158 __ j(is_min ? Condition::kBelow : Condition::kAbove, &done); in GenerateMinMaxFP()
4161 if (is_min) { in GenerateMinMaxFP()
4200 void InstructionCodeGeneratorX86::GenerateMinMax(HBinaryOperation* minmax, bool is_min) { in GenerateMinMax() argument
4205 GenerateMinMaxInt(minmax->GetLocations(), is_min, type); in GenerateMinMax()
4209 GenerateMinMaxFP(minmax->GetLocations(), is_min, type); in GenerateMinMax()