Home | History | Annotate | Download | only in optimizing

Lines Matching refs:allocator_

34         allocator_(&pool_),
47 graph_ = CreateGraph(&allocator_);
55 loop_preheader_[d] = new (&allocator_) HBasicBlock(graph_);
57 loop_header_[d] = new (&allocator_) HBasicBlock(graph_);
63 loop_body_[d] = new (&allocator_) HBasicBlock(graph_);
82 entry_ = new (&allocator_) HBasicBlock(graph_);
85 return_ = new (&allocator_) HBasicBlock(graph_);
87 exit_ = new (&allocator_) HBasicBlock(graph_);
96 parameter_ = new (&allocator_) HParameterValue(
106 return_->AddInstruction(new (&allocator_) HReturnVoid());
107 exit_->AddInstruction(new (&allocator_) HExit());
111 basic_[d] = new (&allocator_) HPhi(&allocator_, d, 0, Primitive::kPrimInt);
112 loop_preheader_[d]->AddInstruction(new (&allocator_) HGoto());
114 HInstruction* compare = new (&allocator_) HLessThan(basic_[d], constant100_);
116 loop_header_[d]->AddInstruction(new (&allocator_) HIf(compare));
117 increment_[d] = new (&allocator_) HAdd(Primitive::kPrimInt, basic_[d], constant1_);
119 loop_body_[d]->AddInstruction(new (&allocator_) HGoto());
128 HBasicBlock* cond = new (&allocator_) HBasicBlock(graph_);
129 HBasicBlock* ifTrue = new (&allocator_) HBasicBlock(graph_);
130 HBasicBlock* ifFalse = new (&allocator_) HBasicBlock(graph_);
140 cond->AddInstruction(new (&allocator_) HIf(parameter_));
144 HPhi* select_phi = new (&allocator_) HPhi(&allocator_, -1, 0, Primitive::kPrimInt);
157 HPhi* phi = new (&allocator_) HPhi(&allocator_, vreg, 0, Primitive::kPrimInt);
167 return InsertInstruction(new (&allocator_) HArraySet(
200 iva_ = new (&allocator_) HInductionVarAnalysis(graph_);
206 ArenaAllocator allocator_;
289 new (&allocator_) HAdd(Primitive::kPrimInt, constant100_, basic_[0]), 0);
291 new (&allocator_) HSub(Primitive::kPrimInt, constant100_, basic_[0]), 0);
293 new (&allocator_) HMul(Primitive::kPrimInt, constant100_, basic_[0]), 0);
295 new (&allocator_) HShl(Primitive::kPrimInt, basic_[0], constant1_), 0);
297 new (&allocator_) HNeg(Primitive::kPrimInt, basic_[0]), 0);
321 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant100_), 0);
324 new (&allocator_) HSub(Primitive::kPrimInt, add, constant1_), 0);
354 HInstruction* inc1 = new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant1_);
358 HInstruction* inc2 = new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant1_);
387 HInstruction* inc1 = new (&allocator_) HAdd(Primitive::kPrimInt, basic_[0], constant1_);
391 HInstruction* inc2 = new (&allocator_) HAdd(Primitive::kPrimInt, basic_[0], constant1_);
415 new (&allocator_) HAdd(Primitive::kPrimInt, basic_[0], basic_[0]), 0);
417 new (&allocator_) HAdd(Primitive::kPrimInt, constant7_, basic_[0]), 0);
419 new (&allocator_) HAdd(Primitive::kPrimInt, add1, add2), 0);
441 new (&allocator_) HMul(Primitive::kPrimInt, basic_[0], constant2_), 0);
443 new (&allocator_) HAdd(Primitive::kPrimInt, constant100_, mul), 0);
445 new (&allocator_) HAdd(Primitive::kPrimInt, add, k_header), 0);
472 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant100_), 0);
474 new (&allocator_) HSub(Primitive::kPrimInt, k_header, constant1_), 0);
476 new (&allocator_) HNeg(Primitive::kPrimInt, sub), 0);
478 new (&allocator_) HMul(Primitive::kPrimInt, k_header, constant2_), 0);
480 new (&allocator_) HShl(Primitive::kPrimInt, k_header, constant2_), 0);
482 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, basic_[0]), 0);
515 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, k_header), 0);
517 new (&allocator_) HAdd(Primitive::kPrimInt, add1, k_header), 0);
519 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, basic_[0]), 0);
545 new (&allocator_) HMul(Primitive::kPrimInt, k_header, constant100_), 0);
570 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant1_), 0);
572 new (&allocator_) HShl(Primitive::kPrimInt, k_header, constant1_), 0);
574 new (&allocator_) HAdd(Primitive::kPrimInt, shl1, constant100_), 0);
576 new (&allocator_) HSub(Primitive::kPrimInt, shl1, constant1_), 0);
578 new (&allocator_) HNeg(Primitive::kPrimInt, sub), 0);
580 new (&allocator_) HMul(Primitive::kPrimInt, shl1, constant2_), 0);
582 new (&allocator_) HShl(Primitive::kPrimInt, shl1, constant2_), 0);
613 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant100_), 0);
615 new (&allocator_) HSub(Primitive::kPrimInt, k_header, constant1_), 0);
617 new (&allocator_) HNeg(Primitive::kPrimInt, sub), 0);
619 new (&allocator_) HMul(Primitive::kPrimInt, k_header, constant2_), 0);
621 new (&allocator_) HShl(Primitive::kPrimInt, k_header, constant2_), 0);
623 new (&allocator_) HDiv(Primitive::kPrimInt, k_header, constant100_, kNoDexPc), 0);
648 new (&allocator_) HShr(Primitive::kPrimInt, k_header, constant1_), 0);
668 new (&allocator_) HShr(Primitive::kPrimInt, k_header, constant1_), 0);
692 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant100_), 0);
694 new (&allocator_) HSub(Primitive::kPrimInt, k_header, constant1_), 0);
696 new (&allocator_) HNeg(Primitive::kPrimInt, sub), 0);
698 new (&allocator_) HMul(Primitive::kPrimInt, k_header, constant2_), 0);
700 new (&allocator_) HShl(Primitive::kPrimInt, k_header, constant2_), 0);
702 new (&allocator_) HRem(Primitive::kPrimInt, k_header, constant7_, kNoDexPc), 0);
729 new (&allocator_) HSub(Primitive::kPrimInt, constant100_, basic_[0]), 0);
758 new (&allocator_) HSub(Primitive::kPrimInt, constant100_, basic_[0], 0), 0);
783 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant100_), 0);
785 new (&allocator_) HSub(Primitive::kPrimInt, k_header, constant100_), 0);
787 new (&allocator_) HMul(Primitive::kPrimInt, k_header, constant100_), 0);
789 new (&allocator_) HShl(Primitive::kPrimInt, k_header, constant1_), 0);
791 new (&allocator_) HNeg(Primitive::kPrimInt, k_header), 0);
793 new (&allocator_) HShl(Primitive::kPrimInt, basic_[0], constant1_), 0);
795 new (&allocator_) HNeg(Primitive::kPrimInt, shl2), 0);
854 new (&allocator_) HSub(Primitive::kPrimInt, constant1_, k_header), 0);
875 new (&allocator_) HXor(Primitive::kPrimInt, k_header, constant1_), 0);
894 new (&allocator_) HXor(Primitive::kPrimInt, constant1_, k_header), 0);
913 new (&allocator_) HXor(Primitive::kPrimInt, k_header, constant100_), 0);
931 HInstruction* x = InsertInstruction(new (&allocator_) HEqual(k_header, constant0_), 0);
949 HInstruction* x = InsertInstruction(new (&allocator_) HEqual(constant0_, k_header), 0);
967 HInstruction* x = InsertInstruction(new (&allocator_) HNotEqual(k_header, constant1_), 0);
985 HInstruction* x = InsertInstruction(new (&allocator_) HNotEqual(constant1_, k_header), 0);
1010 new (&allocator_) HNeg(Primitive::kPrimInt, k_header), 0);
1012 new (&allocator_) HSub(Primitive::kPrimInt, constant1_, k_header), 0);
1014 new (&allocator_) HAdd(Primitive::kPrimInt, idiom, constant100_), 0);
1016 new (&allocator_) HSub(Primitive::kPrimInt, idiom, constant100_), 0);
1018 new (&allocator_) HMul(Primitive::kPrimInt, idiom, constant100_), 0);
1020 new (&allocator_) HShl(Primitive::kPrimInt, idiom, constant1_), 0);
1022 new (&allocator_) HNeg(Primitive::kPrimInt, idiom), 0);
1055 new (&allocator_) HAdd(Primitive::kPrimInt, constant1_, k_header[9]), 9);
1089 new (&allocator_) HTypeConversion(Primitive::kPrimByte, basic_[0], kNoDexPc), 0);
1120 new (&allocator_) HTypeConversion(Primitive::kPrimByte, basic_[0], kNoDexPc), 0);
1123 new (&allocator_) HAdd(Primitive::kPrimInt, conv, constant1_), 0);
1150 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant1_), 0);
1152 new (&allocator_) HTypeConversion(Primitive::kPrimByte, add, kNoDexPc), 0);
1178 new (&allocator_) HAdd(Primitive::kPrimInt, k_header, constant1_), 0);
1180 new (&allocator_) HTypeConversion(Primitive::kPrimByte, add, kNoDexPc), 0);
1200 new (&allocator_) HTypeConversion(Primitive::kPrimByte, k_header, kNoDexPc), 0);
1202 new (&allocator_) HAdd(Primitive::kPrimInt, conv, constant1_), 0);
1219 new (&allocator_) HTypeConversion(Primitive::kPrimByte, increment_[0], kNoDexPc);
1245 new (&allocator_) HTypeConversion(Primitive::kPrimByte, increment_[0], kNoDexPc);
1271 new (&allocator_) HTypeConversion(Primitive::kPrimShort, increment_[0], kNoDexPc);
1297 new (&allocator_) HTypeConversion(Primitive::kPrimShort, increment_[0], kNoDexPc);
1322 new (&allocator_) HTypeConversion(Primitive::kPrimChar, increment_[0], kNoDexPc);
1347 new (&allocator_) HTypeConversion(Primitive::kPrimChar, increment_[0], kNoDexPc);