Lines Matching refs:environment
99 for (HEnvironment* environment = instruction->GetEnvironment(); in RemoveEnvironmentUses() local
100 environment != nullptr; in RemoveEnvironmentUses()
101 environment = environment->GetParent()) { in RemoveEnvironmentUses()
102 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in RemoveEnvironmentUses()
103 if (environment->GetInstructionAt(i) != nullptr) { in RemoveEnvironmentUses()
104 environment->RemoveAsUserOfInput(i); in RemoveEnvironmentUses()
112 for (HEnvironment* environment = instruction->GetEnvironment(); in HasEnvironmentUsedByOthers() local
113 environment != nullptr; in HasEnvironmentUsedByOthers()
114 environment = environment->GetParent()) { in HasEnvironmentUsedByOthers()
115 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in HasEnvironmentUsedByOthers()
116 HInstruction* user = environment->GetInstructionAt(i); in HasEnvironmentUsedByOthers()
127 for (HEnvironment* environment = instruction->GetEnvironment(); in ResetEnvironmentInputRecords() local
128 environment != nullptr; in ResetEnvironmentInputRecords()
129 environment = environment->GetParent()) { in ResetEnvironmentInputRecords()
130 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in ResetEnvironmentInputRecords()
131 DCHECK(environment->GetHolder() == instruction); in ResetEnvironmentInputRecords()
132 if (environment->GetInstructionAt(i) != nullptr) { in ResetEnvironmentInputRecords()
133 environment->SetRawEnvAt(i, nullptr); in ResetEnvironmentInputRecords()