Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 68) sorted by relevance

123

/art/compiler/optimizing/
Dlive_ranges_test.cc72 LiveRange* range = interval->GetFirstRange(); in TEST_F() local
73 ASSERT_EQ(2u, range->GetStart()); in TEST_F()
75 ASSERT_EQ(8u, range->GetEnd()); in TEST_F()
79 ASSERT_TRUE(range->GetNext() == nullptr); in TEST_F()
116 LiveRange* range = interval->GetFirstRange(); in TEST_F() local
117 ASSERT_EQ(2u, range->GetStart()); in TEST_F()
119 ASSERT_EQ(22u, range->GetEnd()); in TEST_F()
123 ASSERT_TRUE(range->GetNext() == nullptr); in TEST_F()
164 LiveRange* range = interval->GetFirstRange(); in TEST_F() local
165 ASSERT_EQ(4u, range->GetStart()); in TEST_F()
[all …]
Dlive_interval_test.cc290 LiveRange* range = interval->GetFirstRange(); in TEST() local
291 ASSERT_TRUE(range->GetNext() == nullptr); in TEST()
292 ASSERT_EQ(range->GetStart(), 0u); in TEST()
293 ASSERT_EQ(range->GetEnd(), 8u); in TEST()
301 LiveRange* range = interval->GetFirstRange(); in TEST() local
302 ASSERT_TRUE(range->GetNext() == nullptr); in TEST()
303 ASSERT_EQ(range->GetStart(), 0u); in TEST()
304 ASSERT_EQ(range->GetEnd(), 8u); in TEST()
312 LiveRange* range = interval->GetFirstRange(); in TEST() local
313 ASSERT_TRUE(range->GetNext() == nullptr); in TEST()
[all …]
Dbounds_check_elimination.cc320 virtual ValueRange* Narrow(ValueRange* range) { in Narrow() argument
321 if (range == nullptr) { in Narrow()
325 if (range->IsMonotonicValueRange()) { in Narrow()
331 ValueBound::NarrowLowerBound(lower_, range->lower_), in Narrow()
332 ValueBound::NarrowUpperBound(upper_, range->upper_)); in Narrow()
405 ValueRange* Narrow(ValueRange* range) override { in Narrow() argument
406 if (range == nullptr) { in Narrow()
409 DCHECK(!range->IsMonotonicValueRange()); in Narrow()
413 ValueBound lower = ValueBound::NarrowLowerBound(bound_, range->GetLower()); in Narrow()
428 ValueBound upper_bound = range->GetUpper(); in Narrow()
[all …]
Dregister_allocation_resolver.cc327 LiveRange* range = current->GetFirstRange(); in ConnectSiblings() local
328 while (range != nullptr) { in ConnectSiblings()
331 size_t range_begin = range->GetStart(); in ConnectSiblings()
332 size_t range_end = range->GetEnd() + 1u; in ConnectSiblings()
339 DCHECK(current->CoversSlow(use.GetPosition()) || (use.GetPosition() == range->GetEnd())); in ConnectSiblings()
365 || (env_use.GetPosition() == range->GetEnd())); in ConnectSiblings()
371 range = range->GetNext(); in ConnectSiblings()
/art/test/701-easy-div-rem/
DgenMain.py22 [('CheckDiv', 'idiv_by_pow2_', [2**i for i in range(upper_bound_int_pow2)]),
23 ('CheckDiv', 'idiv_by_pow2_neg_', [-2**i for i in range(upper_bound_int_pow2_neg)]),
24 ('CheckDiv', 'idiv_by_constant_', [i for i in range(1, upper_bound_constant)]),
25 ('CheckDiv', 'idiv_by_constant_neg_', [-i for i in range(1, upper_bound_constant)]),
26 ('CheckRem', 'irem_by_pow2_', [2**i for i in range(upper_bound_int_pow2)]),
27 ('CheckRem', 'irem_by_pow2_neg_', [-2**i for i in range(upper_bound_int_pow2_neg)]),
28 ('CheckRem', 'irem_by_constant_', [i for i in range(1, upper_bound_constant)]),
29 ('CheckRem', 'irem_by_constant_neg_', [-i for i in range(1, upper_bound_constant)])]),
31 [('CheckDiv', 'ldiv_by_pow2_', [2**i for i in range(upper_bound_long_pow2)]),
32 ('CheckDiv', 'ldiv_by_pow2_neg_', [-2**i for i in range(upper_bound_long_pow2_neg)]),
[all …]
/art/libartbase/base/
Dutils_test.cc128 auto range = SplitString("[ab[c[[d[e[", '['); in TEST_F() local
129 auto it = range.begin(); in TEST_F()
130 EXPECT_FALSE(it == range.end()); in TEST_F()
132 EXPECT_FALSE(it == range.end()); in TEST_F()
134 EXPECT_FALSE(it == range.end()); in TEST_F()
136 EXPECT_FALSE(it == range.end()); in TEST_F()
138 EXPECT_FALSE(it == range.end()); in TEST_F()
140 EXPECT_FALSE(it == range.end()); in TEST_F()
142 EXPECT_FALSE(it == range.end()); in TEST_F()
144 EXPECT_TRUE(it == range.end()); in TEST_F()
[all …]
Dtransform_iterator.h171 auto MakeTransformRange(BaseRange& range, Function f) { in MakeTransformRange() argument
172 return MakeIterationRange(MakeTransformIterator(range.begin(), f), in MakeTransformRange()
173 MakeTransformIterator(range.end(), f)); in MakeTransformRange()
Dbit_table.h312 auto range = dedup_.equal_range(hash);
313 for (auto it = range.first; it != range.second; ++it) {
422 auto range = dedup_.equal_range(hash); in Dedup() local
423 for (auto it = range.first; it != range.second; ++it) { in Dedup()
/art/runtime/interpreter/mterp/arm64ng/
Dinvoke.S11 %def invoke_direct_or_super(helper="", range="", is_super=""):
18 .if !$range
34 .if $range
42 % invoke_direct_or_super(helper="NterpCommonInvokeInstance", range="0", is_super="0")
45 % invoke_direct_or_super(helper="NterpCommonInvokeInstanceRange", range="1", is_super="0")
48 % invoke_direct_or_super(helper="NterpCommonInvokeInstance", range="0", is_super="1")
51 % invoke_direct_or_super(helper="NterpCommonInvokeInstanceRange", range="1", is_super="1")
72 %def invoke_interface(range=""):
79 .if !$range
94 .if $range
[all …]
/art/runtime/interpreter/mterp/armng/
Dinvoke.S11 %def invoke_direct_or_super(helper="", range="", is_super=""):
18 .if !$range
36 .if $range
44 % invoke_direct_or_super(helper="NterpCommonInvokeInstance", range="0", is_super="0")
47 % invoke_direct_or_super(helper="NterpCommonInvokeInstanceRange", range="1", is_super="0")
50 % invoke_direct_or_super(helper="NterpCommonInvokeInstance", range="0", is_super="1")
53 % invoke_direct_or_super(helper="NterpCommonInvokeInstanceRange", range="1", is_super="1")
76 %def invoke_interface(range=""):
84 .if !$range
99 .if $range
[all …]
/art/runtime/interpreter/mterp/x86_64ng/
Dinvoke.S14 %def invoke_direct_or_super(helper="", range="", is_super=""):
21 .if !$range
40 .if $range
48 % invoke_direct_or_super(helper="NterpCommonInvokeInstance", range="0", is_super="0")
51 % invoke_direct_or_super(helper="NterpCommonInvokeInstanceRange", range="1", is_super="0")
74 %def invoke_interface(helper="", range=""):
82 .if !$range
99 .if $range
118 % invoke_interface(helper="NterpCommonInvokeInterface", range="0")
121 % invoke_interface(helper="NterpCommonInvokeInterfaceRange", range="1")
[all …]
/art/test/963-default-range-smali/
DAndroid.bp3 // Build rules for ART run-test `963-default-range-smali`.
16 name: "art-run-test-963-default-range-smali",
21 ":art-run-test-963-default-range-smali-expected-stdout",
22 ":art-run-test-963-default-range-smali-expected-stderr",
28 name: "art-run-test-963-default-range-smali-expected-stdout",
29 out: ["art-run-test-963-default-range-smali-expected-stdout.txt"],
36 name: "art-run-test-963-default-range-smali-expected-stderr",
37 out: ["art-run-test-963-default-range-smali-expected-stderr.txt"],
/art/dexlayout/
Dcompact_dex_writer.h73 size_t operator()(const HashedMemoryRange& range) const { in operator()
74 DCHECK_LE(range.offset_ + range.length_, section_->Size()); in operator()
75 return HashBytes(Data() + range.offset_, range.length_); in operator()
/art/runtime/gc/accounting/
Dspace_bitmap_test.cc113 for (const std::pair<uintptr_t, uintptr_t>& range : ranges) { in TEST_F() local
114 const mirror::Object* obj_begin = reinterpret_cast<mirror::Object*>(heap_begin + range.first); in TEST_F()
115 const mirror::Object* obj_end = reinterpret_cast<mirror::Object*>(heap_begin + range.second); in TEST_F()
118 for (uintptr_t i = 0; i < range.first; i += kObjectAlignment) { in TEST_F()
121 for (uintptr_t i = range.second; i < range.second + kPageSize; i += kObjectAlignment) { in TEST_F()
125 for (uintptr_t i = range.first; i < range.second; i += kObjectAlignment) { in TEST_F()
/art/test/412-new-array/smali/
Dfilled_new_array.smali28 filled-new-array/range {v1 .. v3}, [I
35 filled-new-array/range {v1 .. v2}, [Ljava/lang/Object;
42 filled-new-array/range {v1 .. v2}, [[I
/art/test/723-string-init-range/smali/
Dnew-instance.smali23 invoke-direct/range {v0 .. v1}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
34 invoke-direct/range {v0 .. v4}, Ljava/lang/String;-><init>([BIII)V
41 # that register with 0xF when handling String.<init> in an invoke-range.
45 invoke-direct/range {v16 .. v17}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
/art/runtime/gc/
Dtask_processor.cc82 auto range = tasks_.equal_range(task); in UpdateTargetRunTime() local
83 for (auto it = range.first; it != range.second; ++it) { in UpdateTargetRunTime()
/art/libartbase/base/metrics/
DREADME.md39 Histograms divide a range into several buckets and count how many times a value
46 know what range the fixed number of buckets cover. We could keep track of the
49 arithmetic and an add. Values outside the range get clamped to the nearest
52 expanding the range.
/art/test/723-string-init-range/
Dinfo.txt1 Test for calling String.<init> with invoke-range.
/art/test/961-default-iface-resolution-gen/util-src/
Dgenerate_java.py303 for i in range(MAX_IFACE_DEPTH + 1)]
329 for i in range(len(all_supers) + 1):
333 for i in range(len(split)):
342 for i in range(len(all_supers) + 1):
346 for num in range(1, MAX_IFACE_DEPTH):
/art/test/724-invoke-super-npe/
Dinfo.txt1 Regression test for implict null checks on invoke-super and invoke-super-range.
/art/tools/
Dparallel_run.py57 for _, idx in zip(range(args.jobs - len(fs)), ids):
73 for f,i in zip(failed, range(len(failed))):
/art/tools/bisection_search/
Dbisection_test.py46 _METHODS = ['method_{0}'.format(i) for i in range(_METHODS_COUNT)]
47 _PASSES = ['pass_{0}'.format(i) for i in range(_PASSES_COUNT)]
/art/test/573-checker-checkcast-regression/
Dinfo.txt3 art::x86_64::NearLabel, the range of which was sometimes too short
/art/tools/checker/common/
Dlogger.py22 NO_OUTPUT, ERROR, INFO = range(3)
25 DEFAULT, BLUE, GRAY, PURPLE, RED, GREEN = range(6)

123