Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 25 of 115) sorted by relevance

12345

/art/test/530-checker-peel-unroll/smali/
DPeelUnroll.smali20 ## CHECK-DAG: <<Array:l\d+>> ParameterValue loop:none
21 ## CHECK-DAG: <<Const0:i\d+>> IntConstant 0 loop:none
22 ## CHECK-DAG: <<Const1:i\d+>> IntConstant 1 loop:none
23 ## CHECK-DAG: <<Const2:i\d+>> IntConstant 2 loop:none
24 ## CHECK-DAG: <<Const128:i\d+>> IntConstant 128 loop:none
25 ## CHECK-DAG: <<Limit:i\d+>> IntConstant 4094 loop:none
26 ## CHECK-DAG: <<PhiI:i\d+>> Phi [<<Const0>>,{{i\d+}}] loop:<<Loop:B\d+>> outer_…
27 ## CHECK-DAG: <<PhiS:i\d+>> Phi [<<Const128>>,{{i\d+}}] loop:<<Loop>> outer_…
28 ## CHECK-DAG: <<AddI:i\d+>> Add [<<PhiI>>,<<Const1>>] loop:<<Loop>> outer_…
29 ## CHECK-DAG: <<Check:z\d+>> GreaterThanOrEqual [<<PhiI>>,<<Limit>>] loop:<<Loop>> outer_…
[all …]
/art/compiler/optimizing/
Dinduction_var_analysis.cc67 static bool IsGuardedBy(const HLoopInformation* loop, in IsGuardedBy() argument
80 HBasicBlock* guard = loop->GetPreHeader(); in IsGuardedBy()
81 HBasicBlock* entry = loop->GetHeader(); in IsGuardedBy()
114 HInstruction* FindFirstLoopHeaderPhiUse(const HLoopInformation* loop, HInstruction* instruction) { in FindFirstLoopHeaderPhiUse() argument
116 if (use.GetUser()->GetBlock() == loop->GetHeader() && in FindFirstLoopHeaderPhiUse()
128 static bool FixOutsideUse(const HLoopInformation* loop, in FixOutsideUse() argument
138 if (user->GetBlock()->GetLoopInformation() != loop) { in FixOutsideUse()
152 if (user->GetHolder()->GetBlock()->GetLoopInformation() != loop) { in FixOutsideUse()
166 static bool RewriteBreakLoopBody(const HLoopInformation* loop, in RewriteBreakLoopBody() argument
173 for (HInstructionIterator it(loop->GetHeader()->GetPhis()); !it.Done(); it.Advance()) { in RewriteBreakLoopBody()
[all …]
Dinduction_var_range.cc154 static HInstruction* GetLoopControl(const HLoopInformation* loop) { in GetLoopControl() argument
155 DCHECK(loop != nullptr); in GetLoopControl()
156 return loop->GetHeader()->GetLastInstruction(); in GetLoopControl()
160 static bool IsContextInBody(const HBasicBlock* context, const HLoopInformation* loop) { in IsContextInBody() argument
161 DCHECK(loop != nullptr); in IsContextInBody()
164 return context != loop->GetHeader() && loop->Contains(*context); in IsContextInBody()
168 bool UseFullTripCount(const HBasicBlock* context, const HLoopInformation* loop, bool is_min) { in UseFullTripCount() argument
173 DCHECK(GetLoopControl(loop)->IsIf()); in UseFullTripCount()
174 DCHECK_NE(loop->Contains(*GetLoopControl(loop)->AsIf()->IfTrueSuccessor()), in UseFullTripCount()
175 loop->Contains(*GetLoopControl(loop)->AsIf()->IfFalseSuccessor())); in UseFullTripCount()
[all …]
Dinduction_var_range.h139 void ReVisit(const HLoopInformation* loop) { in ReVisit() argument
140 induction_analysis_->induction_.erase(loop); in ReVisit()
141 for (HInstructionIterator it(loop->GetHeader()->GetPhis()); !it.Done(); it.Advance()) { in ReVisit()
144 induction_analysis_->VisitLoop(loop); in ReVisit()
168 bool IsFinite(const HLoopInformation* loop, /*out*/ int64_t* trip_count) const;
173 bool HasKnownTripCount(const HLoopInformation* loop, /*out*/ int64_t* trip_count) const;
191 HInstruction* GenerateTripCount(const HLoopInformation* loop, HGraph* graph, HBasicBlock* block);
207 bool CheckForFiniteAndConstantProps(const HLoopInformation* loop,
216 const HLoopInformation* loop,
224 /*out*/ const HLoopInformation** loop,
[all …]
Dinduction_var_analysis.h126 const HLoopInformation* loop, in CreateInvariantOp() argument
131 return CreateSimplifiedInvariant(context, loop, op, a, b); in CreateInvariantOp()
159 void VisitLoop(const HLoopInformation* loop);
160 size_t TryVisitNodes(const HLoopInformation* loop,
165 void ClassifyTrivial(const HLoopInformation* loop, HInstruction* instruction);
166 void ClassifyNonTrivial(const HLoopInformation* loop, ArrayRef<const StackEntry> stack_tail);
172 InductionInfo* TransferPhi(const HLoopInformation* loop,
177 const HLoopInformation* loop,
183 const HLoopInformation* loop,
187 const HLoopInformation* loop,
[all …]
Dinduction_var_range_test.cc150 HLoopInformation loop(exit_block_, graph_); in CreateInvariant() local
152 return iva_->CreateInvariantOp(context, &loop, op, a, b); in CreateInvariant()
246 HLoopInformation loop(exit_block_, graph_); in NeedsTripCount() local
249 return range_.NeedsTripCount(context, &loop, info, &s); in NeedsTripCount()
263 HLoopInformation loop(exit_block_, graph_); in GetMin() local
265 return GetMin(context, &loop, info, trip); in GetMin()
269 HLoopInformation* loop, in GetMin() argument
272 return range_.GetVal(context, loop, info, trip, /*is_min=*/ true); in GetMin()
278 HLoopInformation loop(exit_block_, graph_); in GetMax() local
280 return GetMax(context, &loop, info, trip); in GetMax()
[all …]
/art/test/485-checker-dce-loop-update/smali/
DTestCase.smali32 ## CHECK-DAG: <<PhiX:i\d+>> Phi [<<ArgX>>,<<Add5:i\d+>>,<<Add7:i\d+>>] loop:<<HeaderY:B\d+>>
33 ## CHECK-DAG: If [<<ArgY>>] loop:<<HeaderY>>
34 ## CHECK-DAG: If [<<Cst1>>] loop:<<HeaderY>>
35 ## CHECK-DAG: <<Add5>> Add [<<PhiX>>,<<Cst5>>] loop:<<HeaderY>>
36 ## CHECK-DAG: <<Add7>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>>
37 ## CHECK-DAG: Return [<<PhiX>>] loop:none
43 ## CHECK-DAG: <<PhiX:i\d+>> Phi [<<ArgX>>,<<AddX:i\d+>>] loop:<<HeaderY:B\d+>>
44 ## CHECK-DAG: If [<<ArgY>>] loop:<<HeaderY>>
45 ## CHECK-DAG: <<AddX>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>>
46 ## CHECK-DAG: Return [<<PhiX>>] loop:none
[all …]
/art/test/624-checker-stringops/smali/
DSmali.smali84 …G: <<New:l\d+>> NewInstance loop:none
85 …ng1:l\d+>> LoadString loop:<<Loop:B\d+>>
86 …<Null1:l\d+>> NullCheck [<<New>>] loop:<<Loop>>
87 …<Append1:l\d+>> InvokeVirtual [<<Null1>>,<<String1>>] intrinsic:StringBufferAppend loop:<<Loop>>
88 …<String2:l\d+>> LoadString loop:<<Loop>>
89 …<Append2:l\d+>> InvokeVirtual [<<Append1>>,<<String2>>] intrinsic:StringBufferAppend loop:<<Loop>>
90 …<String3:l\d+>> LoadString loop:<<Loop>>
91 …<Append3:l\d+>> InvokeVirtual [<<Append2>>,<<String3>>] intrinsic:StringBufferAppend loop:<<Loop>>
92 …G: <<Null4:l\d+>> NullCheck [<<New>>] loop:none
93 …G: InvokeVirtual [<<Null4>>] intrinsic:StringBufferLength loop:none
[all …]
/art/test/696-loop/
DAndroid.bp3 // Build rules for ART run-test `696-loop`.
16 name: "art-run-test-696-loop",
21 ":art-run-test-696-loop-expected-stdout",
22 ":art-run-test-696-loop-expected-stderr",
28 name: "art-run-test-696-loop-expected-stdout",
29 out: ["art-run-test-696-loop-expected-stdout.txt"],
36 name: "art-run-test-696-loop-expected-stderr",
37 out: ["art-run-test-696-loop-expected-stderr.txt"],
/art/test/090-loop-formation/
DAndroid.bp3 // Build rules for ART run-test `090-loop-formation`.
16 name: "art-run-test-090-loop-formation",
21 ":art-run-test-090-loop-formation-expected-stdout",
22 ":art-run-test-090-loop-formation-expected-stderr",
28 name: "art-run-test-090-loop-formation-expected-stdout",
29 out: ["art-run-test-090-loop-formation-expected-stdout.txt"],
36 name: "art-run-test-090-loop-formation-expected-stderr",
37 out: ["art-run-test-090-loop-formation-expected-stderr.txt"],
/art/test/826-infinite-loop/
DAndroid.bp3 // Build rules for ART run-test `826-infinite-loop`.
16 name: "art-run-test-826-infinite-loop",
21 ":art-run-test-826-infinite-loop-expected-stdout",
22 ":art-run-test-826-infinite-loop-expected-stderr",
28 name: "art-run-test-826-infinite-loop-expected-stdout",
29 out: ["art-run-test-826-infinite-loop-expected-stdout.txt"],
36 name: "art-run-test-826-infinite-loop-expected-stderr",
37 out: ["art-run-test-826-infinite-loop-expected-stderr.txt"],
/art/test/597-deopt-busy-loop/
DAndroid.bp3 // Build rules for ART run-test `597-deopt-busy-loop`.
16 name: "art-run-test-597-deopt-busy-loop",
21 ":art-run-test-597-deopt-busy-loop-expected-stdout",
22 ":art-run-test-597-deopt-busy-loop-expected-stderr",
28 name: "art-run-test-597-deopt-busy-loop-expected-stdout",
29 out: ["art-run-test-597-deopt-busy-loop-expected-stdout.txt"],
36 name: "art-run-test-597-deopt-busy-loop-expected-stderr",
37 out: ["art-run-test-597-deopt-busy-loop-expected-stderr.txt"],
Dexpected-stdout.txt2 Simple loop finishing
3 Float loop finishing
4 Simd loop finishing
/art/test/656-loop-deopt/
DAndroid.bp3 // Build rules for ART run-test `656-loop-deopt`.
16 name: "art-run-test-656-loop-deopt",
21 ":art-run-test-656-loop-deopt-expected-stdout",
22 ":art-run-test-656-loop-deopt-expected-stderr",
28 name: "art-run-test-656-loop-deopt-expected-stdout",
29 out: ["art-run-test-656-loop-deopt-expected-stdout.txt"],
36 name: "art-run-test-656-loop-deopt-expected-stderr",
37 out: ["art-run-test-656-loop-deopt-expected-stderr.txt"],
/art/test/154-gc-loop/
DAndroid.bp3 // Build rules for ART run-test `154-gc-loop`.
16 name: "art-run-test-154-gc-loop",
21 ":art-run-test-154-gc-loop-expected-stdout",
22 ":art-run-test-154-gc-loop-expected-stderr",
28 name: "art-run-test-154-gc-loop-expected-stdout",
29 out: ["art-run-test-154-gc-loop-expected-stdout.txt"],
36 name: "art-run-test-154-gc-loop-expected-stderr",
37 out: ["art-run-test-154-gc-loop-expected-stderr.txt"],
/art/test/591-checker-regression-dead-loop/
DAndroid.bp3 // Build rules for ART run-test `591-checker-regression-dead-loop`.
16 name: "art-run-test-591-checker-regression-dead-loop",
21 ":art-run-test-591-checker-regression-dead-loop-expected-stdout",
22 ":art-run-test-591-checker-regression-dead-loop-expected-stderr",
31 name: "art-run-test-591-checker-regression-dead-loop-expected-stdout",
32 out: ["art-run-test-591-checker-regression-dead-loop-expected-stdout.txt"],
39 name: "art-run-test-591-checker-regression-dead-loop-expected-stderr",
40 out: ["art-run-test-591-checker-regression-dead-loop-expected-stderr.txt"],
/art/test/478-checker-inliner-nested-loop/
DAndroid.bp3 // Build rules for ART run-test `478-checker-inliner-nested-loop`.
16 name: "art-run-test-478-checker-inliner-nested-loop",
21 ":art-run-test-478-checker-inliner-nested-loop-expected-stdout",
22 ":art-run-test-478-checker-inliner-nested-loop-expected-stderr",
31 name: "art-run-test-478-checker-inliner-nested-loop-expected-stdout",
32 out: ["art-run-test-478-checker-inliner-nested-loop-expected-stdout.txt"],
39 name: "art-run-test-478-checker-inliner-nested-loop-expected-stderr",
40 out: ["art-run-test-478-checker-inliner-nested-loop-expected-stderr.txt"],
/art/test/623-checker-loop-regressions/
DAndroid.bp3 // Build rules for ART run-test `623-checker-loop-regressions`.
16 name: "art-run-test-623-checker-loop-regressions",
21 ":art-run-test-623-checker-loop-regressions-expected-stdout",
22 ":art-run-test-623-checker-loop-regressions-expected-stderr",
31 name: "art-run-test-623-checker-loop-regressions-expected-stdout",
32 out: ["art-run-test-623-checker-loop-regressions-expected-stdout.txt"],
39 name: "art-run-test-623-checker-loop-regressions-expected-stderr",
40 out: ["art-run-test-623-checker-loop-regressions-expected-stderr.txt"],
/art/test/1961-checker-loop-vectorizer/
DAndroid.bp3 // Build rules for ART run-test `1961-checker-loop-vectorizer`.
16 name: "art-run-test-1961-checker-loop-vectorizer",
21 ":art-run-test-1961-checker-loop-vectorizer-expected-stdout",
22 ":art-run-test-1961-checker-loop-vectorizer-expected-stderr",
31 name: "art-run-test-1961-checker-loop-vectorizer-expected-stdout",
32 out: ["art-run-test-1961-checker-loop-vectorizer-expected-stdout.txt"],
39 name: "art-run-test-1961-checker-loop-vectorizer-expected-stderr",
40 out: ["art-run-test-1961-checker-loop-vectorizer-expected-stderr.txt"],
/art/test/564-checker-inline-loop/
DAndroid.bp3 // Build rules for ART run-test `564-checker-inline-loop`.
16 name: "art-run-test-564-checker-inline-loop",
21 ":art-run-test-564-checker-inline-loop-expected-stdout",
22 ":art-run-test-564-checker-inline-loop-expected-stderr",
31 name: "art-run-test-564-checker-inline-loop-expected-stdout",
32 out: ["art-run-test-564-checker-inline-loop-expected-stdout.txt"],
39 name: "art-run-test-564-checker-inline-loop-expected-stderr",
40 out: ["art-run-test-564-checker-inline-loop-expected-stderr.txt"],
/art/test/482-checker-loop-back-edge-use/
DAndroid.bp3 // Build rules for ART run-test `482-checker-loop-back-edge-use`.
16 name: "art-run-test-482-checker-loop-back-edge-use",
21 ":art-run-test-482-checker-loop-back-edge-use-expected-stdout",
22 ":art-run-test-482-checker-loop-back-edge-use-expected-stderr",
31 name: "art-run-test-482-checker-loop-back-edge-use-expected-stdout",
32 out: ["art-run-test-482-checker-loop-back-edge-use-expected-stdout.txt"],
39 name: "art-run-test-482-checker-loop-back-edge-use-expected-stderr",
40 out: ["art-run-test-482-checker-loop-back-edge-use-expected-stderr.txt"],
/art/test/2233-checker-remove-loop-suspend-check/
DAndroid.bp3 // Build rules for ART run-test `2233-checker-remove-loop-suspend-check`.
16 name: "art-run-test-2233-checker-remove-loop-suspend-check",
21 ":art-run-test-2233-checker-remove-loop-suspend-check-expected-stdout",
22 ":art-run-test-2233-checker-remove-loop-suspend-check-expected-stderr",
31 name: "art-run-test-2233-checker-remove-loop-suspend-check-expected-stdout",
32 out: ["art-run-test-2233-checker-remove-loop-suspend-check-expected-stdout.txt"],
39 name: "art-run-test-2233-checker-remove-loop-suspend-check-expected-stderr",
40 out: ["art-run-test-2233-checker-remove-loop-suspend-check-expected-stderr.txt"],
/art/test/2249-checker-return-try-boundary-exit-in-loop/
DAndroid.bp3 // Build rules for ART run-test `2249-checker-return-try-boundary-exit-in-loop`.
16 name: "art-run-test-2249-checker-return-try-boundary-exit-in-loop",
21 ":art-run-test-2249-checker-return-try-boundary-exit-in-loop-expected-stdout",
22 ":art-run-test-2249-checker-return-try-boundary-exit-in-loop-expected-stderr",
31 name: "art-run-test-2249-checker-return-try-boundary-exit-in-loop-expected-stdout",
32 out: ["art-run-test-2249-checker-return-try-boundary-exit-in-loop-expected-stdout.txt"],
39 name: "art-run-test-2249-checker-return-try-boundary-exit-in-loop-expected-stderr",
40 out: ["art-run-test-2249-checker-return-try-boundary-exit-in-loop-expected-stderr.txt"],
/art/test/547-regression-trycatch-critic-edge/smali/
DTestCase.smali19 # the outer loop would have a smaller liveness position than the two back edges
20 # of the inner loop. This was caused by a bug which did not split the critical
21 # edge between TryBoundary and outer loop header (b/25493695).
29 move v2, p0 # v2 = outer loop counter
36 move v3, p1 # v3 = inner loop counter
39 if-eqz v3, :outer_loop # back edge of outer loop
44 goto :inner_loop # back edge of inner loop
52 goto :inner_loop # back edge of inner loop
/art/test/478-checker-inline-noreturn/
Dinfo.txt1 Tests inlining a function with a no-exit loop into a loop. LinearOrder
3 a loop without an exit.

12345