Searched defs:environment (Results 1 - 7 of 7) sorted by relevance
/art/compiler/optimizing/ |
H A D | licm.cc | 27 * Returns whether `instruction` has all its inputs and environment defined 42 for (HEnvironment* environment = instruction->GetEnvironment(); 43 environment != nullptr; 44 environment = environment->GetParent()) { 45 for (size_t i = 0, e = environment->Size(); i < e; ++i) { 46 HInstruction* input = environment->GetInstructionAt(i); 50 // We can move an instruction that takes a loop header phi in the environment: 64 * If `environment` has a loop header phi, we replace it with its first input. 66 static void UpdateLoopPhisIn(HEnvironment* environment, HLoopInformatio argument [all...] |
H A D | nodes_test.cc | 27 * and environment lists. 53 HEnvironment* environment = new (&allocator) HEnvironment( local 55 null_check->SetRawEnvironment(environment); 56 environment->SetRawEnvAt(0, parameter); 134 HEnvironment* environment = new (&allocator) HEnvironment( local 139 environment->CopyFrom(array); 140 with_environment->SetRawEnvironment(environment); 160 environment->SetAndCopyParentChain(&allocator, parent1);
|
H A D | ssa_builder.cc | 67 // phis that have environment uses and updating their types. If an 233 // (with the exception of loops) in order to create the right environment for that 294 // all environment uses of the dead phi to use its equivalent. Note that there 302 // If the phi is not dead, or has no environment uses, there is nothing to do. 314 // We found a live phi equivalent. Update the environment uses of `phi` with it. 411 // - Instructions that require an environment: populate their environment 557 HEnvironment* environment = new (GetGraph()->GetArena()) HEnvironment( local 563 environment->CopyFrom(*current_locals_); 564 instruction->SetRawEnvironment(environment); [all...] |
H A D | code_generator.cc | 100 HEnvironment* environment = instruction->GetEnvironment(); local 102 if (environment->GetInstructionAt(i) != nullptr) { 103 Primitive::Type type = environment->GetInstructionAt(i)->GetType(); 104 DCHECK(CheckType(type, environment->GetLocationAt(i))) 105 << type << " " << environment->GetLocationAt(i); 107 DCHECK(environment->GetLocationAt(i).IsInvalid()) 108 << environment->GetLocationAt(i); 675 HEnvironment* environment = instruction->GetEnvironment(); local 695 if (environment != nullptr) { 696 // TODO: Handle parent environment [all...] |
H A D | register_allocator.cc | 1537 // Walk over the environment uses, and update their locations. 1545 HEnvironment* environment = env_use->GetUser()->GetEnvironment(); local 1546 environment->SetLocationAt(env_use->GetInputIndex(), source);
|
H A D | ssa_liveness_analysis.h | 107 HEnvironment* environment, 112 environment_(environment), 237 DCHECK(first_env_use_ == nullptr) << "A temporary cannot have environment user"; 240 instruction, /* environment */ nullptr, temp_index, position, first_use_); 245 HEnvironment* environment, 249 bool is_environment = (environment != nullptr); 283 instruction, environment, input_index, position, cursor->GetNext()); 293 instruction, environment, input_index, position, first_env_use_); 296 instruction, environment, input_index, position, first_use_); 300 // If this environment us 106 UsePosition(HInstruction* user, HEnvironment* environment, size_t input_index, size_t position, UsePosition* next) argument 244 AddUse(HInstruction* instruction, HEnvironment* environment, size_t input_index, bool keep_alive = false) argument [all...] |
H A D | nodes.h | 1151 void CopyFrom(HEnvironment* environment); 1155 // require an environment (like HDeoptimization) in the loop pre-header. 1193 // Record instructions' use entries of this environment for constant-time removal. 1194 // It should only be called by HInstruction when a new environment use is added. 1340 " does not need an environment"; 1414 void SetRawEnvironment(HEnvironment* environment) { environment_ = environment; } argument 1416 // Set the environment of this instruction, copying it from `environment`. While 1418 void CopyEnvironmentFrom(HEnvironment* environment) { argument 1432 CopyEnvironmentFromWithLoopPhiAdjustment(HEnvironment* environment, HBasicBlock* block) argument [all...] |
Completed in 112 milliseconds