Home
last modified time | relevance | path

Searched refs:environment (Results 1 – 25 of 31) sorted by relevance

12

/art/compiler/optimizing/
Dlicm.cc43 for (HEnvironment* environment = instruction->GetEnvironment(); in InputsAreDefinedBeforeLoop() local
44 environment != nullptr; in InputsAreDefinedBeforeLoop()
45 environment = environment->GetParent()) { in InputsAreDefinedBeforeLoop()
46 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in InputsAreDefinedBeforeLoop()
47 HInstruction* input = environment->GetInstructionAt(i); in InputsAreDefinedBeforeLoop()
67 static void UpdateLoopPhisIn(HEnvironment* environment, HLoopInformation* info) { in UpdateLoopPhisIn() argument
68 for (; environment != nullptr; environment = environment->GetParent()) { in UpdateLoopPhisIn()
69 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in UpdateLoopPhisIn()
70 HInstruction* input = environment->GetInstructionAt(i); in UpdateLoopPhisIn()
72 environment->RemoveAsUserOfInput(i); in UpdateLoopPhisIn()
[all …]
Dnodes_test.cc54 HEnvironment* environment = new (GetAllocator()) HEnvironment( in TEST_F() local
56 null_check->SetRawEnvironment(environment); in TEST_F()
57 environment->SetRawEnvAt(0, parameter); in TEST_F()
130 HEnvironment* environment = new (GetAllocator()) HEnvironment( in TEST_F() local
134 environment->CopyFrom(ArrayRef<HInstruction* const>(array)); in TEST_F()
135 with_environment->SetRawEnvironment(environment); in TEST_F()
155 environment->SetAndCopyParentChain(GetAllocator(), parent1); in TEST_F()
Dcode_sinking.cc348 HEnvironment* environment = use.GetUser(); in SinkCodeToUncommonBranch() local
349 HInstruction* user = environment->GetHolder(); in SinkCodeToUncommonBranch()
378 HEnvironment* environment = use.GetUser(); in SinkCodeToUncommonBranch() local
379 HInstruction* user = environment->GetHolder(); in SinkCodeToUncommonBranch()
381 environment->RemoveAsUserOfInput(use.GetIndex()); in SinkCodeToUncommonBranch()
382 environment->SetRawEnvAt(use.GetIndex(), nullptr); in SinkCodeToUncommonBranch()
Dcode_generator.cc132 HEnvironment* environment = instruction->GetEnvironment(); in CheckTypeConsistency() local
134 if (environment->GetInstructionAt(i) != nullptr) { in CheckTypeConsistency()
135 DataType::Type type = environment->GetInstructionAt(i)->GetType(); in CheckTypeConsistency()
136 DCHECK(CheckType(type, environment->GetLocationAt(i))) in CheckTypeConsistency()
137 << type << " " << environment->GetLocationAt(i); in CheckTypeConsistency()
139 DCHECK(environment->GetLocationAt(i).IsInvalid()) in CheckTypeConsistency()
140 << environment->GetLocationAt(i); in CheckTypeConsistency()
1097 HEnvironment* const environment = instruction->GetEnvironment(); in RecordPcInfo() local
1098 if (environment != nullptr) { in RecordPcInfo()
1099 HEnvironment* outer_environment = environment; in RecordPcInfo()
[all …]
Dssa_liveness_analysis.cc143 for (HEnvironment* environment = current->GetEnvironment(); in ProcessEnvironment() local
144 environment != nullptr; in ProcessEnvironment()
145 environment = environment->GetParent()) { in ProcessEnvironment()
148 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in ProcessEnvironment()
149 HInstruction* instruction = environment->GetInstructionAt(i); in ProcessEnvironment()
160 environment, in ProcessEnvironment()
Doptimizing_unit_test.h240 HEnvironment* environment = new (GetAllocator()) HEnvironment( in ManuallyBuildEnvFor() local
247 environment->CopyFrom(ArrayRef<HInstruction* const>(*current_locals)); in ManuallyBuildEnvFor()
248 instruction->SetRawEnvironment(environment); in ManuallyBuildEnvFor()
249 return environment; in ManuallyBuildEnvFor()
Dgraph_checker.cc482 for (HEnvironment* environment = instruction->GetEnvironment(); in VisitInstruction() local
483 environment != nullptr; in VisitInstruction()
484 environment = environment->GetParent()) { in VisitInstruction()
485 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in VisitInstruction()
486 HInstruction* env_instruction = environment->GetInstructionAt(i); in VisitInstruction()
512 HEnvironment* environment = instruction->GetEnvironment(); in VisitInstruction() local
513 while (environment->GetParent() != nullptr) { in VisitInstruction()
514 environment = environment->GetParent(); in VisitInstruction()
523 if (environment->GetInstructionAt(catch_phi->GetRegNumber()) == nullptr) { in VisitInstruction()
Dscheduler_test.cc138 HEnvironment* environment = new (GetAllocator()) HEnvironment(GetAllocator(), in TestBuildDependencyGraphAndSchedule() local
143 div_check->SetRawEnvironment(environment); in TestBuildDependencyGraphAndSchedule()
144 environment->SetRawEnvAt(0, add2); in TestBuildDependencyGraphAndSchedule()
146 environment->SetRawEnvAt(1, mul); in TestBuildDependencyGraphAndSchedule()
Dprepare_for_register_allocation.cc89 HEnvironment* environment = new (allocator) HEnvironment(allocator, in VisitBoundsCheck() local
94 check->InsertRawEnvironment(environment); in VisitBoundsCheck()
Dnodes.cc100 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()
[all …]
Dgraph_visualizer.cc613 for (HEnvironment* environment = instruction->GetEnvironment(); in PrintInstruction() local
614 environment != nullptr; in PrintInstruction()
615 environment = environment->GetParent()) { in PrintInstruction()
617 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in PrintInstruction()
618 HInstruction* insn = environment->GetInstructionAt(i); in PrintInstruction()
Dssa_liveness_analysis.h167 EnvUsePosition(HEnvironment* environment, in EnvUsePosition() argument
170 : environment_(environment), in EnvUsePosition()
173 DCHECK(environment != nullptr); in EnvUsePosition()
314 HEnvironment* environment,
317 bool is_environment = (environment != nullptr);
366 new (allocator_) EnvUsePosition(environment, input_index, position);
Dnodes.h1951 void CopyFrom(HEnvironment* environment);
2240 void SetRawEnvironment(HEnvironment* environment) { in SetRawEnvironment() argument
2242 DCHECK_EQ(environment->GetHolder(), this); in SetRawEnvironment()
2243 environment_ = environment; in SetRawEnvironment()
2246 void InsertRawEnvironment(HEnvironment* environment) { in InsertRawEnvironment() argument
2248 DCHECK_EQ(environment->GetHolder(), this); in InsertRawEnvironment()
2249 DCHECK(environment->GetParent() == nullptr); in InsertRawEnvironment()
2250 environment->parent_ = environment_; in InsertRawEnvironment()
2251 environment_ = environment; in InsertRawEnvironment()
2258 void CopyEnvironmentFrom(HEnvironment* environment) { in CopyEnvironmentFrom() argument
[all …]
/art/test/552-checker-primitive-typeprop/
Dinfo.txt1 Test that phis with environment uses which can be properly typed are kept
/art/test/656-loop-deopt/
Dinfo.txt2 remove environment uses of HDeoptimize instructions.
/art/test/469-condition-materialization/
Dinfo.txt2 materialize a condition when used only by an environment.
/art/test/900-hello-plugin/
Dexpected.txt5 GetEnv returned '900' environment!
/art/test/550-checker-regression-wide-store/
Dinfo.txt2 would not invalidate the low vreg. The resulting environment would generate
/art/test/431-type-propagation/smali/
DTypePropagation.smali33 # Do a call to create an environment that will capture all Dex registers.
34 # This environment is the reason why a phi is created at the join block
/art/test/552-checker-primitive-typeprop/smali/
DSsaBuilder.smali18 # Check that a dead phi with a live equivalent is replaced in an environment. The
20 # contains a phi that is interpreted as int for the environment, and as float for
/art/tools/dexfuzz/src/dexfuzz/executors/
DDevice.java198 processBuilder.environment().put("ANDROID_ROOT", androidHostOut); in executeCommand()
200 processBuilder.environment().put("ANDROID_DATA", androidData); in executeCommand()
/art/
D.vpython11 # compilation environment. All of these packages are built using:
/art/test/537-checker-debuggable/smali/
DTestCase.smali19 # The phi in this method has no actual uses but one environment use. It will
/art/test/596-checker-dead-phi/smali/
DIrreducibleLoop.smali23 # Check that the outer loop suspend check environment only has the parameter vreg.
/art/test/550-checker-regression-wide-store/smali/
DTestCase.smali54 # cannot be detected from runtime so we only test the environment with Checker.

12