Home
last modified time | relevance | path

Searched refs:copy_instr (Results 1 – 3 of 3) sorted by relevance

/art/compiler/optimizing/
Dsuperblock_cloner.cc116 void SuperblockCloner::ReplaceInputsWithCopies(HInstruction* copy_instr) { in ReplaceInputsWithCopies() argument
117 DCHECK(!copy_instr->IsPhi()); in ReplaceInputsWithCopies()
118 for (size_t i = 0, e = copy_instr->InputCount(); i < e; i++) { in ReplaceInputsWithCopies()
120 HInstruction* orig_input = copy_instr->InputAt(i); in ReplaceInputsWithCopies()
128 copy_instr->SetRawInputAt(i, copy_input); in ReplaceInputsWithCopies()
132 void SuperblockCloner::DeepCloneEnvironmentWithRemapping(HInstruction* copy_instr, in DeepCloneEnvironmentWithRemapping() argument
135 DeepCloneEnvironmentWithRemapping(copy_instr, orig_env->GetParent()); in DeepCloneEnvironmentWithRemapping()
137 HEnvironment* copy_env = new (arena_) HEnvironment(arena_, *orig_env, copy_instr); in DeepCloneEnvironmentWithRemapping()
154 if (copy_instr->HasEnvironment()) { in DeepCloneEnvironmentWithRemapping()
155 copy_instr->InsertRawEnvironment(copy_env); in DeepCloneEnvironmentWithRemapping()
[all …]
Dsuperblock_cloner.h199 HInstruction* GetInstrOrig(HInstruction* copy_instr) const { in GetInstrOrig() argument
201 if (it.second == copy_instr) { in GetInstrOrig()
278 void ReplaceInputsWithCopies(HInstruction* copy_instr);
283 void DeepCloneEnvironmentWithRemapping(HInstruction* copy_instr, const HEnvironment* orig_env);
Dsuperblock_cloner_test.cc184 HInstruction* copy_instr = it.second; in TEST_F() local
186 EXPECT_EQ(cloner.GetBlockCopy(orig_instr->GetBlock()), copy_instr->GetBlock()); in TEST_F()
187 EXPECT_EQ(orig_instr->GetKind(), copy_instr->GetKind()); in TEST_F()
188 EXPECT_EQ(orig_instr->GetType(), copy_instr->GetType()); in TEST_F()
194 EXPECT_EQ(orig_instr->InputCount(), copy_instr->InputCount()); in TEST_F()
199 HInstruction* copy_input = copy_instr->InputAt(i); in TEST_F()
207 EXPECT_EQ(orig_instr->HasEnvironment(), copy_instr->HasEnvironment()); in TEST_F()
212 HEnvironment* copy_env = copy_instr->GetEnvironment(); in TEST_F()