Home
last modified time | relevance | path

Searched refs:BytecodeIterator (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dpbc_iterator.h23 struct BytecodeIterator { struct
24 explicit BytecodeIterator(BytecodeInstruction inst) : inst_(inst) {} in BytecodeIterator() function
25 explicit BytecodeIterator(const uint8_t *data) : inst_(data) {} in BytecodeIterator() argument
27 BytecodeIterator &operator++()
37 bool operator!=(const BytecodeIterator &rhs)
50 BytecodeIterator begin() const in begin()
52 return BytecodeIterator(data_); in begin()
55 BytecodeIterator end() const in end()
57 …return BytecodeIterator(data_ + size_); // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in end()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dpbc_iterator.h23 struct BytecodeIterator { struct
24 explicit BytecodeIterator(BytecodeInstruction inst) : inst_(inst) {} in BytecodeIterator() function
25 explicit BytecodeIterator(const uint8_t *data) : inst_(data) {} in BytecodeIterator() function
27 BytecodeIterator &operator++()
37 bool operator!=(const BytecodeIterator &rhs)
50 BytecodeIterator begin() const in begin()
52 return BytecodeIterator(data_); in begin()
55 BytecodeIterator end() const in end()
57 …return BytecodeIterator(data_ + size_); // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in end()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecodes.h37 class BytecodeIterator; variable
821 class BytecodeIterator {
824 BytecodeIterator() = default;
825 BytecodeIterator(BytecodeCircuitBuilder *builder, in BytecodeIterator() function
836 BytecodeIterator& operator++()
843 BytecodeIterator& operator--()
Dbytecode_circuit_builder.h173 BytecodeIterator bytecodeIterator_ {};
180 BytecodeIterator &GetBytecodeIterator() { in GetBytecodeIterator()
208 return end == static_cast<uint32_t>(BytecodeIterator::INVALID_INDEX); in IsEmptryBlock()
Dbytecode_circuit_builder.cpp40 BytecodeIterator iterator(this, 0, end); in BuildRegionInfo()
149 entryBlock.bytecodeIterator_.Reset(this, 0, BytecodeIterator::INVALID_INDEX); in BuildEntryBlock()
Dbytecodes.cpp1779 const BytecodeInfo &BytecodeIterator::GetBytecodeInfo() const in GetBytecodeInfo()
1784 const uint8_t *BytecodeIterator::PeekNextPc(size_t i) const in PeekNextPc()
1790 const uint8_t *BytecodeIterator::PeekPrevPc(size_t i) const in PeekPrevPc()
Dframe_states.cpp892 block->end = BytecodeIterator::INVALID_INDEX; in InsertEmptyBytecodeRegion()
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dmethod_type_infer.cpp47 BytecodeIterator iterator(builder_, 0, builder_->GetLastBcIndex()); in MethodTypeInfer()