Home
last modified time | relevance | path

Searched refs:environment (Results 1 – 25 of 41) 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.cc167 HEnvironment* environment = new (GetAllocator()) HEnvironment( in TEST_F() local
169 null_check->SetRawEnvironment(environment); in TEST_F()
170 environment->SetRawEnvAt(0, parameter); in TEST_F()
243 HEnvironment* environment = new (GetAllocator()) HEnvironment( in TEST_F() local
247 environment->CopyFrom(ArrayRef<HInstruction* const>(array)); in TEST_F()
248 with_environment->SetRawEnvironment(environment); in TEST_F()
268 environment->SetAndCopyParentChain(GetAllocator(), parent1); in TEST_F()
Dcode_generator.cc130 HEnvironment* environment = instruction->GetEnvironment(); in CheckTypeConsistency() local
132 if (environment->GetInstructionAt(i) != nullptr) { in CheckTypeConsistency()
133 DataType::Type type = environment->GetInstructionAt(i)->GetType(); in CheckTypeConsistency()
134 DCHECK(CheckType(type, environment->GetLocationAt(i))) in CheckTypeConsistency()
135 << type << " " << environment->GetLocationAt(i); in CheckTypeConsistency()
137 DCHECK(environment->GetLocationAt(i).IsInvalid()) in CheckTypeConsistency()
138 << environment->GetLocationAt(i); in CheckTypeConsistency()
1269 HEnvironment* const environment = instruction->GetEnvironment(); in RecordPcInfo() local
1270 if (environment != nullptr) { in RecordPcInfo()
1271 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()
Dcode_sinking.cc448 HEnvironment* environment = use.GetUser(); in SinkCodeToUncommonBranch() local
449 HInstruction* user = environment->GetHolder(); in SinkCodeToUncommonBranch()
478 HEnvironment* environment = use.GetUser(); in SinkCodeToUncommonBranch() local
479 HInstruction* user = environment->GetHolder(); in SinkCodeToUncommonBranch()
481 environment->RemoveAsUserOfInput(use.GetIndex()); in SinkCodeToUncommonBranch()
482 environment->SetRawEnvAt(use.GetIndex(), nullptr); in SinkCodeToUncommonBranch()
Dscheduler_test.cc133 HEnvironment* environment = new (GetAllocator()) HEnvironment(GetAllocator(), in TestBuildDependencyGraphAndSchedule() local
138 div_check->SetRawEnvironment(environment); in TestBuildDependencyGraphAndSchedule()
139 environment->SetRawEnvAt(0, add2); in TestBuildDependencyGraphAndSchedule()
141 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()
Dgraph_checker.cc633 for (HEnvironment* environment = instruction->GetEnvironment(); in VisitInstruction() local
634 environment != nullptr; in VisitInstruction()
635 environment = environment->GetParent()) { in VisitInstruction()
636 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in VisitInstruction()
637 HInstruction* env_instruction = environment->GetInstructionAt(i); in VisitInstruction()
659 const HEnvironment* environment = catch_block->GetFirstInstruction()->GetEnvironment(); in VisitInstruction() local
662 if (environment->GetInstructionAt(catch_phi->GetRegNumber()) == nullptr) { in VisitInstruction()
Dgraph_visualizer.cc680 for (HEnvironment* environment = instruction->GetEnvironment(); in PrintInstruction() local
681 environment != nullptr; in PrintInstruction()
682 environment = environment->GetParent()) { in PrintInstruction()
684 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in PrintInstruction()
685 HInstruction* insn = environment->GetInstructionAt(i); in PrintInstruction()
Dnodes.cc108 for (HEnvironment* environment = instruction->GetEnvironment(); in RemoveEnvironmentUses() local
109 environment != nullptr; in RemoveEnvironmentUses()
110 environment = environment->GetParent()) { in RemoveEnvironmentUses()
111 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in RemoveEnvironmentUses()
112 if (environment->GetInstructionAt(i) != nullptr) { in RemoveEnvironmentUses()
113 environment->RemoveAsUserOfInput(i); in RemoveEnvironmentUses()
121 for (HEnvironment* environment = instruction->GetEnvironment(); in HasEnvironmentUsedByOthers() local
122 environment != nullptr; in HasEnvironmentUsedByOthers()
123 environment = environment->GetParent()) { in HasEnvironmentUsedByOthers()
124 for (size_t i = 0, e = environment->Size(); i < e; ++i) { in HasEnvironmentUsedByOthers()
[all …]
Dssa_liveness_analysis.h168 EnvUsePosition(HEnvironment* environment, in EnvUsePosition() argument
171 : environment_(environment), in EnvUsePosition()
174 DCHECK(environment != nullptr); in EnvUsePosition()
315 HEnvironment* environment,
318 bool is_environment = (environment != nullptr);
367 new (allocator_) EnvUsePosition(environment, input_index, position);
/art/test/471-deopt-environment/
DAndroid.bp3 // Build rules for ART run-test `471-deopt-environment`.
16 name: "art-run-test-471-deopt-environment",
21 ":art-run-test-471-deopt-environment-expected-stdout",
22 ":art-run-test-471-deopt-environment-expected-stderr",
28 name: "art-run-test-471-deopt-environment-expected-stdout",
29 out: ["art-run-test-471-deopt-environment-expected-stdout.txt"],
36 name: "art-run-test-471-deopt-environment-expected-stderr",
37 out: ["art-run-test-471-deopt-environment-expected-stderr.txt"],
/art/test/
DREADME.atest.md52 3. by setting up a `chroot` environment on the device, and "activating" the
53 Testing ART APEX in that environment.
126 ### Running ART gtests on device using a `chroot` environment
137 gtests) and all the necessary dependencies for the `chroot` environment;
138 2. sets up a `chroot` environment on the device;
140 `chroot` environment;
141 4. runs the tests within the `chroot` environment; and
142 5. cleans up the environment (deactivates the APEXes and removes the `chroot`
143 environment).
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.
53 1. Initialize the environment:
77 3. Set up the environment to use a pre-built ADB:
83 1. Initialize the environment:
127 in the chroot environment):
DREADME.chroot_vm.md8 below. First, set up some environment variables used by the script (change as
41 for a few extra environment variables):
/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/2033-shutdown-mechanics/
Dinfo.txt2 in native code, the JNI environment is suitably adjusted so that we
/art/test/900-hello-plugin/
Dexpected-stdout.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/test/537-checker-debuggable/smali/
DTestCase.smali19 # The phi in this method has no actual uses but one environment use. It will

12