Home
last modified time | relevance | path

Searched refs:replacement (Results 1 – 14 of 14) sorted by relevance

/art/compiler/optimizing/
Dnodes.cc961 void HBasicBlock::ReplaceAndRemovePhiWith(HPhi* initial, HPhi* replacement) { in ReplaceAndRemovePhiWith() argument
963 InsertPhiAfter(replacement, initial); in ReplaceAndRemovePhiWith()
964 initial->ReplaceWith(replacement); in ReplaceAndRemovePhiWith()
969 HInstruction* replacement) { in ReplaceAndRemoveInstructionWith() argument
973 DCHECK(replacement->IsControlFlow()); in ReplaceAndRemoveInstructionWith()
974 DCHECK_EQ(replacement->GetId(), -1); in ReplaceAndRemoveInstructionWith()
975 DCHECK_EQ(replacement->GetType(), DataType::Type::kVoid); in ReplaceAndRemoveInstructionWith()
980 replacement->SetBlock(this); in ReplaceAndRemoveInstructionWith()
981 replacement->SetId(GetGraph()->GetNextInstructionId()); in ReplaceAndRemoveInstructionWith()
982 instructions_.InsertInstructionBefore(replacement, initial); in ReplaceAndRemoveInstructionWith()
[all …]
Dinduction_var_range.h133 void Replace(HInstruction* instruction, HInstruction* fetch, HInstruction* replacement);
336 HInstruction* replacement);
Dinduction_var_range.cc343 HInstruction* replacement) { in Replace() argument
348 ReplaceInduction(induction_analysis_->LookupInfo(lp, instruction), fetch, replacement); in Replace()
350 ReplaceInduction(induction_analysis_->LookupInfo(lp, GetLoopControl(lp)), fetch, replacement); in Replace()
1382 HInstruction* replacement) { in ReplaceInduction() argument
1387 info->fetch = replacement; in ReplaceInduction()
1389 ReplaceInduction(info->op_a, fetch, replacement); in ReplaceInduction()
1390 ReplaceInduction(info->op_b, fetch, replacement); in ReplaceInduction()
Dinduction_var_analysis.cc162 HInstruction* replacement, in FixOutsideUse() argument
171 if (replacement == nullptr) { in FixOutsideUse()
174 user->ReplaceInput(replacement, index); in FixOutsideUse()
185 if (replacement == nullptr) { in FixOutsideUse()
189 user->SetRawEnvAt(index, replacement); in FixOutsideUse()
190 replacement->AddEnvUseAt(user, index); in FixOutsideUse()
Dsuperblock_cloner.h317 HInstruction* user, HInstruction* old_instruction, HInstruction* replacement);
Dinstruction_simplifier.cc1571 HCondition* replacement = in VisitCondition() local
1574 if (replacement != nullptr) { in VisitCondition()
1576 replacement->SetBias(ComparisonBias::kGtBias); in VisitCondition()
1578 replacement->SetBias(ComparisonBias::kLtBias); in VisitCondition()
1580 block->ReplaceAndRemoveInstructionWith(condition, replacement); in VisitCondition()
1583 condition = replacement; in VisitCondition()
2365 HInstruction* replacement; in SimplifyStringIsEmptyOrLength() local
2371 replacement = equal; in SimplifyStringIsEmptyOrLength()
2374 replacement = length; in SimplifyStringIsEmptyOrLength()
2376 invoke->GetBlock()->ReplaceAndRemoveInstructionWith(invoke, replacement); in SimplifyStringIsEmptyOrLength()
Dloop_optimization.cc2406 HInstruction* replacement = induction_range_.GenerateLastValue(instruction, graph_, block); in TryReplaceWithLastValue() local
2419 user->ReplaceInput(replacement, index); in TryReplaceWithLastValue()
2420 induction_range_.Replace(user, instruction, replacement); // update induction in TryReplaceWithLastValue()
2434 user->SetRawEnvAt(index, replacement); in TryReplaceWithLastValue()
2435 replacement->AddEnvUseAt(user, index); in TryReplaceWithLastValue()
Dsuperblock_cloner.cc561 HInstruction* user, HInstruction* old_instruction, HInstruction* replacement) { in UpdateInductionRangeInfoOf() argument
563 induction_range_->Replace(user, old_instruction, replacement); in UpdateInductionRangeInfoOf()
Dbounds_check_elimination.cc1896 void ReplaceInstruction(HInstruction* instruction, HInstruction* replacement) { in ReplaceInstruction() argument
1902 instruction->ReplaceWith(replacement); in ReplaceInstruction()
Dnodes.h1249 void ReplaceAndRemovePhiWith(HPhi* initial, HPhi* replacement);
1252 HInstruction* replacement);
1986 void ReplaceInput(HInstruction* replacement, size_t index);
2303 void ReplaceUsesDominatedBy(HInstruction* dominator, HInstruction* replacement);
2304 void ReplaceEnvUsesDominatedBy(HInstruction* dominator, HInstruction* replacement);
2305 void ReplaceInput(HInstruction* replacement, size_t index);
/art/test/986-native-method-bind/
Dinfo.txt1 Tests native-method-bind callback and native method replacement.
/art/dex2oat/linker/
Drelative_patcher_test.h266 std::string replacement = oss.str(); in DumpDiff() local
267 expected_hex_str.replace(0u, remove * 3u, replacement); in DumpDiff()
268 linked_hex_str.replace(0u, remove * 3u, replacement); in DumpDiff()
269 diff_indicator_str.replace(0u, remove * 3u, replacement); in DumpDiff()
/art/openjdkjvmti/
Dti_heap.h103 art::ObjPtr<art::mirror::Object> replacement)
/art/test/570-checker-osr/smali/
DOsr.smali20 # This ensures we can do on-stack replacement for branches to those nop blocks.