Home
last modified time | relevance | path

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

123

/arkcompiler/ets_runtime/ecmascript/compiler/
Drange_analysis.cpp22 auto &range = rangeInfos_[acc_.GetId(gate)]; in UpdateRange() local
23 if (range != info) { in UpdateRange()
24 range = info; in UpdateRange()
76 auto range = RangeInfo::NONE(); in VisitPhi() local
80 range = range.Union(GetRange(valueIn)); in VisitPhi()
82 return UpdateRange(gate, range); in VisitPhi()
108 auto range = GetRange(acc_.GetValueIn(gate, 0)); in VisitTypedUnaryOp() local
109 if (range.IsNone()) { in VisitTypedUnaryOp()
114 range = range + RangeInfo(1, 1); in VisitTypedUnaryOp()
117 range = range - RangeInfo(1, 1); in VisitTypedUnaryOp()
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/token/
DsourceLocation.cpp34 auto &range = ranges.back(); in AddCol() local
36 if (diff == range.byteSize) { in AddCol()
37 range.cnt++; in AddCol()
89 for (const auto &range : entry.ranges) { in GetLocation() local
90 if (diff < (range.cnt * range.byteSize)) { in GetLocation()
91 col += (diff / range.byteSize) ; in GetLocation()
95 diff -= range.cnt * range.byteSize; in GetLocation()
96 col += range.cnt; in GetLocation()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DnarrowTypeByInstanceof.ts22 public range(): any {
56 let a = elementA.range();
58 AssertType(elementA.range(), "any");
59 AssertType(elementA.range, "() => any");
61 let b = elementB.range();
63 AssertType(elementB.range(), "any");
64 AssertType(elementB.range, "() => any");
/arkcompiler/runtime_core/libpandabase/tests/
Dbit_table_test.cpp253 auto range = table.GetRange(0, 6); in TEST_F() local
254 auto it = range.begin(); in TEST_F()
255 ASSERT_EQ(range[0].GetField0(), values[0][0]); in TEST_F()
256 ASSERT_EQ(range[0].GetField1(), values[0][1]); in TEST_F()
257 ASSERT_EQ(range[1].GetField0(), values[1][0]); in TEST_F()
258 ASSERT_EQ(range[1].GetField1(), values[1][1]); in TEST_F()
259 ASSERT_EQ(range[2].GetField0(), values[2][0]); in TEST_F()
260 ASSERT_EQ(range[2].GetField1(), values[2][1]); in TEST_F()
261 ASSERT_EQ(range[3].GetField0(), values[3][0]); in TEST_F()
262 ASSERT_EQ(range[3].GetField1(), values[3][1]); in TEST_F()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp34 auto range = table_.equal_range(hashCode); in GetString() local
35 for (auto item = range.first; item != range.second; ++item) { in GetString()
47 auto range = table_.equal_range(hashCode); in GetString() local
48 for (auto item = range.first; item != range.second; ++item) { in GetString()
60 auto range = table_.equal_range(hashCode); in GetString() local
61 for (auto item = range.first; item != range.second; ++item) { in GetString()
74 auto range = table_.equal_range(hashcode); in GetString() local
75 for (auto item = range.first; item != range.second; ++item) { in GetString()
248 auto range = table_.equal_range(hashcode); in CheckStringTableValidity() local
249 auto it = range.first; in CheckStringTableValidity()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dliveness_analyzer.cpp380 auto range = pending_catch_phi_inputs_.equal_range(inst); in AdjustInputsLifetime() local
381 for (auto it = range.first; it != range.second; ++it) { in AdjustInputsLifetime()
599 for (auto &range = live_ranges_.back(); range.GetEnd() > ln; range = live_ranges_.back()) { in SplitAt() local
601 if (range.GetBegin() > ln) { in SplitAt()
602 split_child->AppendRange(range); in SplitAt()
604 split_child->AppendRange(ln, range.GetEnd()); in SplitAt()
605 range.SetEnd(ln); in SplitAt()
606 if (range.GetBegin() != range.GetEnd()) { in SplitAt()
607 live_ranges_.push_back(range); in SplitAt()
648 bool LifeIntervals::Intersects(const LiveRange &range) const in Intersects()
[all …]
Dliveness_analyzer.h214 for (auto range : GetRanges()) { in SplitCover() local
215 if (range.GetBegin() <= position && position < range.GetEnd()) { in SplitCover()
220 if (position == range.GetEnd()) { in SplitCover()
351 for (const auto &range : GetRanges()) { in ToString() local
352 ss << delim << range.ToString(); in ToString()
383 bool Intersects(const LiveRange &range) const;
/arkcompiler/runtime_core/libpandabase/os/
Ddebug_info.cpp143 for (const Dwarf_Ranges &range : ranges) { in IterateDieRanges() local
144 if (range.dwr_type == DW_RANGES_ENTRY) { in IterateDieRanges()
145 Dwarf_Addr rng_low_pc = base_addr + range.dwr_addr1; in IterateDieRanges()
146 Dwarf_Addr rng_high_pc = base_addr + range.dwr_addr2; in IterateDieRanges()
150 } else if (range.dwr_type == DW_RANGES_ADDRESS_SELECTION) { in IterateDieRanges()
151 base_addr = range.dwr_addr2; in IterateDieRanges()
247 Range range(pc, pc); in GetSrcLocation() local
248 auto it = ranges_.upper_bound(range); in GetSrcLocation()
263 it = ranges_.upper_bound(range); in GetSrcLocation()
352 Range range(low_pc, high_pc, cu, function); in AddFunction() local
[all …]
/arkcompiler/ets_frontend/es2panda/parser/module/
DsourceTextModuleRecord.cpp140 auto range = localExportEntries_.equal_range(importEntry->localName_); in CheckImplicitIndirectExport() local
142 if (range.first == range.second) { in CheckImplicitIndirectExport()
146 for (auto it = range.first; it != range.second; ++it) { in CheckImplicitIndirectExport()
151 localExportEntries_.erase(range.first, range.second); in CheckImplicitIndirectExport()
/arkcompiler/toolchain/tooling/backend/
Djs_single_stepper.cpp30 for (const auto &range : stepRanges_) { in InStepRange() local
31 if (pc >= range.startBcOffset && pc < range.endBcOffset) { in InStepRange()
99 JSPtStepRange range {it->offset, next != table.end() ? next->offset : UINT32_MAX}; in GetStepRanges() local
100 ranges.push_back(range); in GetStepRanges()
/arkcompiler/runtime_core/tests/regression/
Dstack-9-params.pa118 call.range get, v0
123 call.range get, v0
128 call.range get, v0
133 call.range get, v0
138 call.range get, v0
143 call.range get, v0
148 call.range get, v0
/arkcompiler/runtime_core/compiler/tests/
Dlife_intervals_test.cpp28 for (auto range = std::rbegin(lns); range != std::rend(lns); range++) { in Create() local
29 li->AppendRange(range->first, range->second); in Create()
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_opcode.cpp471 for (auto range : rangeSet.rangeSet_) { in InsertOpCode() local
472 buf->EmitU16(range.first); in InsertOpCode()
473 buf->EmitU16(range.second); in InsertOpCode()
498 for (auto range : rangeSet.rangeSet_) { in InsertOpCode() local
499 buf->EmitU32(range.first); in InsertOpCode()
500 buf->EmitU32(range.second); in InsertOpCode()
610 for (const auto &range : rangeSet_) { in Inter() local
611 if (range.first >= interItem.first) { in Inter()
612 firstMax = range.first; in Inter()
616 if (range.second >= interItem.second) { in Inter()
[all …]
/arkcompiler/runtime_core/tests/cts-assembly/
Dop-19.pa14 #Assert that operation call.range works fine
18 call.range foo, v0
Dinitobj-06.pa14 # Assert that initobj.range triggers cctor
38 initobj.range R.ctor, v1
Dinitobj-03.pa14 # Assert that operation initobj.range works fine
44 initobj.range R.ctor, v0
/arkcompiler/runtime_core/disassembler/tests/sources/
Dcalls.pa95 call.virt.range B.Bhandler_range, v4
109 call.range handler_range, v0
123 initobj.range B.Bhandler_range, v0
137 call.range handler_range_ext, v0
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dperformance_entry.py46 for build_mode in range(2):
47 for log_type in range(3):
155 for build_mode in range(2):
156 for log_type in range(3):
Dperformance_build.py100 for i in range(lines, 0, -1):
230 for i in range(0, self.config.build_times):
239 for i in range(1, len(self.all_time_dic[key]), 2):
247 for i in range(0, self.config.build_times * 2):
261 for i in range(0, len(self.all_size_dic[key]), 2):
271 for i in range(1, len(self.all_size_dic[key]), 2):
438 for i in range(self.config.build_times):
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.cpp245 auto range = try_blocks_.equal_range(try_boundaries.begin_pc); in InsertTryBlockInfo() local
246 for (auto iter = range.first; iter != range.second; ++iter) { in InsertTryBlockInfo()
354 auto range = try_blocks_.equal_range(pc); in TrackTryBoundaries() local
355 for (auto it = range.first; it != range.second; ++it) { in TrackTryBoundaries()
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_table.h564 auto range = dedup_map_.equal_range(hash); in AddArray() local
565 for (auto it = range.first; it != range.second; ++it) { in AddArray()
642 auto range = dedup_map_.equal_range(hash); in Add() local
643 for (auto it = range.first; it != range.second; ++it) { in Add()
/arkcompiler/runtime_core/tests/verifier-tests/
Dbug_2374.pa26 call.virt.range A.func, v0
Dbug_2256.pa29 call.virt.range A.foo, v0
/arkcompiler/runtime_core/tests/irtoc-interpreter-tests/
Dcall2.pa27 call.range foo, v0
/arkcompiler/runtime_core/tests/benchmarks/
Daccess-nbody.pa148 call.range BodyInit, v0
174 call.range BodyInit, v0
200 call.range BodyInit, v0
226 call.range BodyInit, v0
241 call.range BodyInit, v0

123