Home
last modified time | relevance | path

Searched full:and (Results 1 – 25 of 7611) sorted by relevance

12345678910>>...305

/arkcompiler/ets_runtime/docs/
Doverview.md3and configurable multi-language compilation and runtime platform of OpenHarmony. It contains core …
5 ArkCompiler JS Runtime consists of two parts: JS compiler toolchain and JS runtime. The JS compiler…
22 …anguage-irrelevant runtime libraries, including ArkCompiler File, Tooling, and ArkCompiler Base. A…
26 …ecutes bytecodes, inline caching that stores hidden classes, and Profiler that analyzes and record…
30 … of the Stub compiler, optimized compilation framework based on the Circuit IR, and code generator.
35 …emory management: object allocator and garbage collector (CMS-GC and Partial-Compressing-GC for co…
36 - Analysis tools: DFX tool and CPU and heap profiling tool
38 …- Standard library: standard library defined by ECMAScript, efficient container library, and objec…
39 …- Others: asynchronous work queues, TypeScript (TS) type loading, and JS native APIs (JSNAPIs) for…
45and security, ArkCompiler JS Runtime statically pre-compiles JS/TS programs into ArkCompiler bytec…
[all …]
/arkcompiler/ets_runtime/
DLICENSE6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10 "License" shall mean the terms and conditions for use, reproduction,
11 and distribution as defined by Sections 1 through 9 of this document.
16 "Legal Entity" shall mean the union of the acting entity and all
29 source, and configuration files.
34 and conversions to other media types.
42 form, that is based on (or derived from) the Work and for which the
47 the Work and Derivative Works thereof.
50 the original version of the Work and any modifications or additions
58 and issue tracking systems that are managed by, or on behalf of, the
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DLICENSE.txt7 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
11 "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by…
15 "Legal Entity" shall mean the union of the acting entity and all other entities that control, are c…
19 …, including but not limited to software source code, documentation source, and configuration files.
21 …ncluding but not limited to compiled object code, generated documentation, and conversions to othe…
25and for which the editorial revisions, annotations, elaborations, or other modifications represent…
27and any modifications or additions to that Work or Derivative Works thereof, that is intentionally…
29 …utor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has …
31and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-…
33and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-…
[all …]
/arkcompiler/toolchain/
DLICENSE6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10 "License" shall mean the terms and conditions for use, reproduction,
11 and distribution as defined by Sections 1 through 9 of this document.
16 "Legal Entity" shall mean the union of the acting entity and all
29 source, and configuration files.
34 and conversions to other media types.
42 form, that is based on (or derived from) the Work and for which the
47 the Work and Derivative Works thereof.
50 the original version of the Work and any modifications or additions
58 and issue tracking systems that are managed by, or on behalf of, the
[all …]
/arkcompiler/runtime_core/
DLICENSE6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10 "License" shall mean the terms and conditions for use, reproduction,
11 and distribution as defined by Sections 1 through 9 of this document.
16 "Legal Entity" shall mean the union of the acting entity and all
29 source, and configuration files.
34 and conversions to other media types.
42 form, that is based on (or derived from) the Work and for which the
47 the Work and Derivative Works thereof.
50 the original version of the Work and any modifications or additions
58 and issue tracking systems that are managed by, or on behalf of, the
[all …]
DREADME.md15 …ibraries, including ArkCompiler File, Tooling, Base and ISA. ArkCompiler File provides bytecodes a…
26 … format (*.abc). For details about the format, see docs/assembly_format.md and docs/file_format.md.
28 …# Cmake script that contains the toolchain files and common cmake functions used to define the bui…
29 ├── compiler # Compiler including IR(intermediate representation) and passes for byt…
32 ├── docs # Language frontend, ARK file format, and runtime design documents.
34 ├── gn # GN templates and configuration files.
36 ├── isa # Bytecode ISA description file YAML, Ruby scripts and templates.
39 …c ArkCompiler runtime library, including logs, synchronization primitives, and common data structu…
41 ├── libziparchive # Provides APIs for reading and using zip files implemented by zlib.
49 …lates # Ruby templates and scripts used to process command line options, loggers, er…
[all …]
/arkcompiler/ets_frontend/
DLICENSE6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10 "License" shall mean the terms and conditions for use, reproduction,
11 and distribution as defined by Sections 1 through 9 of this document.
16 "Legal Entity" shall mean the union of the acting entity and all
29 source, and configuration files.
34 and conversions to other media types.
42 form, that is based on (or derived from) the Work and for which the
47 the Work and Derivative Works thereof.
50 the original version of the Work and any modifications or additions
58 and issue tracking systems that are managed by, or on behalf of, the
[all …]
/arkcompiler/ets_frontend/arkguard/
DLICENSE6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10 "License" shall mean the terms and conditions for use, reproduction,
11 and distribution as defined by Sections 1 through 9 of this document.
16 "Legal Entity" shall mean the union of the acting entity and all
29 source, and configuration files.
34 and conversions to other media types.
42 form, that is based on (or derived from) the Work and for which the
47 the Work and Derivative Works thereof.
50 the original version of the Work and any modifications or additions
58 and issue tracking systems that are managed by, or on behalf of, the
[all …]
DREADME.md2 Arkguard is a javascript and typescript obfuscation tool.
12 * parameter names and local variable names
16 We enable the obfuscation of parameter names and local variable names by default. However,
17 global names obfuscation and property names obfuscation are disabled by default, as they may
46 * the property `ruleOptions.enable` is `true` and the property `ruleOptions.enable` of every depend…
55 property, dependent libraries' `consumerFiles` properties and dependent HAR's `obfuscation.txt`.
57 dependent libraries' `consumerFiles` properties and dependent HAR's `obfuscation.txt`. If you are b…
63 The files `obfuscation-rules.txt` and `consumer-rules.txt` are created by DevEco Studio automatical…
80 In rule files, you can write [obfuscation options](#obfuscation-options) and [keep options](#keep-o…
87 Arkguard only obfuscates the parameter names and local variable names by assigning random short nam…
[all …]
/arkcompiler/runtime_core/docs/
Dir_format.md4 * Possibility to implement various optimizations and analyses
5 * Support all the features and instructions of Panda bytecode
8 * Be able to convert to other IR and back
10 ## Optimizations and analyses
12 …nality for various code transformations and analyses. The structure of the IR should be as clear a…
13 Also in the compilation process, the order of execution of optimizations and analyses is very impor…
14 The first goal of the Panda IR to be able to change the order of the passes, add and delete passes(…
51 !NOTE It is possible to write other optimizations based on the specifics of the language and VM
55 …n an arbitrary order. Some restrictions will still be: register allocation and code generation at …
59 * Using profile information for IFC and speculative optimizations
[all …]
D2022-08-18-isa-changelog.md6 * Function Kind and Header index
7 * MethodId, StringId and LiteralArrayId
11 The bytecode size and runtime performance have been suffering for a long time as the all the
12 ecmascript specific bytecode are prefixed and their opcode were encoded with two bytes.
13 1. We delete all original java specific opcodes and delete java specific opcode prefix.
15 3. We add prefix "deprecated" and keep the many old isa as "deprecated"-prefixed opcodes (for compa…
16 4. We add prefix "throw" and make all throwing opcodes be prefixed by "throw".
18 6. We adjust the format of some opcodes (about immediate number and accumulator), so that the bytec…
22 ## Function Kind and Header index
26 We reuse the field 32-bit field `access_flags_` to encode Function Kind and Header index.
[all …]
Drationale-for-bytecode.md5 This document sets up some context about bytecode design principles and provides rationales for
14 somewhere in memory and executes corresponding _operations_ on operation's arguments,
19 is used for storing local variables along with function arguments and doing function calls.
23 that the number and purpose of registers differs, too. Some nuances of working with stack may also
24 vary across CPUs and/or different operating systems.
29 commands (or bytecode) and execute them. Of course, this implies additional performance overhead
31 abstract from CPU limitations and run our program wherever our interpreter runs. Tooling
36 hardware world: the terms "operations", "operands", "registers" and "stack" have the same meaning.
37 In case there is a chance for ambiguity, the terms "virtual registers" and "virtual stack" are used
38 to distinguish between an abstract system and the hardware.
[all …]
Ddesign-of-interpreter.md5 This document outlines the key design decisions in the interpreter and its companion components:
21 and all related components of the platform:
40 1. Bytecode is register-based: all arguments and variables are mapped to virtual registers,
41 and most of bytecodes encode virtual registers as operands.
43 bytecodes and shared across all function frames during runtime.
45 code and documentation generation.
54 a bunch of C/C++ headers is very fragile and error-prone. At the same time,
62 definitions were defined and used, different parts of instruction description doesn't contradict
73 1. All entities in the executable file should be encoded and stored compactly to avoid bloating
81 1. The entire code of the application (excluding frameworks and external libraries) fits into a
[all …]
Dglossary.md6 development of compilers and interpreters is confusing in some cases. This document describes what
11 * **AOT** stands for **Ahead-Of-Time**. In compilers, terms "ahead-of-time compilation" and "AOT
14 native machine code to reduce runtime overhead from reading and compiling bytecode.
17 * **Compiler** is a tool that performs source code or bytecode translation, optimization and
20 used to represent input program and usually designed for analysis and optimization.
22 * **ISA** stands for **Instruction Set Architecture**. See **Panda Bytecode** and
24 * **JIT** stands for **Just-In-Time**. In compilers, terms "just-in-time compilation" and "JIT
32 correspondence between the instructions in the language and **Panda Bytecode** instructions.
37 compactness and efficient execution by Panda Runtime. See https://en.wikipedia.org/wiki/Bytecode.
42 * **Allocator** is a part of the system that servicing allocation and deallocation requests.
[all …]
Dpanda-runtime.md3 Panda Runtime is a multi-language runtime designed to run on microcontrollers and mobile devices.
7 * Simple and portable design
8 * Minimalistic and lightweight implementation
9 * Documented design, rationales, and public API
10 * Buildable and tested master
11 * Explicit maintenance and development process
32 # Development Process and Coding Guidelines
Ddoxygen.config6 # All text after a double hash (##) is considered a comment and is placed in
9 # All text after a single hash (#) is considered a comment and will be ignored.
32 # title of most generated pages and in a few other places.
44 # for a project that appears at the top of each page and should give viewer a
51 # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
64 # directories (in 2 levels) under the output directory of each output format and
91 # Ukrainian and Vietnamese.
97 # descriptions after the members that are listed in the file and class
106 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
115 # and the result, after processing the whole list, is used as the annotated
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dand.yaml11 # See the License for the specific language governing permissions and
16 - file-name: "and"
19 description: Perform specified binary operation on two registers and store result
27 - sig: and v1:in:i32, v2:in:i32
35 and v0, v1
43 description: Check 'and' with zero and various values.
68 - sig: and v1:in:i32, v2:in:i32
76 and v0, v1
84 description: Check 'and' with +1 and various values.
116 - sig: and v1:in:i32, v2:in:i32
[all …]
/arkcompiler/runtime_core/compiler/docs/
Dplt.md9 During code generation so-called `SlowPath` code is created, and we put it into a special cold code…
10 …SlowPath` blob is generated for each place it is called, and as it contains saving registers and s…
15 Speaking about AOT mode, for opcodes like `CallStatic`, `CallVirtual`, and opcodes related to `Clas…
22 For each pair of File (input for `ark_aot` compiler) and callee `method Id` (`panda_file::File::Ent…
23 consecutive slots are reserved in PLT-GOT table. `FirstSlot` is filled during AOT file creation and
24 `SecondSlot` is filled during AOT file loading into runtime and contains `PLT CallStatic Resolver` …
55 `PLT CallStatic Resolver` after saving all registers to the stack and `BoundaryFrame` generation, h…
58 having this two values in `x0` and `x1` it just call `GetCalleeMethod` to gather `Method pointer`.
60 …pointer`, it is stored into `ThirdSlot`, allow to load proper executable address, and goes as first
66 For each pair of File (input for `ark_aot` compiler) and callee `method Id` (`panda_file::File::Ent…
[all …]
Dreg_alloc_graph_coloring_doc.md18and Fernando Pereira. It is based on observation that programs in a strict SSA form produce a Chor…
19 In works of Hack ("Register Allocation for Programs in SSA Form") and Pereira ("Register Allocation…
20 Before coloring, available registers are collected from Architecture and remapped (to sequential nu…
26 If interval is pre-colored, this value is set as pre-color for node. And input parameters is marked…
27 …ween values. Currently affinity edges are added for inputs of PHI-function and input of Return ins…
31 …eedy coloring is an algorithm that is collecting colors of neighbor nodes, and chose color for pro…
37 …ly. Pre-coalescing is known to potentially can increase register pressure, and make graph G’ not K…
38And on stage of coloring it is tried to satisfy these hints if possible. This approach is more fle…
39 …igned for nodes such as input parameters of function itself and arguments for call-sites, and affi…
42 …ne edges are visited. Marker of visited node here is assigned bias-number. And each bias additiona…
[all …]
Dir_builder.md9 …lgorithms to construct SSA form, most known is a Cytron et al. It produce most clear and pruned SSA
11 build dominance tree and dominance frontier.
14 and faster.
20 - constant hasn't type as well and if one constant is used in integer and float operations, it must…
22 - if constant is `0` and it is used in instruction that expects object(f.e. `mov.obj`), we need to …
43 1. Iterate over all bytecode instructions and make basic block for all target instructions, i.e. in…
51 2. If basic block is a loop header, create SafePoint and OsrSaveState instructions.
66 …or all constants that are used in instructions with different types, split constant instruction and
69 …- Remove dead Phi and set types to phi which have no type. Phi may not have type if all it users a…
71 …- Check all instructions that have no type and fix it. Type is got from instructions with known in…
[all …]
Daot_resolve_string.md5 loads a value from a slot associated with a string and checks if that value is valid pointer. If it…
7 returned string pointer into the slot and subsequent executions of the same code will bypass runtim…
15 - compiled method should not be a static class initializer (initializers get invoked only once and
19 …on is met then the compiler reserves a unique PLT-slot (with type `STRING_SLOT`) for the string and
20 emits load from that slot, followed by the check that the loaded value is a valid pointer and the s…
26 There are two options controlling when and how many string will be saved into PLT-slots:
34 …ue already stored in `STRING_SLOT` PLT-slot - after AOT-file loading all such slots contain `0` and
40 - if PLT-slot's value is below `--aot-string-gc-roots-limit` then slot's value is incremented and t…
43 registered as GC-root in `AotManager` and the resolved string is returned.
50 slots in order to scan and update them. As an optimization `AotManager` stores information about wh…
/arkcompiler/runtime_core/libziparchive/
Dzip_archive.h12 * See the License for the specific language governing permissions and
71 * Open a Zip archive from filename path, and sets handle for the file.
75 * Returns 0 on success, and 1 on failure.
85 * Open a Zip archive from opened file FILE* fp, and sets handle for the file.
89 * Returns 0 on success, and 1 on failure.
96 * Returns 0 on success, and 1 on failure.
104 * Returns 0 on success, and 1 on failure.
111 * Returns 0 on success, and 1 on failure.
118 * Returns 0 on success, and 1 on failure.
123 * Get Info about the current file within ZipFile and write info into the *entry structure.
[all …]
/arkcompiler/runtime_core/docs/bc_verification/
Dtypes_n_values.md8 3. Physycal (concrete) types. They are parameterized types by abstract and storage types.
12 Types are formed by some `Sort`, an uniq identifier of the type family, and particular parameters.
26 - Types are denoted by sort literal and parameters in parenthesis. For instance: `Array(~i8())`.
35 If two types, say `A()` and `B()` related as `A() <: B()`, i.e. `A()` is the subtype of `B()`, then…
43 - `A() <: B() <: C()` - means `A() <: B()`, `A() <: C()` and `B() <: C()`
45 - `(A() | B()) <: C()` - means `A() <: C()` and `B() <: C()`
47 - `(A() | B()) <: (C() | D())` - means `A() <: C()`, `B() <: C()`, `A() <: D()` and `B() <: D()`
49 In short `|` means composition of types (syntactically) in set, and `<:` is distriuted over `|`.
51 ## How to read notation of type parameters and to determine subtyping relation?
53 Suppose, we have types `T(+i8())` and `T(+i16())` and `i8() <: i16()`, how to relate types `T(...)`?
[all …]
/arkcompiler/ets_runtime/test/moduletest/calltype/
Dexpect_output.txt11 # See the License for the specific language governing permissions and
15 jscall 0 and native call1
16 jscall 1 and native call2 1
17 jscall 2 and native call3 1 2
18 jscall 3 and native callirange 1 2 3
19 jscallirange and native callirange 1 2 3 4
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcircuit_ir_specification.md5and target-neutral way, targeting multi-language and multi-target support. The design of Circuit I…
7 …s: [sequential logic](https://en.wikipedia.org/wiki/Sequential_logic) part and [combinational logi…
9and gates in this part are named **state gates** (since they acted like a [finite state machine](h…
11and gates in this part are named **computation gates**. A computation gate can do simple things su…
13and all instructions in a basic block are [linearly ordered](https://en.wikipedia.org/wiki/Total_o…
15 …ions (corresponding to multiple control flow branches) such as `IF_BRANCH` and `SWITCH_BRANCH` wil…
17and `DEPEND_SELECTOR` that select a data or dependency path based on the state transition action o…
19 …Y` are introduced. They take a state gate (the target of action) as input, and reinterpret it as a…
21and combinational logic part can benefit compilation speed, code optimization. Firstly, most of IR…
33 * `CONSTANT_LIST` `ARG_LIST`: Registering all value origins such as constants and arguments. (they …
[all …]

12345678910>>...305