Home
last modified time | relevance | path

Searched refs:opCode (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_executor.h81 inline bool HandleOpAll(uint8_t opCode) in HandleOpAll() argument
87 if ((opCode == RegExpOpCode::OP_DOTS) && IsTerminator(currentChar)) { in HandleOpAll()
90 Advance(opCode); in HandleOpAll()
94 inline bool HandleOpChar(const DynChunk &byteCode, uint8_t opCode) in HandleOpChar() argument
97 if (opCode == RegExpOpCode::OP_CHAR32) { in HandleOpChar()
110 Advance(opCode); in HandleOpChar()
119 inline bool HandleOpWordBoundary(uint8_t opCode) in HandleOpWordBoundary() argument
127 if (((opCode == RegExpOpCode::OP_WORD_BOUNDARY) && in HandleOpWordBoundary()
129 ((opCode == RegExpOpCode::OP_NOT_WORD_BOUNDARY) && in HandleOpWordBoundary()
131 Advance(opCode); in HandleOpWordBoundary()
[all …]
Dregexp_executor.cpp108 uint8_t opCode = byteCode.GetU8(GetCurrentPC()); in ExecuteInternal() local
109 switch (opCode) { in ExecuteInternal()
112 if (!HandleOpAll(opCode)) { in ExecuteInternal()
119 if (!HandleOpChar(byteCode, opCode)) { in ExecuteInternal()
126 if (!HandleOpWordBoundary(opCode)) { in ExecuteInternal()
132 if (!HandleOpLineStart(opCode)) { in ExecuteInternal()
138 if (!HandleOpLineEnd(opCode)) { in ExecuteInternal()
144 HandleOpSaveStart(byteCode, opCode); in ExecuteInternal()
147 HandleOpSaveEnd(byteCode, opCode); in ExecuteInternal()
151 Advance(opCode, offset); in ExecuteInternal()
[all …]
Dregexp_opcode.cpp93 RegExpOpCode::RegExpOpCode(uint8_t opCode, int size) : opCode_(opCode), size_(size) {} in RegExpOpCode() argument
98 uint8_t opCode = buf.GetU8(pc); in GetRegExpOpCode() local
99 ASSERT_PRINT(opCode <= g_intrinsicSet.size(), "invalid op code"); in GetRegExpOpCode()
100 return g_intrinsicSet.at(opCode); in GetRegExpOpCode()
104 RegExpOpCode *RegExpOpCode::GetRegExpOpCode(uint8_t opCode) in GetRegExpOpCode() argument
106 ASSERT_PRINT(opCode <= g_intrinsicSet.size(), "invalid op code"); in GetRegExpOpCode()
107 return g_intrinsicSet.at(opCode); in GetRegExpOpCode()
Dregexp_opcode.h69 RegExpOpCode(uint8_t opCode, int size);
75 static RegExpOpCode *GetRegExpOpCode(uint8_t opCode);
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dinitialization_analysis.cpp162 OpCode opCode = acc_.GetOpCode(gate); in CheckSimpleGate() local
163 switch (opCode) { in CheckSimpleGate()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_info.cpp310 auto opCode = bcIns.GetOpcode(); in CalcOpCodeChecksum() local
311 … checksum = adler32(checksum, reinterpret_cast<const Bytef *>(&opCode), sizeof(decltype(opCode))); in CalcOpCodeChecksum()