Lines Matching refs:GetAllocator

475   register_allocator.registers_array_ = GetAllocator()->AllocArray<size_t>(1);  in TEST_F()
492 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
495 HInstruction* parameter = new (GetAllocator()) HParameterValue( in BuildIfElseWithPhi()
499 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
503 HInstruction* test = new (GetAllocator()) HInstanceFieldGet(parameter, in BuildIfElseWithPhi()
513 block->AddInstruction(new (GetAllocator()) HIf(test)); in BuildIfElseWithPhi()
514 HBasicBlock* then = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
515 HBasicBlock* else_ = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
516 HBasicBlock* join = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
525 then->AddInstruction(new (GetAllocator()) HGoto()); in BuildIfElseWithPhi()
526 else_->AddInstruction(new (GetAllocator()) HGoto()); in BuildIfElseWithPhi()
528 *phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in BuildIfElseWithPhi()
530 *input1 = new (GetAllocator()) HInstanceFieldGet(parameter, in BuildIfElseWithPhi()
539 *input2 = new (GetAllocator()) HInstanceFieldGet(parameter, in BuildIfElseWithPhi()
550 join->AddInstruction(new (GetAllocator()) HExit()); in BuildIfElseWithPhi()
642 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in BuildFieldReturn()
645 HInstruction* parameter = new (GetAllocator()) HParameterValue( in BuildFieldReturn()
649 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in BuildFieldReturn()
653 *field = new (GetAllocator()) HInstanceFieldGet(parameter, in BuildFieldReturn()
663 *ret = new (GetAllocator()) HReturn(*field); in BuildFieldReturn()
666 HBasicBlock* exit = new (GetAllocator()) HBasicBlock(graph); in BuildFieldReturn()
669 exit->AddInstruction(new (GetAllocator()) HExit()); in BuildFieldReturn()
718 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in BuildTwoSubs()
721 HInstruction* parameter = new (GetAllocator()) HParameterValue( in BuildTwoSubs()
728 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in BuildTwoSubs()
732 *first_sub = new (GetAllocator()) HSub(DataType::Type::kInt32, parameter, constant1); in BuildTwoSubs()
734 *second_sub = new (GetAllocator()) HSub(DataType::Type::kInt32, *first_sub, constant2); in BuildTwoSubs()
737 block->AddInstruction(new (GetAllocator()) HExit()); in BuildTwoSubs()
790 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in BuildDiv()
793 HInstruction* first = new (GetAllocator()) HParameterValue( in BuildDiv()
795 HInstruction* second = new (GetAllocator()) HParameterValue( in BuildDiv()
800 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in BuildDiv()
804 *div = new (GetAllocator()) HDiv( in BuildDiv()
808 block->AddInstruction(new (GetAllocator()) HExit()); in BuildDiv()
843 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in TEST_F()
846 HInstruction* one = new (GetAllocator()) HParameterValue( in TEST_F()
848 HInstruction* two = new (GetAllocator()) HParameterValue( in TEST_F()
850 HInstruction* three = new (GetAllocator()) HParameterValue( in TEST_F()
852 HInstruction* four = new (GetAllocator()) HParameterValue( in TEST_F()
859 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in TEST_F()
862 block->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
866 HPhi* user = new (GetAllocator()) HPhi(GetAllocator(), 0, 1, DataType::Type::kInt32); in TEST_F()
869 LocationSummary* locations = new (GetAllocator()) LocationSummary(user, LocationSummary::kNoCall); in TEST_F()
881 locations = new (GetAllocator()) LocationSummary(first->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F()
890 new (GetAllocator()) LocationSummary(second->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F()
903 locations = new (GetAllocator()) LocationSummary(third->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F()
912 new (GetAllocator()) LocationSummary(fourth->GetDefinedBy(), LocationSummary::kNoCall); in TEST_F()
930 register_allocator.registers_array_ = GetAllocator()->AllocArray<size_t>(1); in TEST_F()