Home
last modified time | relevance | path

Searched refs:indexes (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
H A Dregmask.h26 static constexpr size_t MakeMask(const std::array<T, N> &indexes) in MakeMask() argument
29 for (size_t i : indexes) { in MakeMask()
36 static constexpr size_t MakeMask(Indexes... indexes) in MakeMask() argument
38 return ((1UL << helpers::ToUnsigned(indexes)) | ...); in MakeMask()
42 static constexpr size_t MakeMaskByExcluding(size_t width, Indexes... indexes) in MakeMaskByExcluding() argument
45 size_t exclude = ((1ULL << helpers::ToUnsigned(indexes)) | ...); in MakeMaskByExcluding()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dregmask.h26 static constexpr size_t MakeMask(const std::array<T, N> &indexes) in MakeMask() argument
29 for (size_t i : indexes) { in MakeMask()
36 static constexpr size_t MakeMask(Indexes... indexes) in MakeMask() argument
38 return ((1UL << helpers::ToUnsigned(indexes)) | ...); in MakeMask()
42 static constexpr size_t MakeMaskByExcluding(size_t width, Indexes... indexes) in MakeMaskByExcluding() argument
45 size_t exclude = ((1ULL << helpers::ToUnsigned(indexes)) | ...); in MakeMaskByExcluding()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_String.cpp114 auto indexes = coretypes::String::NormalizeSubStringIndexes(begin, end, str->GetCoreType()); in StdCoreStringSubstring() local
115 if (UNLIKELY(indexes.first == 0 && indexes.second == str->GetLength())) { in StdCoreStringSubstring()
118 ets_int substrLength = indexes.second - indexes.first; in StdCoreStringSubstring()
119 return EtsString::FastSubString(str, static_cast<uint32_t>(indexes.first), static_cast<uint32_t>(substrLength)); in StdCoreStringSubstring()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
H A Dloop_analyzer.cpp115 * Get vector of forward edges indexes in descending order
127 ArenaVector<int> indexes(header->GetGraph()->GetAllocator()->Adapter()); in GetForwardEdgesIndexes()
131 indexes.push_back(idx); in GetForwardEdgesIndexes()
134 ASSERT(indexes.size() + back_edges.size() == pred_blocks.size()); in GetForwardEdgesIndexes()
135 return indexes; in GetForwardEdgesIndexes()
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dloop_analyzer.cpp115 * Get vector of forward edges indexes in descending order
127 ArenaVector<int> indexes(header->GetGraph()->GetAllocator()->Adapter()); in GetForwardEdgesIndexes()
131 indexes.push_back(idx); in GetForwardEdgesIndexes()
134 ASSERT(indexes.size() + backEdges.size() == predBlocks.size()); in GetForwardEdgesIndexes()
135 return indexes; in GetForwardEdgesIndexes()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dchecks_elimination.cpp549 auto *indexes = &lenArrayIt->second; in PushNewBoundsCheck() local
550 PushNewBoundsCheckAtExistingIndexes(indexes, index, inst, checkUpper, checkLower); in PushNewBoundsCheck()
555 void ChecksElimination::PushNewBoundsCheckAtExistingIndexes(GroupedBoundsChecks *indexes, Inst *index, Inst *inst, in PushNewBoundsCheckAtExistingIndexes() argument
558 auto indexIt = std::find_if(indexes->begin(), indexes->end(), [index](auto p) { return std::get<0>(p) == index; }); in PushNewBoundsCheckAtExistingIndexes()
559 if (indexIt == indexes->end()) { in PushNewBoundsCheckAtExistingIndexes()
570 std::find_if(indexes->begin(), indexes->end(), [=](auto p) { return std::get<0>(p) == parentIndex; }); in PushNewBoundsCheckAtExistingIndexes()
571 if (parentIndex == index || parentIndexIt == indexes->end()) { in PushNewBoundsCheckAtExistingIndexes()
572 InitItemForNewIndex(indexes, inde in PushNewBoundsCheckAtExistingIndexes()
[all...]
H A Dchecks_elimination.h135 void PushNewBoundsCheckAtExistingIndexes(GroupedBoundsChecks *indexes, Inst *index, Inst *inst, bool checkUpper,
/arkcompiler/runtime_core/libpandafile/
H A Dfile_item_container.h377 explicit IndexHeaderItem(std::vector<IndexItem *> indexes) : indexes_(std::move(indexes)) in IndexHeaderItem() argument
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dfile_item_container.h345 explicit RegionHeaderItem(std::vector<IndexItem *> indexes) : indexes_(std::move(indexes)) in RegionHeaderItem() argument
/arkcompiler/runtime_core/static_core/runtime/entrypoints/
H A Dentrypoints.cpp271 auto indexes = coretypes::String::NormalizeSubStringIndexes(begin, end, static_cast<coretypes::String *>(obj)); in SubStringFromStringEntrypoint() local
272 auto substrLength = indexes.second - indexes.first; in SubStringFromStringEntrypoint()
273 auto substr = coretypes::String::FastSubString(static_cast<coretypes::String *>(obj), indexes.first, substrLength, in SubStringFromStringEntrypoint()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js[all...]

Completed in 51 milliseconds