/arkcompiler/runtime_core/docs/ |
D | memory-management-SW-requirements.md | 8 1. Allocations for the application 9 1. Allocations for the internal usage by Runtime(Allocations for compiler purposes, for GC internal… 31 - Internal memory space for non-compiler part of runtime (including GC internals) 33 - Non-moving space(space for non-movable objects) 38 - GC for classes (optional) 39 - GC for code cache(optional) 43 High level requirements for GC: 44 - acceptable latency (max pause) for good user experience 51 …ation for application (for example: we can choose non-compacting GC with freelist allocators for s… 58 - allocator API for runtime [all …]
|
D | ir_format.md | 7 * Compiler overhead about 100000 native instructions per a bytecode instruction(standard for JIT co… 12 In the development process, it is very important to have auxiliary functionality for various code t… 13 …endencies between different passes. Second, often some optimization creates a context for others. 59 * Using profile information for IFC and speculative optimizations 60 * Supporting side exits for de-optimizations and removing cold code. 63 * Common properties will be introduced for the instructions, making it easier to add new instructio… 76 The main target is ARM64. So Panda IR should be able to do arm specific optimizations. For this, ne… 82 …e split on several low level instructions(close to assembler instructions) for additional optimiza… 86 Overhead is the time that requires for compile. 88 … find a balance between performance and the overhead needed to achieve it. For example, the optimi… [all …]
|
/arkcompiler/ets_frontend/es2panda/test/parser/js/ |
D | test-for.js | 12 * See the License for the specific language governing permissions and 17 for(;;); 19 for(;;){} 21 for(a<b;;); 23 for(a<b;c();); 25 for(a<b;c();a++){AnimationPlaybackEvent; fetch;[]()} 27 for((function(){})(); (function(){})(); (function(){})()) {} 29 for (;a;); 30 for (;;a); 32 for (let fa = 5;;); [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | forStatementsMultipleValidDecl.ts | 13 * See the License for the specific language governing permissions and 23 for (let x: number; ;) { } 24 for (let x = 2; ;) { } 26 for (let x = <number>undefined; ;) { } 29 for (let x = 'this is a string'; ;) { 37 for (let p: Point; ;) { } 38 for (let p = { x: 1, y: 2 }; ;) { } 39 for (let p: Point = { x: 0, y: undefined }; ;) { } 40 for (let p = { x: 1, y: <number>undefined }; ;) { } 41 for (let p: { x: number; y: number; } = { x: 1, y: 2 }; ;) { } [all …]
|
D | forStatements.ts | 13 * See the License for the specific language governing permissions and 53 for(let aNumber: number = 9.9;;){} 54 for(let aString: string = 'this is a string';;){} 55 for(let aDate: Date = new Date(12);;){} 56 for(let anObject: Object = new Object();;){} 58 for(let anAny: any = null;;){} 59 for(let aSecondAny: any = undefined;;){} 60 for(let aVoid: void = undefined;;){} 62 for(let anInterface: I = new C();;){} 63 for(let aClass: C = new C();;){} [all …]
|
D | forBreakStatements.ts | 13 * See the License for the specific language governing permissions and 21 for (; ;) { 26 for (; ;) { 33 for (; ;) { 39 for (; ;) { 43 for (; ;) { 49 for (; ;) { 53 for (; ;) break SIX; 58 for (; ;) for (; ;) for (; ;) break SEVEN; 61 for (; ;) {
|
D | forContinueStatements.ts | 13 * See the License for the specific language governing permissions and 21 for (; ;) { 26 for (; ;) { 33 for (; ;) { 39 for (; ;) { 43 for (; ;) { 49 for (; ;) { 53 for (; ;) continue SIX; 58 for (; ;) for (; ;) for (; ;) continue SEVEN; 61 for (; ;) {
|
D | emptyVariableDeclarationBindingPatterns01_ES5.ts | 13 * See the License for the specific language governing permissions and 22 … } = a; let { p1: {}, p2: [] } = a; const { p1: {}, p2: [] } = a; for (let {} = {}, {} = … 23 … } = a; let { p1: {}, p2: [] } = a; const { p1: {}, p2: [] } = a; for (let {} = {}, {} = … 24 … } = a; let { p1: {}, p2: [] } = a; const { p1: {}, p2: [] } = a; for (let {} = {}, {} = … 74 for (let {} = {}, {} = {}; false; void 0) { 102 … for (let {} of ns) { } for (let {} of ns) { } for (const {} of ns) { } for (let… 103 … for (let {} of ns) { } for (let {} of ns) { } for (const {} of ns) { } for (let… 104 … for (let {} of ns) { } for (let {} of ns) { } for (const {} of ns) { } for (let… 110 for (let {} of ns) { 114 for (let {} of ns) { [all …]
|
D | emptyVariableDeclarationBindingPatterns01_ES5iterable.ts | 13 * See the License for the specific language governing permissions and 22 … } = a; let { p1: {}, p2: [] } = a; const { p1: {}, p2: [] } = a; for (let {} = {}, {} = … 23 … } = a; let { p1: {}, p2: [] } = a; const { p1: {}, p2: [] } = a; for (let {} = {}, {} = … 24 … } = a; let { p1: {}, p2: [] } = a; const { p1: {}, p2: [] } = a; for (let {} = {}, {} = … 74 for (let {} = {}, {} = {}; false; void 0) { 102 … for (let {} of ns) { } for (let {} of ns) { } for (const {} of ns) { } for (let… 103 … for (let {} of ns) { } for (let {} of ns) { } for (const {} of ns) { } for (let… 104 … for (let {} of ns) { } for (let {} of ns) { } for (const {} of ns) { } for (let… 110 for (let {} of ns) { 114 for (let {} of ns) { [all …]
|
D | emptyVariableDeclarationBindingPatterns01_ES6.ts | 13 * See the License for the specific language governing permissions and 22 … } = a; let { p1: {}, p2: [] } = a; const { p1: {}, p2: [] } = a; for (let {} = {}, {} = … 23 … } = a; let { p1: {}, p2: [] } = a; const { p1: {}, p2: [] } = a; for (let {} = {}, {} = … 24 … } = a; let { p1: {}, p2: [] } = a; const { p1: {}, p2: [] } = a; for (let {} = {}, {} = … 74 for (let {} = {}, {} = {}; false; void 0) { 102 … for (let {} of ns) { } for (let {} of ns) { } for (const {} of ns) { } for (let… 103 … for (let {} of ns) { } for (let {} of ns) { } for (const {} of ns) { } for (let… 104 … for (let {} of ns) { } for (let {} of ns) { } for (const {} of ns) { } for (let… 110 for (let {} of ns) { 114 for (let {} of ns) { [all …]
|
D | forInBreakStatements.ts | 13 * See the License for the specific language governing permissions and 21 for(let x in {}) { 26 for(let x in {}) { 33 for(let x in {}) { 39 for(let x in {}) { 43 for(let x in {}) { 52 for(let x in {}) { 56 for(let x in {}) break SIX; 63 for (let x in {}) for (let x in {}) for (let x in {}) break SEVEN; 66 for (let x in {}){
|
D | forInContinueStatements.ts | 13 * See the License for the specific language governing permissions and 21 for(let x in {}) { 26 for(let x in {}) { 33 for(let x in {}) { 39 for(let x in {}) { 43 for(let x in {}) { 52 for(let x in {}) { 56 for(let x in {}) continue SIX; 63 for (let x in {}) for (let x in {}) for (let x in {}) continue SEVEN; 66 for (let x in {}){
|
/arkcompiler/runtime_core/scripts/dep-lists/ |
D | ubuntu-dev | 11 # See the License for the specific language governing permissions and 14 # List of dependencies for testing Panda on Ubuntu 18.04 and 20.04 23 lcov # For coverage calculation 24 libc++-dev:amd64 # For clang-tidy to find standard headers 25 python3 # For running multilingual benchmarks 26 python3-matplotlib # For statistics visualization and plotting 27 openjdk-8-jdk # For running Java benchmarks 28 libasm-java # For running legacy Java files compilation 29 doxygen # For generate documentation 30 graphviz # For graphs in documentation [all …]
|
D | ubuntu-18-04-dev | 11 # See the License for the specific language governing permissions and 14 # Dependency list for testing Panda on Ubuntu 18.04 23 lcov=1.13-* # For coverage calculation 24 libc++-dev:amd64=6.0-* # For clang-tidy to find standard headers 25 python3=3.6.7-* # For running multilingual benchmarks 26 python3-matplotlib=2.1.1-* # For statistics visualization and plotting 27 openjdk-8-jdk=8u312-* # For running Java benchmarks 28 libasm-java=7.0-* # For running legacy Java files compilation 29 doxygen=1.8.13-* # For generate documentation 30 graphviz=2.40.1-* # For generate graphs in documentation [all …]
|
D | ubuntu-20-04-dev | 11 # See the License for the specific language governing permissions and 14 # List of dependencies for testing Panda on Ubuntu 20.04 23 lcov=1.14-* # For coverage calculation 24 libc++-dev:amd64=1:10** # For clang-tidy to find standard headers 25 python3=3.8* # For running multilingual benchmarks 26 python3-matplotlib=3.1.2-* # For statistics visualization and plotting 27 openjdk-8-jdk=8u312-* # For running Java benchmarks 28 libasm-java=7.2-* # For running legacy Java files compilation 29 doxygen=1.8.17-* # For generate documentation 30 graphviz=2.42.2-* # For generate graphs in documentation [all …]
|
D | ubuntu-18-04-arm-dev | 11 # See the License for the specific language governing permissions and 14 # Dependency list for testing Panda on Ubuntu 18.04 23 lcov=1.13-* # For coverage calculation 24 libc++-dev:arm64=6.0-* # For clang-tidy to find standard headers 25 python3=3.6.7-* # For running multilingual benchmarks 26 python3-matplotlib=2.1.1-* # For statistics visualization and plotting 27 openjdk-8-jdk=8u312-* # For running Java benchmarks 28 libasm-java=7.0-* # For running legacy Java files compilation 29 doxygen=1.8.13-* # For generate documentation 30 graphviz=2.40.1-* # For generate graphs in documentation [all …]
|
/arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
D | FileUtils.spec.ts | 12 * See the License for the specific language governing permissions and 20 describe('Tester Cases for <FileUtils>.', function () { 21 /** test for readFile */ 22 it('Tester: <file not found> case for FileUtils#readFile', function () { 27 it('Tester: <read file content.> case for FileUtils#readFile', function () { 32 /** test for readFileAsJson */ 33 it('Tester: <read file as json.> case for FileUtils#readFileAsJson', function () { 39 it('Tester: <file not found.> case for FileUtils#readFileAsJson', function () { 45 it('Tester: <error json format.> case for FileUtils#readFileAsJson', function () { 51 /** test for getFileName */ [all …]
|
/arkcompiler/ets_frontend/test262/ |
D | es2021_tests.txt | 478 language/expressions/optional-chaining/iteration-statement-for-await-of.js 479 language/expressions/optional-chaining/iteration-statement-for-in.js 480 language/expressions/optional-chaining/iteration-statement-for.js 481 language/expressions/optional-chaining/iteration-statement-for-of-type-error.js 508 language/expressions/dynamic-import/for-await-resolution-and-error-a_FIXTURE.js 535 language/expressions/dynamic-import/for-await-resolution-and-error-poisoned_FIXTURE.js 542 language/expressions/dynamic-import/for-await-resolution-and-error-b_FIXTURE.js 546 language/expressions/dynamic-import/for-await-resolution-and-error-agen.js 552 language/expressions/dynamic-import/for-await-resolution-and-error.js 561 language/expressions/dynamic-import/for-await-resolution-and-error-a_FIXTURE.js [all …]
|
D | ts2abc_skip_tests.json | 98 "language/expressions/dynamic-import/for-await-resolution-and-error-agen-yield.js", 99 "language/expressions/dynamic-import/for-await-resolution-and-error-agen.js", 102 "language/expressions/dynamic-import/for-await-resolution-and-error.js", 159 "language/expressions/optional-chaining/iteration-statement-for-await-of.js", 160 "language/expressions/optional-chaining/iteration-statement-for-in.js", 161 "language/expressions/optional-chaining/iteration-statement-for.js", 162 "language/expressions/optional-chaining/iteration-statement-for-of-type-error.js", 520 …elated and funcName-related Cases that are not supported on ts2abc about async generators for now", 595 "language/statements/for-await-of/async-gen-dstr-var-obj-ptrn-id-init-fn-name-gen.js", 596 "language/statements/for-await-of/async-gen-dstr-var-obj-ptrn-id-init-fn-name-class.js", [all …]
|
/arkcompiler/ets_frontend/testTs/instype/ |
D | recordthis-expected.txt | 1 Handle types for function: #1#A 3 Handle types for function: getName 5 Handle types for function: getId 7 Handle types for function: setName 9 Handle types for function: setId 11 Handle types for function: dump 13 Handle types for function: stest 15 Handle types for function: test 17 Handle types for function: testwiththis 19 Handle types for function: add [all …]
|
/arkcompiler/runtime_core/cmake/ |
D | ClangTidy.cmake | 11 # See the License for the specific language governing permissions and 17 # When clang/gcc is used for cross-compilation, it is ran on host and use defines and options for h… 18 # For example for arm32 cross-compilation Clang-Tidy: 20 # - believes that size of pointer is 64 instead of 32 for aarch32 46 …message(FATAL_ERROR "clang-tidy not found, but requested for build. Use -DPANDA_ENABLE_CLANG_TIDY=… 53 # Hence we check for ERROR_VARIABLE instead of RESULT_VARIABLE. 90 # case for CHECKS is to pass checks to be suppressed. 93 # * We use permissive policy for checks, i.e. everything is enabled by default, 99 # that each components is responsible for QA'ing only its code base. 125 …# aliases for other checks(here full list: https://clang.llvm.org/extra/clang-tidy/checks/list.htm… [all …]
|
D | PandaCmakeFunctions.cmake | 11 # See the License for the specific language governing permissions and 14 # 32-bits pointers optimization in Panda for objects => addresses usage low 4GB 15 # We need use linker scripts for section replacement above 4GB 16 # Note: AddressSanitizer reserves (mmap) addresses for its own needs, 17 # so we have difference start addresses for asan and default buildings 20 # definitions for exception handling sections 32 # For cross-aarch64 with ASAN with linker script we need use additional path-link 40 # We need use specific options for AMD64 building with Clang compiler 41 # because it is necessary for placement of sections above 4GB 45 # so for rapidcheck test binaries panda_test_asan.ld is used which does not require [all …]
|
/arkcompiler/runtime_core/compiler/docs/ |
D | plt.md | 7 JIT/AOT compiler has a `SlowPath` mechanism. It is used for some opcodes where a call to runtime is… 10 Unique `SlowPath` blob is generated for each place it is called, and as it contains saving register… 11 `BoundaryFrame` for stack walker, it's code is much longer than few runtime-call-related instructio… 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… 29 fully transparent resolver for code generation. Lets see `arm64` example (`GetCompiledEntryPointOff… 66 For each pair of File (input for `ark_aot` compiler) and callee `method Id` (`panda_file::File::Ent… 85 ; CallVirtual opcode (register allocator used x5 for Class ptr) | 104 Thus for `PLT CallVirtual Resolver` convention is the following - first `Encoder` temporary register 105 (`x16` for `arm64` or `r12` for `x86_84`) is a parameter with `SecondSlot` address and also the sam… [all …]
|
/arkcompiler/runtime_core/compiler/tests/ |
D | iterators_test.cpp | 12 * See the License for the specific language governing permissions and 34 for (auto inst : block->PhiInsts()) { in Check() 40 for (auto inst : block->Insts()) { in Check() 46 for (auto inst : block->AllInsts()) { in Check() 53 for (auto inst : block->PhiInstsSafe()) { in Check() 59 for (auto inst : block->InstsSafe()) { in Check() 65 for (auto inst : block->AllInstsSafe()) { in Check() 72 for (auto inst : block->PhiInstsSafeReverse()) { in Check() 79 for (auto inst : block->InstsSafeReverse()) { in Check() 86 for (auto inst : block->AllInstsSafeReverse()) { in Check() [all …]
|
/arkcompiler/ets_runtime/test/perform/string/ |
D | string.js | 12 * See the License for the specific language governing permissions and 19 for(var i = 0; i < 100000; ++i) { 32 for(var i = 0; i < 100000; ++i) { 45 for(var i = 0; i < 100000; ++i) { 56 for(var i = 0; i < 100000; ++i) { 67 for(var i = 0; i < 100000; ++i) { 79 for(var i = 0; i < 100000; ++i) { 91 for(var i = 0; i < 100000; ++i) { 103 for(var i = 0; i < 100000; ++i) { 114 for(var i = 0; i < 100000; ++i) { [all …]
|