Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dnodes.cc778 HInstruction* replacement) { in ReplaceAndRemoveInstructionWith() argument
782 DCHECK(replacement->IsControlFlow()); in ReplaceAndRemoveInstructionWith()
783 DCHECK_EQ(replacement->GetId(), -1); in ReplaceAndRemoveInstructionWith()
784 DCHECK_EQ(replacement->GetType(), Primitive::kPrimVoid); in ReplaceAndRemoveInstructionWith()
789 replacement->SetBlock(this); in ReplaceAndRemoveInstructionWith()
790 replacement->SetId(GetGraph()->GetNextInstructionId()); in ReplaceAndRemoveInstructionWith()
791 instructions_.InsertInstructionBefore(replacement, initial); in ReplaceAndRemoveInstructionWith()
792 UpdateInputsUsers(replacement); in ReplaceAndRemoveInstructionWith()
794 InsertInstructionBefore(replacement, initial); in ReplaceAndRemoveInstructionWith()
795 initial->ReplaceWith(replacement); in ReplaceAndRemoveInstructionWith()
[all …]
Dinduction_var_range.h133 void Replace(HInstruction* instruction, HInstruction* fetch, HInstruction* replacement);
311 HInstruction* replacement);
Dinstruction_simplifier.cc1192 HCondition* replacement = GetOppositeConditionSwapOps(block->GetGraph()->GetArena(), condition); in VisitCondition() local
1194 if (replacement != nullptr) { in VisitCondition()
1196 replacement->SetBias(ComparisonBias::kGtBias); in VisitCondition()
1198 replacement->SetBias(ComparisonBias::kLtBias); in VisitCondition()
1200 block->ReplaceAndRemoveInstructionWith(condition, replacement); in VisitCondition()
1203 condition = replacement; in VisitCondition()
1978 HInstruction* replacement; in SimplifyStringIsEmptyOrLength() local
1984 replacement = equal; in SimplifyStringIsEmptyOrLength()
1987 replacement = length; in SimplifyStringIsEmptyOrLength()
1989 invoke->GetBlock()->ReplaceAndRemoveInstructionWith(invoke, replacement); in SimplifyStringIsEmptyOrLength()
Dinduction_var_range.cc353 HInstruction* replacement) { in Replace() argument
358 ReplaceInduction(induction_analysis_->LookupInfo(lp, instruction), fetch, replacement); in Replace()
360 ReplaceInduction(induction_analysis_->LookupInfo(lp, GetLoopControl(lp)), fetch, replacement); in Replace()
1362 HInstruction* replacement) { in ReplaceInduction() argument
1367 info->fetch = replacement; in ReplaceInduction()
1369 ReplaceInduction(info->op_a, fetch, replacement); in ReplaceInduction()
1370 ReplaceInduction(info->op_b, fetch, replacement); in ReplaceInduction()
Dloop_optimization.cc1380 HInstruction* replacement = induction_range_.GenerateLastValue(instruction, graph_, block); in TryReplaceWithLastValue() local
1392 user->ReplaceInput(replacement, index); in TryReplaceWithLastValue()
1393 induction_range_.Replace(user, instruction, replacement); // update induction in TryReplaceWithLastValue()
1406 user->SetRawEnvAt(index, replacement); in TryReplaceWithLastValue()
1407 replacement->AddEnvUseAt(user, index); in TryReplaceWithLastValue()
Dbounds_check_elimination.cc1807 void ReplaceInstruction(HInstruction* instruction, HInstruction* replacement) { in ReplaceInstruction() argument
1813 instruction->ReplaceWith(replacement); in ReplaceInstruction()
Dnodes.h1146 HInstruction* replacement);
2111 void ReplaceUsesDominatedBy(HInstruction* dominator, HInstruction* replacement);
2112 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/test/569-checker-pattern-replacement/
Drun18 -Xcompiler-option --no-inline-from=core-oj,569-checker-pattern-replacement.jar:classes2.dex
/art/compiler/linker/
Drelative_patcher_test.h242 std::string replacement = oss.str(); in DumpDiff() local
243 expected_hex_str.replace(0u, remove * 3u, replacement); in DumpDiff()
244 linked_hex_str.replace(0u, remove * 3u, replacement); in DumpDiff()
245 diff_indicator_str.replace(0u, remove * 3u, replacement); in DumpDiff()
/art/test/570-checker-osr/smali/
DOsr.smali20 # This ensures we can do on-stack replacement for branches to those nop blocks.
/art/tools/
Dcpplint.py284 for op, replacement in [('==', 'EQ'), ('!=', 'NE'),
287 _CHECK_REPLACEMENT['DCHECK'][op] = 'DCHECK_%s' % replacement
288 _CHECK_REPLACEMENT['CHECK'][op] = 'CHECK_%s' % replacement
289 _CHECK_REPLACEMENT['EXPECT_TRUE'][op] = 'EXPECT_%s' % replacement
290 _CHECK_REPLACEMENT['ASSERT_TRUE'][op] = 'ASSERT_%s' % replacement
291 _CHECK_REPLACEMENT['EXPECT_TRUE_M'][op] = 'EXPECT_%s_M' % replacement
292 _CHECK_REPLACEMENT['ASSERT_TRUE_M'][op] = 'ASSERT_%s_M' % replacement