Lines Matching refs:allocator
359 ArenaAllocator* allocator, in BuildSSAGraph1() argument
363 HBasicBlock* entry = new (allocator) HBasicBlock(graph); in BuildSSAGraph1()
366 HInstruction* parameter = new (allocator) HParameterValue( in BuildSSAGraph1()
374 HBasicBlock* block = new (allocator) HBasicBlock(graph); in BuildSSAGraph1()
377 block->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph1()
379 HBasicBlock* loop_header = new (allocator) HBasicBlock(graph); in BuildSSAGraph1()
380 HBasicBlock* loop_body = new (allocator) HBasicBlock(graph); in BuildSSAGraph1()
381 HBasicBlock* exit = new (allocator) HBasicBlock(graph); in BuildSSAGraph1()
391 HPhi* phi = new (allocator) HPhi(allocator, 0, 0, DataType::Type::kInt32); in BuildSSAGraph1()
392 HInstruction* null_check = new (allocator) HNullCheck(parameter, 0); in BuildSSAGraph1()
393 HInstruction* array_length = new (allocator) HArrayLength(null_check, 0); in BuildSSAGraph1()
396 cmp = new (allocator) HGreaterThanOrEqual(phi, array_length); in BuildSSAGraph1()
399 cmp = new (allocator) HGreaterThan(phi, array_length); in BuildSSAGraph1()
401 HInstruction* if_inst = new (allocator) HIf(cmp); in BuildSSAGraph1()
409 null_check = new (allocator) HNullCheck(parameter, 0); in BuildSSAGraph1()
410 array_length = new (allocator) HArrayLength(null_check, 0); in BuildSSAGraph1()
411 HInstruction* bounds_check = new (allocator) HBoundsCheck(phi, array_length, 0); in BuildSSAGraph1()
412 HInstruction* array_set = new (allocator) HArraySet( in BuildSSAGraph1()
415 HInstruction* add = new (allocator) HAdd(DataType::Type::kInt32, phi, constant_increment); in BuildSSAGraph1()
421 loop_body->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph1()
424 exit->AddInstruction(new (allocator) HExit()); in BuildSSAGraph1()
474 ArenaAllocator* allocator, in BuildSSAGraph2() argument
478 HBasicBlock* entry = new (allocator) HBasicBlock(graph); in BuildSSAGraph2()
481 HInstruction* parameter = new (allocator) HParameterValue( in BuildSSAGraph2()
490 HBasicBlock* block = new (allocator) HBasicBlock(graph); in BuildSSAGraph2()
493 HInstruction* null_check = new (allocator) HNullCheck(parameter, 0); in BuildSSAGraph2()
494 HInstruction* array_length = new (allocator) HArrayLength(null_check, 0); in BuildSSAGraph2()
497 block->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph2()
499 HBasicBlock* loop_header = new (allocator) HBasicBlock(graph); in BuildSSAGraph2()
500 HBasicBlock* loop_body = new (allocator) HBasicBlock(graph); in BuildSSAGraph2()
501 HBasicBlock* exit = new (allocator) HBasicBlock(graph); in BuildSSAGraph2()
511 HPhi* phi = new (allocator) HPhi(allocator, 0, 0, DataType::Type::kInt32); in BuildSSAGraph2()
514 cmp = new (allocator) HLessThanOrEqual(phi, constant_initial); in BuildSSAGraph2()
517 cmp = new (allocator) HLessThan(phi, constant_initial); in BuildSSAGraph2()
519 HInstruction* if_inst = new (allocator) HIf(cmp); in BuildSSAGraph2()
525 HInstruction* add = new (allocator) HAdd(DataType::Type::kInt32, phi, constant_minus_1); in BuildSSAGraph2()
526 null_check = new (allocator) HNullCheck(parameter, 0); in BuildSSAGraph2()
527 array_length = new (allocator) HArrayLength(null_check, 0); in BuildSSAGraph2()
528 HInstruction* bounds_check = new (allocator) HBoundsCheck(add, array_length, 0); in BuildSSAGraph2()
529 HInstruction* array_set = new (allocator) HArraySet( in BuildSSAGraph2()
531 HInstruction* add_phi = new (allocator) HAdd(DataType::Type::kInt32, phi, constant_increment); in BuildSSAGraph2()
538 loop_body->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph2()
541 exit->AddInstruction(new (allocator) HExit()); in BuildSSAGraph2()
584 ArenaAllocator* allocator, in BuildSSAGraph3() argument
588 HBasicBlock* entry = new (allocator) HBasicBlock(graph); in BuildSSAGraph3()
596 HBasicBlock* block = new (allocator) HBasicBlock(graph); in BuildSSAGraph3()
600 HInstruction* new_array = new (allocator) HNewArray( in BuildSSAGraph3()
606 block->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph3()
608 HBasicBlock* loop_header = new (allocator) HBasicBlock(graph); in BuildSSAGraph3()
609 HBasicBlock* loop_body = new (allocator) HBasicBlock(graph); in BuildSSAGraph3()
610 HBasicBlock* exit = new (allocator) HBasicBlock(graph); in BuildSSAGraph3()
620 HPhi* phi = new (allocator) HPhi(allocator, 0, 0, DataType::Type::kInt32); in BuildSSAGraph3()
623 cmp = new (allocator) HGreaterThanOrEqual(phi, constant_10); in BuildSSAGraph3()
626 cmp = new (allocator) HGreaterThan(phi, constant_10); in BuildSSAGraph3()
628 HInstruction* if_inst = new (allocator) HIf(cmp); in BuildSSAGraph3()
634 HNullCheck* null_check = new (allocator) HNullCheck(new_array, 0); in BuildSSAGraph3()
635 HArrayLength* array_length = new (allocator) HArrayLength(null_check, 0); in BuildSSAGraph3()
636 HInstruction* bounds_check = new (allocator) HBoundsCheck(phi, array_length, 0); in BuildSSAGraph3()
637 HInstruction* array_set = new (allocator) HArraySet( in BuildSSAGraph3()
639 HInstruction* add = new (allocator) HAdd(DataType::Type::kInt32, phi, constant_increment); in BuildSSAGraph3()
645 loop_body->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph3()
648 exit->AddInstruction(new (allocator) HExit()); in BuildSSAGraph3()
687 ArenaAllocator* allocator, in BuildSSAGraph4() argument
690 HBasicBlock* entry = new (allocator) HBasicBlock(graph); in BuildSSAGraph4()
693 HInstruction* parameter = new (allocator) HParameterValue( in BuildSSAGraph4()
702 HBasicBlock* block = new (allocator) HBasicBlock(graph); in BuildSSAGraph4()
705 block->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph4()
707 HBasicBlock* loop_header = new (allocator) HBasicBlock(graph); in BuildSSAGraph4()
708 HBasicBlock* loop_body = new (allocator) HBasicBlock(graph); in BuildSSAGraph4()
709 HBasicBlock* exit = new (allocator) HBasicBlock(graph); in BuildSSAGraph4()
719 HPhi* phi = new (allocator) HPhi(allocator, 0, 0, DataType::Type::kInt32); in BuildSSAGraph4()
720 HInstruction* null_check = new (allocator) HNullCheck(parameter, 0); in BuildSSAGraph4()
721 HInstruction* array_length = new (allocator) HArrayLength(null_check, 0); in BuildSSAGraph4()
724 cmp = new (allocator) HGreaterThanOrEqual(phi, array_length); in BuildSSAGraph4()
726 cmp = new (allocator) HGreaterThan(phi, array_length); in BuildSSAGraph4()
728 HInstruction* if_inst = new (allocator) HIf(cmp); in BuildSSAGraph4()
736 null_check = new (allocator) HNullCheck(parameter, 0); in BuildSSAGraph4()
737 array_length = new (allocator) HArrayLength(null_check, 0); in BuildSSAGraph4()
738 HInstruction* sub = new (allocator) HSub(DataType::Type::kInt32, array_length, phi); in BuildSSAGraph4()
739 HInstruction* add_minus_1 = new (allocator) in BuildSSAGraph4()
741 HInstruction* bounds_check = new (allocator) HBoundsCheck(add_minus_1, array_length, 0); in BuildSSAGraph4()
742 HInstruction* array_set = new (allocator) HArraySet( in BuildSSAGraph4()
744 HInstruction* add = new (allocator) HAdd(DataType::Type::kInt32, phi, constant_1); in BuildSSAGraph4()
752 loop_body->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph4()
755 exit->AddInstruction(new (allocator) HExit()); in BuildSSAGraph4()