/art/compiler/optimizing/ |
D | constant_folding.cc | 96 inst->ReplaceWith(constant); in VisitUnaryOperation() 106 inst->ReplaceWith(constant); in VisitBinaryOperation() 119 inst->ReplaceWith(constant); in VisitTypeConversion() 128 inst->ReplaceWith(check_input); in VisitDivZeroCheck() 142 instruction->ReplaceWith(left); in VisitShift() 154 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 0)); in VisitEqual() 166 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 1)); in VisitNotEqual() 178 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 0)); in VisitAbove() 190 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 1)); in VisitAboveOrEqual() 202 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 0)); in VisitBelow() [all …]
|
D | prepare_for_register_allocation.cc | 53 check->ReplaceWith(check->InputAt(0)); in VisitNullCheck() 70 check->ReplaceWith(check->InputAt(0)); in VisitDivZeroCheck() 76 deoptimize->ReplaceWith(deoptimize->GuardedInput()); in VisitDeoptimize() 82 check->ReplaceWith(check->InputAt(0)); in VisitBoundsCheck() 100 bound_type->ReplaceWith(bound_type->InputAt(0)); in VisitBoundType() 158 check->ReplaceWith(load_class); in VisitClinitCheck() 311 instruction->ReplaceWith(instruction->GetInput()); in VisitTypeConversion()
|
D | instruction_simplifier.cc | 243 left->ReplaceWith(src_left); in TryDeMorganNegationFactoring() 244 right->ReplaceWith(src_right); in TryDeMorganNegationFactoring() 359 instruction->ReplaceWith(value); in VisitShift() 557 null_check->ReplaceWith(obj); in VisitNullCheck() 674 instruction->ReplaceWith(graph->GetIntConstant(0)); in VisitInstanceOf() 689 instruction->ReplaceWith(test); in VisitInstanceOf() 692 instruction->ReplaceWith(graph->GetIntConstant(outcome)); in VisitInstanceOf() 762 equal->ReplaceWith(input_value); in VisitEqual() 767 equal->ReplaceWith(GetGraph()->InsertOppositeCondition(input_value, equal)); in VisitEqual() 772 equal->ReplaceWith(GetGraph()->GetIntConstant(0)); in VisitEqual() [all …]
|
D | ssa_builder.cc | 75 phi->ReplaceWith(next); in EquivalentPhisCleanup() 78 next->ReplaceWith(phi); in EquivalentPhisCleanup() 105 phi->ReplaceWith(next); in FixEnvironmentPhis() 347 aget_float->ReplaceWith(aget_int); in FixAmbiguousArrayOps() 361 aget_int->ReplaceWith(aget_float); in FixAmbiguousArrayOps() 469 new_instance->ReplaceWith(graph_->GetNullConstant()); in RemoveRedundantUninitializedStrings() 482 input->ReplaceWith(load_class); in RemoveRedundantUninitializedStrings()
|
D | dead_code_elimination.cc | 200 user->ReplaceWith(bound); in RemoveNonNullControlDependences() 391 phi->ReplaceWith(phi->InputAt(0)); in SimplifyIfs() 398 first->ReplaceWith(result); in SimplifyIfs()
|
D | inliner.cc | 1076 invoke_instruction->ReplaceWith(return_replacement); in TryInlinePolymorphicCall() 1133 invoke_instruction->ReplaceWith(phi); in CreateDiamondPatternForPolymorphicInline() 1286 invoke_instruction->ReplaceWith(return_replacement); in TryInlinePolymorphicCallToSameTarget() 1408 invoke_instruction->ReplaceWith(return_replacement); in TryInlineAndReplace() 1815 current->ReplaceWith(callee_graph->GetNullConstant()); in SubstituteArguments() 1817 current->ReplaceWith(callee_graph->GetIntConstant(argument->AsIntConstant()->GetValue())); in SubstituteArguments() 1819 current->ReplaceWith(callee_graph->GetLongConstant(argument->AsLongConstant()->GetValue())); in SubstituteArguments() 1821 current->ReplaceWith( in SubstituteArguments() 1824 current->ReplaceWith( in SubstituteArguments()
|
D | ssa_phi_elimination.cc | 255 current->ReplaceWith(candidate); in Run()
|
D | select_generator.cc | 208 cached->ReplaceWith(select); in Run()
|
D | load_store_elimination.cc | 218 load->ReplaceWith(substitute); in RemoveInstructions() 517 prev->ReplaceWith(prev->InputAt(0)); in TryRemovingNullCheck()
|
D | nodes.cc | 963 initial->ReplaceWith(replacement); in ReplaceAndRemovePhiWith() 985 initial->ReplaceWith(replacement); in ReplaceAndRemoveInstructionWith() 1280 void HInstruction::ReplaceWith(HInstruction* other) { in ReplaceWith() function in art::HInstruction 2166 phi->ReplaceWith(phi->InputAt(1 - this_index)); in DisconnectAndDelete() 2351 void HBasicBlock::ReplaceWith(HBasicBlock* other) { in ReplaceWith() function in art::HBasicBlock 2498 exit_block_->ReplaceWith(to); in InlineInto() 2645 current->ReplaceWith(replacement); in InlineInto()
|
D | gvn.cc | 512 current->ReplaceWith(existing); in VisitBasicBlock()
|
D | superblock_cloner.cc | 997 phi->ReplaceWith(phi->InputAt(0)); in CleanUp() 1006 phi->ReplaceWith(phi->InputAt(0)); in CleanUp()
|
D | reference_type_propagation.cc | 737 bound_type->ReplaceWith(bound_type->InputAt(0)); in VisitCheckCast()
|
D | loop_optimization.cc | 749 main_phi->ReplaceWith(main_phi->InputAt(0)); in TryOptimizeInnerLoopFinite() 1192 phi->ReplaceWith(repl); in Vectorize()
|
D | bounds_check_elimination.cc | 2003 instruction->ReplaceWith(replacement); in ReplaceInstruction()
|
D | nodes.h | 1273 void ReplaceWith(HBasicBlock* other); 2358 void ReplaceWith(HInstruction* instruction); 2366 ReplaceWith(other); in ReplaceWithExceptInReplacementAtIndex()
|
/art/libartbase/base/ |
D | mem_map_test.cc | 185 ASSERT_TRUE(dest.ReplaceWith(&source, &error_msg)) << error_msg; in TEST_F() 229 ASSERT_TRUE(dest.ReplaceWith(&source, &error_msg)) << error_msg; in TEST_F() 264 ASSERT_TRUE(dest.ReplaceWith(&source, &error_msg)) << error_msg; in TEST_F() 312 ASSERT_FALSE(dest.ReplaceWith(&source, &error_msg)) << error_msg; in TEST_F()
|
D | mem_map.h | 114 bool ReplaceWith(/*in-out*/MemMap* source, /*out*/std::string* error);
|
D | mem_map.cc | 405 bool MemMap::ReplaceWith(MemMap* source, /*out*/std::string* error) { in ReplaceWith() function in art::MemMap
|
/art/openjdkjvmti/ |
D | ti_class_definition.cc | 71 CHECK(dex_data_mmap_.ReplaceWith(&source, &error)) << "Failed to replace mmap for " in InitializeMemory()
|