Home
last modified time | relevance | path

Searched refs:environment (Results 1 – 25 of 36) 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.cc126 HEnvironment* environment = instruction->GetEnvironment(); in CheckTypeConsistency() local
128 if (environment->GetInstructionAt(i) != nullptr) { in CheckTypeConsistency()
129 DataType::Type type = environment->GetInstructionAt(i)->GetType(); in CheckTypeConsistency()
130 DCHECK(CheckType(type, environment->GetLocationAt(i))) in CheckTypeConsistency()
131 << type << " " << environment->GetLocationAt(i); in CheckTypeConsistency()
133 DCHECK(environment->GetLocationAt(i).IsInvalid()) in CheckTypeConsistency()
134 << environment->GetLocationAt(i); in CheckTypeConsistency()
1224 HEnvironment* const environment = instruction->GetEnvironment(); in RecordPcInfo() local
1225 if (environment != nullptr) { in RecordPcInfo()
1226 HEnvironment* outer_environment = environment; in RecordPcInfo()
[all …]
Doptimizing_unit_test.h237 HEnvironment* environment = new (GetAllocator()) HEnvironment( in ManuallyBuildEnvFor() local
244 environment->CopyFrom(ArrayRef<HInstruction* const>(*current_locals)); in ManuallyBuildEnvFor()
245 instruction->SetRawEnvironment(environment); in ManuallyBuildEnvFor()
246 return environment; in ManuallyBuildEnvFor()
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()
Dgraph_checker.cc483 for (HEnvironment* environment = instruction->GetEnvironment(); in VisitInstruction() local
484 environment != nullptr; in VisitInstruction()
485 environment = environment->GetParent()) { in VisitInstruction()
486 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in VisitInstruction()
487 HInstruction* env_instruction = environment->GetInstructionAt(i); in VisitInstruction()
513 HEnvironment* environment = instruction->GetEnvironment(); in VisitInstruction() local
514 while (environment->GetParent() != nullptr) { in VisitInstruction()
515 environment = environment->GetParent(); in VisitInstruction()
524 if (environment->GetInstructionAt(catch_phi->GetRegNumber()) == nullptr) { in VisitInstruction()
Dscheduler_test.cc132 HEnvironment* environment = new (GetAllocator()) HEnvironment(GetAllocator(), in TestBuildDependencyGraphAndSchedule() local
137 div_check->SetRawEnvironment(environment); in TestBuildDependencyGraphAndSchedule()
138 environment->SetRawEnvAt(0, add2); in TestBuildDependencyGraphAndSchedule()
140 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.cc99 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()
[all …]
Dgraph_visualizer.cc616 for (HEnvironment* environment = instruction->GetEnvironment(); in PrintInstruction() local
617 environment != nullptr; in PrintInstruction()
618 environment = environment->GetParent()) { in PrintInstruction()
620 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in PrintInstruction()
621 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);
/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/471-deopt-environment/
DAndroid.bp3 name: "art-run-test-471-deopt-environment",
/art/test/2033-shutdown-mechanics/
Dinfo.txt2 in native code, the JNI environment is suitably adjusted so that we
/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/
DREADME.chroot.md3 This file documents the use of a chroot environment in on-device testing of the
10 The Android Runtime (ART) supports testing in a chroot-based environment, by
15 within this environment.
80 in the chroot environment):
DREADME.md32 `default-check`). These scripts rely on environment variables set by
74 recommended approach is to run these tests in a chroot environment (see
85 ART also supports running target (device) tests in a chroot environment (see
/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/test/537-checker-debuggable/smali/
DTestCase.smali19 # The phi in this method has no actual uses but one environment use. It will

12