/art/compiler/optimizing/ |
D | nodes.cc | 778 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 …]
|
D | induction_var_range.h | 133 void Replace(HInstruction* instruction, HInstruction* fetch, HInstruction* replacement); 311 HInstruction* replacement);
|
D | instruction_simplifier.cc | 1192 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()
|
D | induction_var_range.cc | 353 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()
|
D | loop_optimization.cc | 1380 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()
|
D | bounds_check_elimination.cc | 1807 void ReplaceInstruction(HInstruction* instruction, HInstruction* replacement) { in ReplaceInstruction() argument 1813 instruction->ReplaceWith(replacement); in ReplaceInstruction()
|
D | nodes.h | 1146 HInstruction* replacement); 2111 void ReplaceUsesDominatedBy(HInstruction* dominator, HInstruction* replacement); 2112 void ReplaceInput(HInstruction* replacement, size_t index);
|
/art/test/986-native-method-bind/ |
D | info.txt | 1 Tests native-method-bind callback and native method replacement.
|
/art/test/569-checker-pattern-replacement/ |
D | run | 18 -Xcompiler-option --no-inline-from=core-oj,569-checker-pattern-replacement.jar:classes2.dex
|
/art/compiler/linker/ |
D | relative_patcher_test.h | 242 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/ |
D | Osr.smali | 20 # This ensures we can do on-stack replacement for branches to those nop blocks.
|
/art/tools/ |
D | cpplint.py | 284 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
|