Home
last modified time | relevance | path

Searched full:prefixes (Results 1 – 25 of 42) sorted by relevance

12

/arkcompiler/runtime_core/isa/
Dasserts.rb35 assert('Non-prefixed instruction opcodes and prefixes should fit one byte') do
36 Panda.instructions.reject(&:prefix).size + Panda.prefixes.size <= 256
44 Panda.prefixes.sorted_by?(&:opcode_idx)
48 Panda.prefixes.map do |prefix|
63 Panda.prefixes.map(&:name).include?(insn.prefix.name)
67 assert('All prefixes should have unique name') do
68 Panda.prefixes.map(&:name).uniq?
71 assert('There should be non-zero gap between non-prefixed and prefixes') do
75 assert('There should be non-zero gap between public and private prefixes') do
Disapi.rb437 # * prefixed instructions handlers, in the order of prefixes
442 Panda.prefixes.select(&:public?) +
444 Panda.prefixes.reject(&:public?) +
451 …(Panda.instructions.reject(&:prefix).map(&:opcode_idx).max + 1)..(Panda.prefixes.map(&:opcode_idx)…
455 max_invalid_idx = Panda.prefixes.reject(&:public?).map(&:opcode_idx).min || 256
456 (Panda.prefixes.select(&:public?).map(&:opcode_idx).max + 1)..(max_invalid_idx - 1)
473 Panda.prefixes.each_with_object({}) do |p, obj|
515 # override opcodes assignment for prefixes
552 hash = prefixes.map { |p| [p.name, p] }.to_h
574 cached def prefixes
[all …]
/arkcompiler/runtime_core/static_core/isa/
Dasserts.rb35 assert('Non-prefixed instruction opcodes and prefixes should fit one byte') do
36 Panda.instructions.reject(&:prefix).size + Panda.prefixes.size <= 256
44 Panda.prefixes.sorted_by?(&:opcode_idx)
48 Panda.prefixes.map do |prefix|
63 Panda.prefixes.map(&:name).include?(insn.prefix.name)
67 assert('All prefixes should have unique name') do
68 Panda.prefixes.map(&:name).uniq?
71 assert('There should be non-zero gap between non-prefixed and prefixes') do
75 assert('There should be non-zero gap between public and private prefixes') do
Disapi.rb390 # * prefixed instructions handlers, in the order of prefixes
395 Panda.prefixes.select(&:public?) +
397 Panda.prefixes.reject(&:public?) +
404 …(Panda.instructions.reject(&:prefix).map(&:opcode_idx).max + 1)..(Panda.prefixes.map(&:opcode_idx)…
408 max_invalid_idx = Panda.prefixes.reject(&:public?).map(&:opcode_idx).min || 256
409 (Panda.prefixes.select(&:public?).map(&:opcode_idx).max + 1)..(max_invalid_idx - 1)
426 Panda.prefixes.each_with_object({}) do |p, obj|
468 # override opcodes assignment for prefixes
534 hash = prefixes.map { |p| [p.name, p] }.to_h
556 cached def prefixes
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/compiler_verification/
Dbytecode.py72 # Restore fully qualified function name after prefixes removal.
106 prefixes: Iterable[str],
118 func_body.append(_remove_prefix(line, prefixes))
125 def _remove_prefix(line: str, prefixes: Iterable[str]) -> str:
126 for p in prefixes:
/arkcompiler/runtime_core/static_core/runtime/interpreter/templates/
Dirtoc_interpreter_utils.h.erb28 % Panda::prefixes.each do |p|
37 % Panda::prefixes.each do |p|
47 % Panda::prefixes.each do |p|
56 % Panda::prefixes.each do |p|
Disa_constants_gen.h.erb22 constexpr auto NUM_PREFIXES = <%= Panda::prefixes.size %>;
/arkcompiler/ets_frontend/es2panda/lexer/templates/
Dkeywords.h.erb53 % functions.each do |key, prefixes|
57 % prefixes.select{|p| !p.nil? }.each do |prefix|
64 % if prefixes.include?(nil)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/suites/
Dtest_suite.py72 …def __load_list(test_root: Path, test_list_path: Path, prefixes: list[str]) -> tuple[list[Path], l…
80 is_found, test_path = TestSuite.__load_line(line, test_root, prefixes)
88 def __load_line(line: str, test_root: Path, prefixes: list[str]) -> tuple[bool, Path | None]:
95 is_found, prefixed_test_path = TestSuite.__load_line_with_prefix(test_root, prefixes, test)
101 …def __load_line_with_prefix(test_root: Path, prefixes: list[str], test: str) -> tuple[bool, Path |…
102 for prefix in prefixes:
377 prefixes: list[str] = []
379 prefixes = [coll.name for coll in self.config.test_suite.collections]
380 loaded, not_found = self.__load_list(self.test_root, list_path, prefixes)
/arkcompiler/ets_frontend/ets2panda/lexer/templates/
Dkeywords.h.erb84 % desc['tree'].each do |key, prefixes|
88 % prefixes.select{|p| !p.nil? }.each do |prefix|
95 % if prefixes.include?(nil)
/arkcompiler/runtime_core/taihe/compiler/taihe/utils/
Dlogging.py89 PREFIXES: ClassVar = { variable in ColoredFormatter
104 prefix = self.PREFIXES.get(record.levelno, "")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/sts_utils/
Dconstants.py35 # Prefixes
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/
Dconstants.py37 # Prefixes
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/ts-compiler/
DResolveSdks.ts403 …xternalPaths(externalPaths: string[]): { modules: string[]; paths: string[]; prefixes: string[] } {
407 prefixes: [] as string[] constant
419 result.prefixes.push(configResult.prefix);
440 if (externalResults.prefixes.length > 0) {
441 context.sdkConfigPrefix += `|${externalResults.prefixes.join('|')}`;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_fp_simd_regs.def22 * ID, 128 bit vector prefix, followed by scalar prefixes
23 …* scalar prefixes: 8-bit, 16-bit, 32-bit, 64-bit, 128-bit, canBeAssigned, isCalleeSave, isParam, i…
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_fp_simd_regs.def23 …* ID, prefixes: 8-bit, 16-bit, 32-bit, 64-bit, 128-bit, canBeAssigned, isCalleeSave, isParam, isSp…
/arkcompiler/runtime_core/static_core/verification/gen/templates/
Dabs_int_inl_gen.h.erb72 % Panda::prefixes.each do |p|
/arkcompiler/ets_runtime/ecmascript/base/
Djson_helper.h92 …s are wrapped in QUOTATION MARK (") code units. The code units " and \ are escaped with \ prefixes.
/arkcompiler/runtime_core/tests/cts-generator/generator/
Dparser.rb34 # some predefined templates as headers, prefixes, postfixes, etc.
/arkcompiler/runtime_core/static_core/tests/cts-generator/generator/
Dparser.rb34 # some predefined templates as headers, prefixes, postfixes, etc.
/arkcompiler/ets_frontend/ets2panda/bindings/
DBUILD.gn134 "-no-canonical-prefixes",
286 "-no-canonical-prefixes",
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/
Dbytecode_inst-inl_gen.h.erb221 …if (primary >= <%= Panda::prefixes.map(&:opcode_idx).min %>) { // NOLINT(readability-magic-number…
229 …ASSERT(GetPrimaryOpcode() >= <%= Panda::prefixes.map(&:opcode_idx).min %>); // NOLINT(readability…
/arkcompiler/runtime_core/static_core/libpandafile/templates/
Dbytecode_instruction-inl_gen.h.erb385 …if (primary >= <%= Panda::prefixes.map(&:opcode_idx).min %>) { // NOLINT(readability-magic-number…
394 …ASSERT(GetPrimaryOpcode() >= <%= Panda::prefixes.map(&:opcode_idx).min %>); // NOLINT(readability…
401 return <%= Panda::prefixes.map(&:opcode_idx).min %>; // NOLINT(readability-magic-numbers)
406 …return GetPrimaryOpcode() >= <%= Panda::prefixes.map(&:opcode_idx).min %>; // NOLINT(readability-…
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_instruction-inl_gen.h.erb383 …if (primary >= <%= Panda::prefixes.map(&:opcode_idx).min %>) { // NOLINT(readability-magic-number…
392 …ASSERT(GetPrimaryOpcode() >= <%= Panda::prefixes.map(&:opcode_idx).min %>); // NOLINT(readability…
399 return <%= Panda::prefixes.map(&:opcode_idx).min %>; // NOLINT(readability-magic-numbers)
404 …return GetPrimaryOpcode() >= <%= Panda::prefixes.map(&:opcode_idx).min %>; // NOLINT(readability-…
/arkcompiler/runtime_core/static_core/scripts/llvm/
Dbuild_llvm.sh379 …ux-ohos -ffunction-sections -fdata-sections -v -funwind-tables -no-canonical-prefixes -D__MUSL__" \
380 …os -ffunction-sections -fdata-sections -v -funwind-tables -no-canonical-prefixes -D__MUSL__ -stdli…

12