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