Searched defs:environment (Results 1 - 8 of 8) sorted by path

/art/compiler/optimizing/
H A Dcode_generator.cc119 HEnvironment* environment = instruction->GetEnvironment(); local
121 if (environment->GetInstructionAt(i) != nullptr) {
122 Primitive::Type type = environment->GetInstructionAt(i)->GetType();
123 DCHECK(CheckType(type, environment->GetLocationAt(i)))
124 << type << " " << environment->GetLocationAt(i);
126 DCHECK(environment->GetLocationAt(i).IsInvalid())
127 << environment->GetLocationAt(i);
729 for (HEnvironment* environment = instruction->GetEnvironment();
730 environment != nullptr;
731 environment
787 HEnvironment* environment = instruction->GetEnvironment(); local
899 EmitEnvironment(HEnvironment* environment, SlowPathCode* slow_path) argument
[all...]
H A Dgraph_checker.cc377 // Ensure the environment uses entries are consistent.
423 AddError(StringPrintf("Instruction %s:%d in block %d requires an environment "
430 // Ensure an instruction having an environment is dominated by the
431 // instructions contained in the environment.
432 for (HEnvironment* environment = instruction->GetEnvironment();
433 environment != nullptr;
434 environment = environment->GetParent()) {
435 for (size_t i = 0, e = environment->Size(); i < e; ++i) {
436 HInstruction* env_instruction = environment
463 HEnvironment* environment = instruction->GetEnvironment(); local
[all...]
H A Dinstruction_builder.cc205 HEnvironment* environment = new (arena_) HEnvironment( local
213 environment->CopyFrom(*current_locals_);
214 instruction->SetRawEnvironment(environment);
294 // But we're still creating the environment with locals from the top of the block.
H A Dlicm.cc27 * 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 Dnodes.h1687 void CopyFrom(HEnvironment* environment);
1691 // require an environment (like HDeoptimization) in the loop pre-header.
1750 // The instruction that holds this environment.
1901 void SetRawEnvironment(HEnvironment* environment) { argument
1903 DCHECK_EQ(environment->GetHolder(), this);
1904 environment_ = environment;
1909 // Set the environment of this instruction, copying it from `environment`. While
1911 void CopyEnvironmentFrom(HEnvironment* environment) { argument
1914 environment_ = new (allocator) HEnvironment(allocator, *environment, thi
1921 CopyEnvironmentFromWithLoopPhiAdjustment(HEnvironment* environment, HBasicBlock* block) argument
[all...]
H A Dnodes_test.cc27 * and environment lists.
54 HEnvironment* environment = new (&allocator) HEnvironment( local
56 null_check->SetRawEnvironment(environment);
57 environment->SetRawEnvAt(0, parameter);
139 HEnvironment* environment = new (&allocator) HEnvironment( local
144 environment->CopyFrom(array);
145 with_environment->SetRawEnvironment(environment);
165 environment->SetAndCopyParentChain(&allocator, parent1);
H A Dregister_allocator.cc1652 // Walk over the environment uses, and update their locations.
1660 HEnvironment* environment = env_use->GetEnvironment(); local
1661 environment->SetLocationAt(env_use->GetInputIndex(), source);
H A Dssa_liveness_analysis.h107 HEnvironment* environment,
112 environment_(environment),
116 DCHECK(environment == nullptr || user == nullptr);
235 DCHECK(first_env_use_ == nullptr) << "A temporary cannot have environment user";
238 instruction, /* environment */ nullptr, temp_index, position, first_use_);
242 // Record use of an input. The use will be recorded as an environment use if
243 // `environment` is not null and as register use otherwise. If `actual_user`
246 HEnvironment* environment,
250 bool is_environment = (environment != nullptr);
287 instruction, nullptr /* environment */, input_inde
106 UsePosition(HInstruction* user, HEnvironment* environment, size_t input_index, size_t position, UsePosition* next) argument
245 AddUse(HInstruction* instruction, HEnvironment* environment, size_t input_index, HInstruction* actual_user = nullptr, bool keep_alive = false) argument
[all...]

Completed in 36 milliseconds