Home
last modified time | relevance | path

Searched refs:HVecReduce (Results 1 – 9 of 9) sorted by relevance

/art/compiler/optimizing/
Dnodes_vector_test.cc392 HVecReduce* v1 = new (GetAllocator()) HVecReduce( in TEST_F()
393 GetAllocator(), v0, DataType::Type::kInt32, 4, HVecReduce::kSum, kNoDexPc); in TEST_F()
394 HVecReduce* v2 = new (GetAllocator()) HVecReduce( in TEST_F()
395 GetAllocator(), v0, DataType::Type::kInt32, 4, HVecReduce::kMin, kNoDexPc); in TEST_F()
396 HVecReduce* v3 = new (GetAllocator()) HVecReduce( in TEST_F()
397 GetAllocator(), v0, DataType::Type::kInt32, 4, HVecReduce::kMax, kNoDexPc); in TEST_F()
404 EXPECT_EQ(HVecReduce::kSum, v1->GetReductionKind()); in TEST_F()
405 EXPECT_EQ(HVecReduce::kMin, v2->GetReductionKind()); in TEST_F()
406 EXPECT_EQ(HVecReduce::kMax, v3->GetReductionKind()); in TEST_F()
Dcode_generator_vector_x86_64.cc188 void LocationsBuilderX86_64::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
192 instruction->GetReductionKind() == HVecReduce::kMin || in VisitVecReduce()
193 instruction->GetReductionKind() == HVecReduce::kMax) { in VisitVecReduce()
198 void InstructionCodeGeneratorX86_64::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
206 case HVecReduce::kSum: in VisitVecReduce()
211 case HVecReduce::kMin: in VisitVecReduce()
212 case HVecReduce::kMax: in VisitVecReduce()
222 case HVecReduce::kSum: in VisitVecReduce()
228 case HVecReduce::kMin: in VisitVecReduce()
229 case HVecReduce::kMax: in VisitVecReduce()
Dcode_generator_vector_x86.cc205 void LocationsBuilderX86::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
209 instruction->GetReductionKind() == HVecReduce::kMin || in VisitVecReduce()
210 instruction->GetReductionKind() == HVecReduce::kMax) { in VisitVecReduce()
215 void InstructionCodeGeneratorX86::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
223 case HVecReduce::kSum: in VisitVecReduce()
228 case HVecReduce::kMin: in VisitVecReduce()
229 case HVecReduce::kMax: in VisitVecReduce()
239 case HVecReduce::kSum: in VisitVecReduce()
245 case HVecReduce::kMin: in VisitVecReduce()
246 case HVecReduce::kMax: in VisitVecReduce()
Dcode_generator_vector_arm_vixl.cc130 void LocationsBuilderARMVIXL::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
134 void InstructionCodeGeneratorARMVIXL::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
142 case HVecReduce::kSum: in VisitVecReduce()
145 case HVecReduce::kMin: in VisitVecReduce()
148 case HVecReduce::kMax: in VisitVecReduce()
Dscheduler_arm64.cc222 void SchedulingLatencyVisitorARM64::VisitVecReduce(HVecReduce* instr) { in VisitVecReduce()
Dcode_generator_vector_arm64_sve.cc216 void LocationsBuilderARM64Sve::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
220 void InstructionCodeGeneratorARM64Sve::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
228 case HVecReduce::kSum: in VisitVecReduce()
231 case HVecReduce::kMin: in VisitVecReduce()
234 case HVecReduce::kMax: in VisitVecReduce()
242 case HVecReduce::kSum: in VisitVecReduce()
Dcode_generator_vector_arm64_neon.cc216 void LocationsBuilderARM64Neon::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
220 void InstructionCodeGeneratorARM64Neon::VisitVecReduce(HVecReduce* instruction) { in VisitVecReduce()
228 case HVecReduce::kSum: in VisitVecReduce()
231 case HVecReduce::kMin: in VisitVecReduce()
234 case HVecReduce::kMax: in VisitVecReduce()
242 case HVecReduce::kSum: in VisitVecReduce()
Dnodes_vector.h434 class HVecReduce final : public HVecUnaryOperation {
442 HVecReduce(ArenaAllocator* allocator, in HVecReduce() function
459 const HVecReduce* o = other->AsVecReduce(); in InstructionDataEquals()
Dloop_optimization.cc353 static HVecReduce::ReductionKind GetReductionKind(HVecOperation* reduction) { in GetReductionKind()
358 return HVecReduce::kSum; in GetReductionKind()
1805 HVecReduce::ReductionKind kind = GetReductionKind(red_vector); in GenerateVecReductionPhiInputs()
1808 if (kind == HVecReduce::ReductionKind::kSum) { in GenerateVecReductionPhiInputs()
1843 HVecReduce::ReductionKind kind = GetReductionKind(input_vector); in ReduceAndExtractIfNeeded()
1849 HInstruction* reduce = new (global_allocator_) HVecReduce( in ReduceAndExtractIfNeeded()