Searched refs:ReplaceWith (Results 1 – 18 of 18) sorted by relevance
/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 | 236 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 …]
|
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 | load_store_elimination.cc | 188 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()
|
D | inliner.cc | 1062 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()
|
D | ssa_phi_elimination.cc | 255 current->ReplaceWith(candidate); in Run()
|
D | select_generator.cc | 210 cached->ReplaceWith(select); in Run()
|
D | gvn.cc | 494 current->ReplaceWith(existing); in VisitBasicBlock()
|
D | superblock_cloner.cc | 951 phi->ReplaceWith(phi->InputAt(0)); in CleanUp() 960 phi->ReplaceWith(phi->InputAt(0)); in CleanUp()
|
D | reference_type_propagation.cc | 777 bound_type->ReplaceWith(bound_type->InputAt(0)); in VisitCheckCast()
|
D | loop_optimization.cc | 748 main_phi->ReplaceWith(main_phi->InputAt(0)); in TryOptimizeInnerLoopFinite() 1192 phi->ReplaceWith(repl); in Vectorize()
|
D | bounds_check_elimination.cc | 1902 instruction->ReplaceWith(replacement); in ReplaceInstruction()
|
/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 | 115 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()
|