Home
last modified time | relevance | path

Searched refs:ReplaceWith (Results 1 – 20 of 20) 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.cc243 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 …]
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()
Dinliner.cc1076 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()
Dssa_phi_elimination.cc255 current->ReplaceWith(candidate); in Run()
Dselect_generator.cc208 cached->ReplaceWith(select); in Run()
Dload_store_elimination.cc218 load->ReplaceWith(substitute); in RemoveInstructions()
517 prev->ReplaceWith(prev->InputAt(0)); in TryRemovingNullCheck()
Dnodes.cc963 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()
Dgvn.cc512 current->ReplaceWith(existing); in VisitBasicBlock()
Dsuperblock_cloner.cc997 phi->ReplaceWith(phi->InputAt(0)); in CleanUp()
1006 phi->ReplaceWith(phi->InputAt(0)); in CleanUp()
Dreference_type_propagation.cc737 bound_type->ReplaceWith(bound_type->InputAt(0)); in VisitCheckCast()
Dloop_optimization.cc749 main_phi->ReplaceWith(main_phi->InputAt(0)); in TryOptimizeInnerLoopFinite()
1192 phi->ReplaceWith(repl); in Vectorize()
Dbounds_check_elimination.cc2003 instruction->ReplaceWith(replacement); in ReplaceInstruction()
Dnodes.h1273 void ReplaceWith(HBasicBlock* other);
2358 void ReplaceWith(HInstruction* instruction);
2366 ReplaceWith(other); in ReplaceWithExceptInReplacementAtIndex()
/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.h114 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()