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.h201 HInstruction* GetInstrOrig(HInstruction* copy_instr) const { in GetInstrOrig() argument
203 if (it.second == copy_instr) { in GetInstrOrig()
280 void ReplaceInputsWithCopies(HInstruction* copy_instr);
285 void DeepCloneEnvironmentWithRemapping(HInstruction* copy_instr, const HEnvironment* orig_env);
Dsuperblock_cloner_test.cc180 HInstruction* copy_instr = it.second; in TEST_F() local
182 EXPECT_EQ(cloner.GetBlockCopy(orig_instr->GetBlock()), copy_instr->GetBlock()); in TEST_F()
183 EXPECT_EQ(orig_instr->GetKind(), copy_instr->GetKind()); in TEST_F()
184 EXPECT_EQ(orig_instr->GetType(), copy_instr->GetType()); in TEST_F()
190 EXPECT_EQ(orig_instr->InputCount(), copy_instr->InputCount()); in TEST_F()
195 HInstruction* copy_input = copy_instr->InputAt(i); in TEST_F()
203 EXPECT_EQ(orig_instr->HasEnvironment(), copy_instr->HasEnvironment()); in TEST_F()
208 HEnvironment* copy_env = copy_instr->GetEnvironment(); in TEST_F()