Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dpbc_iterator.h23 struct BytecodeIterator { struct
24 explicit BytecodeIterator(BytecodeInstruction inst) : inst_(inst) {} in BytecodeIterator() argument
25 explicit BytecodeIterator(const uint8_t *data) : inst_(data) {} in BytecodeIterator() function
27 BytecodeIterator &operator++()
38 bool operator!=(const BytecodeIterator &rhs)
43 bool operator==(const BytecodeIterator &rhs)
56 BytecodeIterator begin() const in begin()
58 return BytecodeIterator(data_); in begin()
61 BytecodeIterator end() const in end()
63 …return BytecodeIterator(data_ + size_); // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in end()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dpbc_iterator.h23 struct BytecodeIterator { struct
24 explicit BytecodeIterator(BytecodeInstruction inst) : inst_(inst) {} in BytecodeIterator() argument
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/ets_runtime/ecmascript/compiler/
Dbytecodes.h37 class BytecodeIterator; variable
832 class BytecodeIterator {
835 BytecodeIterator() = default;
836 BytecodeIterator(BytecodeCircuitBuilder *builder, in BytecodeIterator() function
847 BytecodeIterator& operator++()
854 BytecodeIterator& operator--()
Dbytecode_circuit_builder.h169 BytecodeIterator bytecodeIterator_ {};
176 BytecodeIterator &GetBytecodeIterator() in GetBytecodeIterator()
205 return end == static_cast<uint32_t>(BytecodeIterator::INVALID_INDEX); in IsEmptryBlock()
Dbytecodes.cpp1926 const BytecodeInfo &BytecodeIterator::GetBytecodeInfo() const in GetBytecodeInfo()
1931 const uint8_t *BytecodeIterator::PeekNextPc(size_t i) const in PeekNextPc()
1937 const uint8_t *BytecodeIterator::PeekPrevPc(size_t i) const in PeekPrevPc()
Dbytecode_circuit_builder.cpp46 BytecodeIterator iterator(this, 0, end); in BuildRegionInfo()
315 entryBlock.bytecodeIterator_.Reset(this, 0, BytecodeIterator::INVALID_INDEX); in BuildEntryBlock()
Dframe_states.cpp1139 block->end = BytecodeIterator::INVALID_INDEX; in InsertEmptyBytecodeRegion()
/arkcompiler/runtime_core/bytecode_optimizer/
Doptimize_bytecode.cpp113 compiler::BytecodeIterator insn_iter = instructions.begin(); in BuildMapFromPcToIns()