/aosp12/art/compiler/optimizing/ |
H A D | bounds_check_elimination_test.cc | 84 block1->AddInstruction(cmp); in TEST_F() 85 block1->AddInstruction(if_inst); in TEST_F() 109 block3->AddInstruction(cmp); in TEST_F() 110 block3->AddInstruction(if_inst); in TEST_F() 182 block1->AddInstruction(cmp); in TEST_F() 194 block2->AddInstruction(add); in TEST_F() 197 block2->AddInstruction(cmp2); in TEST_F() 251 block1->AddInstruction(cmp); in TEST_F() 262 block2->AddInstruction(sub1); in TEST_F() 263 block2->AddInstruction(sub2); in TEST_F() [all …]
|
H A D | load_store_elimination_test.cc | 131 loop_->AddInstruction(cmp); in CreateTestControlFlowGraph() 132 loop_->AddInstruction(hif); in CreateTestControlFlowGraph() 166 upper->AddInstruction(cmp); in CreateDiamondShapedCFG() 167 upper->AddInstruction(hif); in CreateDiamondShapedCFG() 421 blk->AddInstruction(i); in AddSetup() 1151 main->AddInstruction(cls); in TEST_F() 1202 main->AddInstruction(cls); in TEST_F() 1577 ret->AddInstruction(add); in TEST_F() 1667 ret->AddInstruction(add); in TEST_F() 1722 entry->AddInstruction(cls); in TEST_F() [all …]
|
H A D | load_store_analysis_test.cc | 92 entry->AddInstruction(array); in TEST_F() 93 entry->AddInstruction(index); in TEST_F() 264 entry->AddInstruction(add0); in TEST_F() 265 entry->AddInstruction(add1); in TEST_F() 266 entry->AddInstruction(sub0); in TEST_F() 267 entry->AddInstruction(sub1); in TEST_F() 436 entry->AddInstruction(v1); in TEST_F() 437 entry->AddInstruction(v2); in TEST_F() 878 entry->AddInstruction(cls); in TEST_F() 987 entry->AddInstruction(cls); in TEST_F() [all …]
|
H A D | gvn_test.cc | 38 entry->AddInstruction(parameter); in TEST_F() 94 block->AddInstruction(new (GetAllocator()) HExit()); in TEST_F() 119 entry->AddInstruction(parameter); in TEST_F() 156 then->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 166 else_->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 176 join->AddInstruction(new (GetAllocator()) HExit()); in TEST_F() 199 entry->AddInstruction(parameter); in TEST_F() 213 block->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 274 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F() 343 entry->AddInstruction(parameter); in TEST_F() [all …]
|
H A D | instruction_simplifier_test.cc | 160 entry->AddInstruction(cls); in TEST_F() 165 case1->AddInstruction(goto_c1); in TEST_F() 168 case2->AddInstruction(goto_c2); in TEST_F() 172 case3->AddInstruction(obj3); in TEST_F() 173 case3->AddInstruction(goto_c3); in TEST_F() 252 entry->AddInstruction(cls); in TEST_F() 257 case1->AddInstruction(goto_c1); in TEST_F() 264 case3->AddInstruction(obj3); in TEST_F() 337 entry->AddInstruction(cls); in TEST_F() 343 left->AddInstruction(obj1); in TEST_F() [all …]
|
H A D | ssa_liveness_analysis_test.cc | 62 entry_->AddInstruction(arg); in TEST_F() 66 block->AddInstruction(ret); in TEST_F() 92 entry_->AddInstruction(insn); in TEST_F() 97 block->AddInstruction(null_check); in TEST_F() 106 block->AddInstruction(length); in TEST_F() 118 block->AddInstruction(array_set); in TEST_F() 161 entry_->AddInstruction(insn); in TEST_F() 166 block->AddInstruction(null_check); in TEST_F() 175 block->AddInstruction(length); in TEST_F() 178 block->AddInstruction(ae); in TEST_F() [all …]
|
H A D | nodes_test.cc | 151 entry->AddInstruction(parameter); in TEST_F() 152 entry->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 158 first_block->AddInstruction(null_check); in TEST_F() 193 entry->AddInstruction(parameter1); in TEST_F() 194 entry->AddInstruction(parameter2); in TEST_F() 195 entry->AddInstruction(new (GetAllocator()) HExit()); in TEST_F() 209 TEST_F(NodeTest, AddInstruction) { in TEST_F() argument 216 entry->AddInstruction(parameter); in TEST_F() 221 entry->AddInstruction(to_add); in TEST_F() 235 entry->AddInstruction(parameter1); in TEST_F() [all …]
|
H A D | constant_folding_test.cc | 751 entry_block->AddInstruction(parameter); in TEST_F() 752 entry_block->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 757 block->AddInstruction(last = new (GetAllocator()) HAbove(zero, parameter)); in TEST_F() 759 block->AddInstruction(last = new (GetAllocator()) HAbove(parameter, zero)); in TEST_F() 761 block->AddInstruction(last = new (GetAllocator()) HAboveOrEqual(zero, parameter)); in TEST_F() 763 block->AddInstruction(last = new (GetAllocator()) HAboveOrEqual(parameter, zero)); in TEST_F() 765 block->AddInstruction(last = new (GetAllocator()) HBelow(zero, parameter)); in TEST_F() 767 block->AddInstruction(last = new (GetAllocator()) HBelow(parameter, zero)); in TEST_F() 769 block->AddInstruction(last = new (GetAllocator()) HBelowOrEqual(zero, parameter)); in TEST_F() 773 block->AddInstruction(new (GetAllocator()) HReturn(zero)); in TEST_F() [all …]
|
H A D | loop_optimization_test.cc | 70 entry_block_->AddInstruction(parameter_); in BuildGraph() 72 exit_block_->AddInstruction(new (GetAllocator()) HExit()); in BuildGraph() 89 body->AddInstruction(new (GetAllocator()) HGoto()); in AddLoop() 235 header->AddInstruction(new (GetAllocator()) HIf(parameter_)); in TEST_F() 236 body->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 241 body->AddInstruction(add); in TEST_F() 287 preheader0->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 288 preheader1->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 299 preheader0->AddInstruction(preheader0_add); in TEST_F() 301 preheader1->AddInstruction(preheader1_add); in TEST_F() [all …]
|
H A D | select_generator_test.cc | 53 entry_block_->AddInstruction(bool_param); in ConstructBasicGraphForSelect() 56 if_block->AddInstruction(new (GetAllocator()) HIf(bool_param)); in ConstructBasicGraphForSelect() 58 then_block->AddInstruction(instr); in ConstructBasicGraphForSelect() 59 then_block->AddInstruction(new (GetAllocator()) HGoto()); in ConstructBasicGraphForSelect() 61 else_block->AddInstruction(new (GetAllocator()) HGoto()); in ConstructBasicGraphForSelect()
|
H A D | register_allocator_test.cc | 512 block->AddInstruction(test); in BuildIfElseWithPhi() 548 then->AddInstruction(*input1); in BuildIfElseWithPhi() 662 block->AddInstruction(*field); in BuildFieldReturn() 664 block->AddInstruction(*ret); in BuildFieldReturn() 797 entry->AddInstruction(first); in BuildDiv() 798 entry->AddInstruction(second); in BuildDiv() 806 block->AddInstruction(*div); in BuildDiv() 854 entry->AddInstruction(one); in TEST_F() 855 entry->AddInstruction(two); in TEST_F() 856 entry->AddInstruction(three); in TEST_F() [all …]
|
H A D | codegen_test.cc | 420 entry->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 428 first_block->AddInstruction(equal); in TEST_F() 496 code_block->AddInstruction(&cmp_lt); in TEST_F() 498 code_block->AddInstruction(&ret); in TEST_F() 554 if_block->AddInstruction(&cmp_lt); in TEST_F() 558 if_block->AddInstruction(&force_materialization); in TEST_F() 560 if_block->AddInstruction(&if_lt); in TEST_F() 564 if_true_block->AddInstruction(&ret_lt); in TEST_F() 567 if_false_block->AddInstruction(&ret_ge); in TEST_F() 621 exit_block->AddInstruction(new (GetAllocator()) HExit()); in TestComparison() [all …]
|
H A D | licm_test.cc | 80 entry_->AddInstruction(parameter_); in BuildLoop() 83 loop_preheader_->AddInstruction(new (GetAllocator()) HGoto()); in BuildLoop() 84 loop_header_->AddInstruction(new (GetAllocator()) HIf(parameter_)); in BuildLoop() 85 loop_body_->AddInstruction(new (GetAllocator()) HGoto()); in BuildLoop() 86 return_->AddInstruction(new (GetAllocator()) HReturnVoid()); in BuildLoop() 87 exit_->AddInstruction(new (GetAllocator()) HExit()); in BuildLoop()
|
H A D | superblock_cloner_test.cc | 77 loop_header->AddInstruction(suspend_check); in CreateBasicLoopDataFlow() 78 loop_header->AddInstruction(loop_check); in CreateBasicLoopDataFlow() 92 loop_body->AddInstruction(null_check); in CreateBasicLoopDataFlow() 93 loop_body->AddInstruction(array_length); in CreateBasicLoopDataFlow() 94 loop_body->AddInstruction(bounds_check); in CreateBasicLoopDataFlow() 95 loop_body->AddInstruction(array_get); in CreateBasicLoopDataFlow() 96 loop_body->AddInstruction(add); in CreateBasicLoopDataFlow() 97 loop_body->AddInstruction(array_set); in CreateBasicLoopDataFlow() 98 loop_body->AddInstruction(induction_inc); in CreateBasicLoopDataFlow() 438 temp1->AddInstruction(temp_add); in TEST_F() [all …]
|
H A D | graph_test.cc | 41 if_block->AddInstruction(equal); in CreateIfBlock() 43 if_block->AddInstruction(instr); in CreateIfBlock() 51 block->AddInstruction(got); in CreateGotoBlock() 65 block->AddInstruction(return_instr); in CreateReturnBlock() 73 block->AddInstruction(exit_instr); in CreateExitBlock()
|
H A D | induction_var_range_test.cc | 73 entry_block_->AddInstruction(x_); in BuildGraph() 78 entry_block_->AddInstruction(y_); in BuildGraph() 110 loop_header_->AddInstruction(condition_); in BuildLoop() 114 loop_body_->AddInstruction(increment_); // i += s in BuildLoop() 116 loop_body_->AddInstruction(new (GetAllocator()) HGoto()); in BuildLoop() 709 entry_block_->AddInstruction(new_array); in TEST_F() 711 entry_block_->AddInstruction(array_length); in TEST_F() 736 entry_block_->AddInstruction(add); in TEST_F() 737 entry_block_->AddInstruction(alt); in TEST_F() 738 entry_block_->AddInstruction(sub); in TEST_F() [all …]
|
H A D | induction_var_analysis_test.cc | 96 entry_->AddInstruction(parameter_); in BuildLoopNest() 104 return_->AddInstruction(new (GetAllocator()) HReturnVoid()); in BuildLoopNest() 105 exit_->AddInstruction(new (GetAllocator()) HExit()); in BuildLoopNest() 113 loop_header_[d]->AddInstruction(compare); in BuildLoopNest() 116 loop_body_[d]->AddInstruction(increment_[d]); in BuildLoopNest() 117 loop_body_[d]->AddInstruction(new (GetAllocator()) HGoto()); in BuildLoopNest() 138 cond->AddInstruction(new (GetAllocator()) HIf(parameter_)); in BuildIf() 351 ifTrue->AddInstruction(inc1); in TEST_F() 355 ifFalse->AddInstruction(inc2); in TEST_F() 384 ifTrue->AddInstruction(inc1); in TEST_F() [all …]
|
H A D | graph_checker_test.cc | 39 entry_block->AddInstruction(new (GetAllocator()) HReturnVoid()); in CreateSimpleCFG() 43 exit_block->AddInstruction(new (GetAllocator()) HExit()); in CreateSimpleCFG()
|
H A D | reference_type_propagation_test.cc | 312 start->AddInstruction(maybe_null_val); in RunVisitListTest() 313 start->AddInstruction(cls); in RunVisitListTest() 314 start->AddInstruction(new_inst); in RunVisitListTest() 406 start->AddInstruction(cls); in RunVisitListTest() 407 start->AddInstruction(new_inst); in RunVisitListTest()
|
H A D | block_builder.cc | 340 new_catch_block->AddInstruction(new (allocator_) HGoto(address)); in InsertTryBoundaryBlocks() 367 try_block->CreateImmediateDominator()->AddInstruction(try_entry); in InsertTryBoundaryBlocks() 395 graph_->SplitEdge(try_block, successor)->AddInstruction(try_exit); in InsertTryBoundaryBlocks() 439 loop_block->AddInstruction(new (allocator_) HIf(graph_->GetIntConstant(0), kNoDexPc)); in InsertSynthesizedLoopsForOsr()
|
H A D | code_sinking.cc | 123 static void AddInstruction(HInstruction* instruction, in AddInstruction() function 141 AddInstruction(input, processed_instructions, discard_blocks, worklist); in AddInputs() 392 AddInstruction(use.GetUser(), processed_instructions, post_dominated, &worklist); in SinkCodeToUncommonBranch()
|
H A D | optimizing_unit_test.h | 305 return_block_->AddInstruction(new (GetAllocator()) HReturnVoid()); 306 exit_block_->AddInstruction(new (GetAllocator()) HExit()); 310 entry_block_->AddInstruction(parameter); in AddParameter() 494 exit->AddInstruction(new (GetAllocator()) HExit()); in SetupExit() 529 graph_->GetEntryBlock()->AddInstruction(val);
|
/aosp12/frameworks/base/startop/view_compiler/ |
H A D | dex_testcase_generator.cc | 157 method.AddInstruction( in GenerateSimpleTestCases() 160 method.AddInstruction( in GenerateSimpleTestCases() 164 method.AddInstruction( in GenerateSimpleTestCases() 167 method.AddInstruction( in GenerateSimpleTestCases() 209 method.AddInstruction( in GenerateSimpleTestCases() 212 method.AddInstruction( in GenerateSimpleTestCases() 215 method.AddInstruction( in GenerateSimpleTestCases() 229 method.AddInstruction( in GenerateSimpleTestCases() 232 method.AddInstruction( in GenerateSimpleTestCases() 235 method.AddInstruction( in GenerateSimpleTestCases() [all …]
|
H A D | dex_layout_compiler.cc | 72 method_->AddInstruction(Instruction::InvokeStaticObject(layout_inflater_from.id, dest, context_)); in BuildGetLayoutInflater() 79 method_->AddInstruction(Instruction::InvokeVirtualObject(get_resources.id, dest, context_)); in BuildGetResources() 86 method_->AddInstruction(Instruction::InvokeVirtualObject(get_layout.id, dest, resources, resid)); in BuildGetLayoutResource() 96 method_->AddInstruction( in BuildLayoutResourceToAttributeSet() 102 method_->AddInstruction(Instruction::InvokeInterface(xml_next_.id, {}, xml_)); in BuildXmlNext() 130 method_->AddInstruction(Instruction::InvokeVirtualObject( in BuildTryCreateView() 153 method_->AddInstruction( in StartView() 168 method_->AddInstruction(Instruction::Cast(view, Value::Type(view_group_def->orig_index))); in StartView() 174 method_->AddInstruction(Instruction::InvokeVirtualObject( in StartView() 187 method_->AddInstruction(Instruction::InvokeVirtual( in FinishView() [all …]
|
H A D | dex_builder.cc | 174 method.AddInstruction(Instruction::InvokeVirtual(string_length.id, result, Value::Parameter(0))); in WriteTestDexFile() 355 void MethodBuilder::AddInstruction(Instruction instruction) { in AddInstruction() function in startop::dex::MethodBuilder 359 void MethodBuilder::BuildReturn() { AddInstruction(Instruction::OpNoArgs(Op::kReturn)); } in BuildReturn() 362 AddInstruction(Instruction::OpWithArgs( in BuildReturn() 368 AddInstruction(Instruction::OpWithArgs(Op::kMove, target, Value::Immediate(value))); in BuildConst4() 373 AddInstruction(Instruction::OpWithArgs(Op::kMove, target, Value::String(dex_string->orig_index))); in BuildConstString()
|