Lines Matching refs:HInstruction

42     HInstruction* c1 = graph_->GetIntConstant(1);  in CreateEntryBlockInstructions()
43 HInstruction* c4 = graph_->GetIntConstant(4); in CreateEntryBlockInstructions()
71 HInstruction* c0 = graph_->GetIntConstant(0); in CreateTestControlFlowGraph()
72 HInstruction* c1 = graph_->GetIntConstant(1); in CreateTestControlFlowGraph()
73 HInstruction* c128 = graph_->GetIntConstant(128); in CreateTestControlFlowGraph()
89 HInstruction* inc_phi = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_, c1); in CreateTestControlFlowGraph()
90 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(phi_, c128); in CreateTestControlFlowGraph()
91 HInstruction* hif = new (GetAllocator()) HIf(cmp); in CreateTestControlFlowGraph()
102 ArenaVector<HInstruction*> current_locals({array_, i_, j_}, in CreateEnvForSuspendCheck()
129 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(i_, j_); in CreateDiamondShapedCFG()
130 HInstruction* hif = new (GetAllocator()) HIf(cmp); in CreateDiamondShapedCFG()
143 HInstruction* AddVecLoad(HBasicBlock* block, HInstruction* array, HInstruction* index) { in AddVecLoad()
147 HInstruction* vload = new (GetAllocator()) HVecLoad( in AddVecLoad()
164 HInstruction* AddVecStore(HBasicBlock* block, in AddVecStore()
165 HInstruction* array, in AddVecStore()
166 HInstruction* index, in AddVecStore()
167 HInstruction* vdata = nullptr) { in AddVecStore()
172 HInstruction* c1 = graph_->GetIntConstant(1); in AddVecStore()
180 HInstruction* vstore = new (GetAllocator()) HVecStore( in AddVecStore()
196 HInstruction* AddArrayGet(HBasicBlock* block, HInstruction* array, HInstruction* index) { in AddArrayGet()
200 HInstruction* get = new (GetAllocator()) HArrayGet(array, index, DataType::Type::kInt32, 0); in AddArrayGet()
209 HInstruction* AddArraySet(HBasicBlock* block, in AddArraySet()
210 HInstruction* array, in AddArraySet()
211 HInstruction* index, in AddArraySet()
212 HInstruction* data = nullptr) { in AddArraySet()
219 HInstruction* store = new (GetAllocator()) HArraySet(array, in AddArraySet()
250 HInstruction* array_;
251 HInstruction* i_;
252 HInstruction* j_;
253 HInstruction* i_add1_;
254 HInstruction* i_add4_;
255 HInstruction* suspend_check_;
263 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
264 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
265 HInstruction* c3 = graph_->GetIntConstant(3); in TEST_F()
274 HInstruction* load1 = AddArrayGet(entry_block_, array_, c1); in TEST_F()
275 HInstruction* load2 = AddArrayGet(entry_block_, array_, c2); in TEST_F()
276 HInstruction* store1 = AddArraySet(entry_block_, array_, c1, c1); in TEST_F()
278 HInstruction* store2 = AddArraySet(entry_block_, array_, c1, c1); in TEST_F()
291 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
292 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
301 HInstruction* store1 = AddArraySet(entry_block_, array_, c1, c1); in TEST_F()
302 HInstruction* store2 = AddArraySet(entry_block_, array_, c1, c2); in TEST_F()
320 HInstruction* vstore = AddVecStore(entry_block_, array_, i_); in TEST_F()
335 HInstruction* vstore = AddVecStore(entry_block_, array_, i_); in TEST_F()
345 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
353 HInstruction* load1 = AddArrayGet(entry_block_, array_, i_); in TEST_F()
355 HInstruction* load2 = AddArrayGet(entry_block_, array_, i_); in TEST_F()
367 HInstruction* vload1 = AddVecLoad(entry_block_, array_, i_); in TEST_F()
368 HInstruction* vload2 = AddVecLoad(entry_block_, array_, i_add4_); in TEST_F()
370 HInstruction* vload3 = AddVecLoad(entry_block_, array_, i_); in TEST_F()
371 HInstruction* vload4 = AddVecLoad(entry_block_, array_, i_add4_); in TEST_F()
379 HInstruction* vload5 = AddVecLoad(entry_block_, array_, i_); in TEST_F()
402 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
412 HInstruction* array_set = AddArraySet(return_block_, array_, j_, c1); in TEST_F()
431 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
432 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
434 HInstruction* array_b = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
445 HInstruction* vload = AddVecLoad(loop_, array_, phi_); in TEST_F()
449 HInstruction* a_set = AddArraySet(return_block_, array_, j_, c0); in TEST_F()
469 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
470 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
472 HInstruction* array_b = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
483 HInstruction* vload = AddVecLoad(loop_, array_, phi_); in TEST_F()
487 HInstruction* load = AddArrayGet(return_block_, array_, j_); in TEST_F()
517 HInstruction* vstore1 = AddVecStore(upper, array_, i_); in TEST_F()
518 HInstruction* vdata = vstore1->InputAt(2); in TEST_F()
521 HInstruction* vstore2 = AddVecStore(left, array_, i_, vdata); in TEST_F()
524 HInstruction* vstore3 = AddVecStore(right, array_, i_add1_, vdata); in TEST_F()
527 HInstruction* vstore4 = AddVecStore(down, array_, i_, vdata); in TEST_F()
561 HInstruction* store1 = AddArraySet(left, array_, i_); in TEST_F()
564 HInstruction* store2 = AddArraySet(right, array_, i_add1_); in TEST_F()
567 HInstruction* store3 = AddArraySet(down, array_, i_); in TEST_F()
591 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
592 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
594 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
598 HInstruction* array_b = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
607 HInstruction* vstore1 = AddVecStore(loop_, array_a, phi_); in TEST_F()
608 HInstruction* vload = AddVecLoad(loop_, array_a, phi_); in TEST_F()
610 HInstruction* vstore3 = AddVecStore(loop_, array_a, phi_, vstore1->InputAt(2)); in TEST_F()
625 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
626 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
627 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
635 HInstruction* array_b = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
639 HInstruction* load = AddArrayGet(loop_, array_, phi_); in TEST_F()
642 HInstruction* store = AddArraySet(return_block_, array_, c0, c2); in TEST_F()
654 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
655 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
657 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
664 HInstruction* vload = AddVecLoad(loop_, array_a, phi_); in TEST_F()
665 HInstruction* vstore = AddVecStore(return_block_, array_, c0, vload->AsVecLoad()); in TEST_F()
678 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
679 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
681 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
687 HInstruction* vload = AddVecLoad(pre_header_, array_a, c0); in TEST_F()
688 HInstruction* vstore = AddVecStore(return_block_, array_, c0, vload->AsVecLoad()); in TEST_F()
701 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
702 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
704 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
711 HInstruction* load = AddArrayGet(loop_, array_a, phi_); in TEST_F()
712 HInstruction* store = AddArraySet(return_block_, array_, c0, load); in TEST_F()
725 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
726 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
728 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
734 HInstruction* load = AddArrayGet(pre_header_, array_a, c0); in TEST_F()
735 HInstruction* store = AddArraySet(return_block_, array_, c0, load); in TEST_F()
749 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
750 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
752 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
761 HInstruction* vload = AddVecLoad(loop_, array_a, phi_); in TEST_F()
762 HInstruction* load = AddArrayGet(loop_, array_a, phi_); in TEST_F()
763 HInstruction* vstore = AddVecStore(return_block_, array_, c0, vload->AsVecLoad()); in TEST_F()
764 HInstruction* store = AddArraySet(return_block_, array_, c0, load); in TEST_F()
780 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
781 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
783 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
791 HInstruction* vload = AddVecLoad(pre_header_, array_a, c0); in TEST_F()
792 HInstruction* load = AddArrayGet(pre_header_, array_a, c0); in TEST_F()
793 HInstruction* vstore = AddVecStore(return_block_, array_, c0, vload->AsVecLoad()); in TEST_F()
794 HInstruction* store = AddArraySet(return_block_, array_, c0, load); in TEST_F()
810 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
811 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
813 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
822 HInstruction* vload1 = AddVecLoad(loop_, array_a, phi_); in TEST_F()
823 HInstruction* vload2 = AddVecLoad(loop_, array_a, phi_); in TEST_F()
824 HInstruction* vstore1 = AddVecStore(return_block_, array_, c0, vload1->AsVecLoad()); in TEST_F()
825 HInstruction* vstore2 = AddVecStore(return_block_, array_, c128, vload2->AsVecLoad()); in TEST_F()
841 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
842 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
844 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
852 HInstruction* vload1 = AddVecLoad(pre_header_, array_a, c0); in TEST_F()
853 HInstruction* vload2 = AddVecLoad(pre_header_, array_a, c0); in TEST_F()
854 HInstruction* vstore1 = AddVecStore(return_block_, array_, c0, vload1->AsVecLoad()); in TEST_F()
855 HInstruction* vstore2 = AddVecStore(return_block_, array_, c128, vload2->AsVecLoad()); in TEST_F()