Home
last modified time | relevance | path

Searched refs:ReplaceWith (Results 1 – 18 of 18) sorted by relevance

/art/compiler/optimizing/
Dconstant_folding.cc96 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 …]
Dprepare_for_register_allocation.cc53 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()
Dinstruction_simplifier.cc236 left->ReplaceWith(src_left); in TryDeMorganNegationFactoring()
237 right->ReplaceWith(src_right); in TryDeMorganNegationFactoring()
363 instruction->ReplaceWith(value); in VisitShift()
561 null_check->ReplaceWith(obj); in VisitNullCheck()
678 instruction->ReplaceWith(graph->GetIntConstant(0)); in VisitInstanceOf()
693 instruction->ReplaceWith(test); in VisitInstanceOf()
696 instruction->ReplaceWith(graph->GetIntConstant(outcome)); in VisitInstanceOf()
766 equal->ReplaceWith(input_value); in VisitEqual()
771 equal->ReplaceWith(GetGraph()->InsertOppositeCondition(input_value, equal)); in VisitEqual()
776 equal->ReplaceWith(GetGraph()->GetIntConstant(0)); in VisitEqual()
[all …]
Dssa_builder.cc75 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()
Ddead_code_elimination.cc200 user->ReplaceWith(bound); in RemoveNonNullControlDependences()
391 phi->ReplaceWith(phi->InputAt(0)); in SimplifyIfs()
398 first->ReplaceWith(result); in SimplifyIfs()
Dload_store_elimination.cc188 load2->ReplaceWith(type_conversion); in TryToReuseTypeConversion()
233 load->ReplaceWith(type_conversion); in RemoveInstructions()
236 load->ReplaceWith(substitute); in RemoveInstructions()
523 prev->ReplaceWith(prev->InputAt(0)); in TryRemovingNullCheck()
Dinliner.cc1062 invoke_instruction->ReplaceWith(return_replacement); in TryInlinePolymorphicCall()
1120 invoke_instruction->ReplaceWith(phi); in CreateDiamondPatternForPolymorphicInline()
1273 invoke_instruction->ReplaceWith(return_replacement); in TryInlinePolymorphicCallToSameTarget()
1396 invoke_instruction->ReplaceWith(return_replacement); in TryInlineAndReplace()
1867 current->ReplaceWith(callee_graph->GetNullConstant()); in TryBuildAndInlineHelper()
1869 current->ReplaceWith(callee_graph->GetIntConstant(argument->AsIntConstant()->GetValue())); in TryBuildAndInlineHelper()
1871 current->ReplaceWith(callee_graph->GetLongConstant(argument->AsLongConstant()->GetValue())); in TryBuildAndInlineHelper()
1873 current->ReplaceWith( in TryBuildAndInlineHelper()
1876 current->ReplaceWith( in TryBuildAndInlineHelper()
Dssa_phi_elimination.cc255 current->ReplaceWith(candidate); in Run()
Dselect_generator.cc210 cached->ReplaceWith(select); in Run()
Dgvn.cc494 current->ReplaceWith(existing); in VisitBasicBlock()
Dsuperblock_cloner.cc951 phi->ReplaceWith(phi->InputAt(0)); in CleanUp()
960 phi->ReplaceWith(phi->InputAt(0)); in CleanUp()
Dreference_type_propagation.cc777 bound_type->ReplaceWith(bound_type->InputAt(0)); in VisitCheckCast()
Dloop_optimization.cc748 main_phi->ReplaceWith(main_phi->InputAt(0)); in TryOptimizeInnerLoopFinite()
1192 phi->ReplaceWith(repl); in Vectorize()
Dbounds_check_elimination.cc1902 instruction->ReplaceWith(replacement); in ReplaceInstruction()
/art/libartbase/base/
Dmem_map_test.cc185 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()
Dmem_map.h115 bool ReplaceWith(/*in-out*/MemMap* source, /*out*/std::string* error);
Dmem_map.cc405 bool MemMap::ReplaceWith(MemMap* source, /*out*/std::string* error) { in ReplaceWith() function in art::MemMap
/art/openjdkjvmti/
Dti_class_definition.cc71 CHECK(dex_data_mmap_.ReplaceWith(&source, &error)) << "Failed to replace mmap for " in InitializeMemory()