| /arkcompiler/runtime_core/libziparchive/ |
| D | zip_archive.h | 10 * distributed under the License is distributed on an "AS IS" BASIS, 75 * Returns 0 on success, and 1 on failure. 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. 126 * Returns 0 on success, and 1 on failure. 134 * Returns 0 on success, and 1 on failure. 146 * Returns 0 on success, and 1 on failure. [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/ |
| D | test-runner.rb | 10 # distributed under the License is distributed on an "AS IS" BASIS, 71 opts.on('-p', '--panda-build DIR', 'Path to panda build directory (required)') 72 …opts.on('-t', '--test-dir DIR', 'Path to test directory to search tests recursively, or path to si… 73 opts.on('-x', '--temp-dir DIR', 'Temporary files location, defaults to /tmp') 74 opts.on('-v', '--verbose LEVEL', Integer, 'Set verbose level 1..5') 75 opts.on('--verbose-verifier', 'Allow verifier to produce extended checking log') 76 opts.on('--aot-mode', 'Perform AOT compilation on test sources') 77 opts.on('--timeout SECONDS', Integer, 'Set process timeout, default is 30 seconds') 78 …opts.on('--dump-timeout SECONDS', Integer, 'Set process completion timeout, default is 30 seconds') 79 opts.on('--enable-core-dump', 'Enable core dumps') [all …]
|
| D | generate-cts.rb | 10 # distributed under the License is distributed on an "AS IS" BASIS, 56 opts.on('-t', '--template FILE', 'Path to template yaml file to generate tests (required)') 57 opts.on('-s', '--schema FILE', 'Path to json schema for template yaml (required)') 58 opts.on('-k', '--skip', 'Skip yaml schema validation') 59 opts.on('-o', '--output DIR', 'Path to directory where tests will be generated (required)') 60 opts.on('--skip-header', 'Do not generate test headers') 61 …opts.on('-f', '--file FILE', 'Generate tests from the specified yaml file only, for example: fmod2… 62 opts.on('--chunk INTEGER', Integer, 'Chunk to process, starting from 0 (0 by default)') 63 opts.on('--chunks INTEGER', Integer, 'Number of chunks (1 by default)') 64 opts.on('-h', '--help', 'Prints this help') do
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 10 * distributed under the License is distributed on an "AS IS" BASIS, 34 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordAllocate() 42 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordMoved() 58 …ith acq_rel order reason: data race with allocated_ with dependecies on reads after the load and on in RecordFree() 65 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetAllocated() 72 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetFreed() 83 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetAllocatedHeap() 97 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetFreedHeap() 113 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetFootprint() 118 …// Atomic with acquire order reason: data race with allocated_ with dependecies on reads after the… in GetFootprint() [all …]
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/bin/ |
| D | spectrac.rb | 10 # distributed under the License is distributed on an "AS IS" BASIS, 43 opts.on('-r', '--report [FILE]', 'Output the test coverage summary report in yaml') 44 opts.on('-d', '--testdir DIR', 'Directory with the test files (required)') 45 opts.on('-g', '--testglob GLOB', 'Glob for finding test files in testdir (required)') 46 opts.on('-s', '--spec FILE1,FILE2,FILE3', Array, 'ISA spec file(s) (at least one required)') 47 opts.on('-n', '--non_testable [FILE]', 'Non testable assertions') 48 …opts.on('-u', '--uncovered [FILE]', 'Output yaml document with ISA spec areas not covered by tests… 49 …opts.on('-U', '--uncovered_md [FILE]', 'Output markdown document with ISA spec areas not covered b… 50 …opts.on('-o', '--orphaned [FILE]', 'Output yaml file with the list of tests not relevant to the sp… 51 …opts.on('-O', '--orphaned_md [FILE]', 'Output markdown file with the list of tests not relevant to… [all …]
|
| /arkcompiler/runtime_core/compiler/cmake/ |
| D | target.cmake | 9 # distributed under the License is distributed on an "AS IS" BASIS, 22 set(PANDA_COMPILER_MULTI_TARGET ON PARENT_SCOPE) 25 set(compiler_any_target ON) 38 message(ERROR "Unimplemented multi-build aarch32 on aarch64-target") 41 message(ERROR "Unimplemented multi-build aarch32 on x86-build-target") 43 # ABI must be defined for build on non-arm archs 51 message(ERROR "Unimplemented multi-build aarch64 on aarch32-target") 54 message(ERROR "Unimplemented multi-build aarch64 on x86-build-target")
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | reg_alloc_graph_coloring_doc.md | 14 # Register allocation on Chordal-graphs with advanced register coalescing 17 This paper describes register allocation algorithm that is based on ideas of Chordal-graph coloring… 18 …ethod of register allocation on Chordal-graphs is described in works of Sebastian Hack and Fernand… 23 …e as in Linear-scan from works of Wimmer ("Linear Scan Register Allocation on SSA Form"). But outp… 32 PEO on chordal graph always builds a clique, so it always color consequently nodes of the same cliq… 37 …y done, so it decrease ability for successful coalescing. Or alternatively on post-coalescing pote… 38 …. And on stage of coloring it is tried to satisfy these hints if possible. This approach is more f… 41 …ld be colored with the same color, which will remove all move-instructions on its edges. Let’s cal… 43 …, where color value initially set to “Undefined” value. Bias-array is used on assignment (Coloring… 47 …xBFS algorithm (that is reversed PEO). On each step processes only nodes that have no colors (not … [all …]
|
| D | aot_cha.md | 7 The class order in class path influences on resulting class hierarchy that would be available for a… 59 As boot class path represents the core classes of VM it should not depend on any of application cod… 64 Since the AOT file can be compiled on one host system and executed on different target, we need an … 65 files location according their paths on the target. `--paoc-boot-location` specifies the path where… 66 located on the target system. It works identically to `--paoc-location` but only for boot files use… 87 The [PLT Resolvers](./plt.md) help to avoid this resolution on each call and cache result (index in…
|
| /arkcompiler/runtime_core/runtime/mem/ |
| D | mem_stats.cpp | 10 * distributed under the License is distributed on an "AS IS" BASIS, 39 …h acq_rel order reason: data race with humongous_objects_allocated_ with dependecies on reads after in RecordAllocateObjects() 40 // the load and on writes before the store in RecordAllocateObjects() 43 …// Atomic with acq_rel order reason: data race with objects_allocated_ with dependecies on reads a… in RecordAllocateObjects() 44 // and on writes before the store in RecordAllocateObjects() 56 …cq_rel order reason: data race with last_young_objects_moved_bytes_ with dependecies on reads after in RecordYoungMovedObjects() 57 // the load and on writes before the store in RecordYoungMovedObjects() 59 …// Atomic with acq_rel order reason: data race with objects_allocated_ with dependecies on reads a… in RecordYoungMovedObjects() 60 // on writes before the store in RecordYoungMovedObjects() 72 …// Atomic with acq_rel order reason: data race with objects_allocated_ with dependecies on reads a… in RecordTenuredMovedObjects() [all …]
|
| D | frame_allocator.h | 10 * distributed under the License is distributed on an "AS IS" BASIS, 92 * @return true on success, or false on fail 99 * @return pointer to the allocated memory on success, or nullptr on fail 111 * @return pointer on success, or nullptr on fail
|
| /arkcompiler/runtime_core/docs/ |
| D | design-of-interpreter.md | 13 | Rationale | Elaborates on the rationales behind the decisions. | 26 1. Program execution via bytecode interpretation should be enabled on all targets. 49 For the rationale on the bytecode type, please see [here](rationale-for-bytecode.md). 51 Rationale on the machine-readable instruction set architecture is following. Since bytecode 88 respective files on demand. 96 for the same application introduces extra duplication of metadata and implies extra burden on 102 select the optimal size based on actual code base. 117 1. Interpreter should be portable enough to run on targets from IoT devices 119 1. Interpreter should not create extra pressure on the host system. 125 1. Interpreter does not depend on C++ standard library. All necessary classes, containers, etc. [all …]
|
| D | runtime-debug-api.md | 5 1. Runtime should support debugging on the platforms from low-end IoT devices to hi-end mobile phon… 9 1. Runtime doesn't patch apps' bytecode on the fly. Instead of it notification about changing bytec… 11 …er works in the own thread and responsibilies for thread management relies on it, runtime doesn't … 15 1. As some low-end targets can store bytecode in ROM, runtime cannot patch app's bytecode on the fl… 17 1. To simplify communication beetween debugger and runtime (especially on microcontrollers) they ar…
|
| D | rationale-for-bytecode.md | 14 somewhere in memory and executes corresponding _operations_ on operation's arguments, 16 directly on the CPU) or _memory_ (some locations in computer's RAM). An important subset of memory 26 Here comes the bytecode. Simply said, it is an attempt to build an abstract CPU on top of real 27 ones. A program written for such abstract CPU can be run on any real hardware with the help of a 83 (depending on the benchmark). 133 Let's take a closer look at `adda arg1, arg2`. Assume that arguments map to virtual registers on 166 that most of operations inside a function happen on local and/or temporary variables, while 173 needed forms. Thus we save on opcode space without losing in encoding size (on average). 204 on the same platform with the same bytecode, we would have to handle both JavaScript-style addition 217 I.e. does it mean that if `adda reg1, reg2` operates only on 64-bit integers, registers `reg1` [all …]
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | method.h | 10 * distributed under the License is distributed on an "AS IS" BASIS, 190 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in Method() 204 …// constraints imposed on other reads or writes NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-ac… in Method() 207 …th release order reason: data race with compiled_entry_point_ with dependecies on writes before the in Method() 369 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in GetCompiledEntryPoint() 376 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in GetCompiledEntryPoint() 383 …th release order reason: data race with compiled_entry_point_ with dependecies on writes before the in SetCompiledEntryPoint() 404 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in GetCompilationStatus() 417 …// Atomic with acquire order reason: data race with access_flags_ with dependecies on reads after … in SetCompilationStatus() 421 …// Atomic with release order reason: data race with access_flags_ with dependecies on writes befor… in SetCompilationStatus() [all …]
|
| /arkcompiler/runtime_core/isa/ |
| D | gen.rb | 10 # distributed under the License is distributed on an "AS IS" BASIS, 67 opts.on('-t', '--template FILE', 'Template for file generation (required)') 68 opts.on('-d', '--data FILE', 'Source data in YAML format (required)') 69 opts.on('-o', '--output FILE', 'Output file (default is stdout)') 70 opts.on('-a', '--assert FILE', 'Go through assertions on data provided and exit') 71 opts.on('-r', '--require foo,bar,baz', Array, 'List of files to be required for generation') 73 opts.on('-h', '--help', 'Prints this help') do
|
| /arkcompiler/runtime_core/cmake/ |
| D | Definitions.cmake | 9 # distributed under the License is distributed on an "AS IS" BASIS, 180 option(PANDA_WITH_JAVA "Enable java plugin" ON) 181 option(PANDA_WITH_ECMASCRIPT "Enable ecmascript plugin" ON) 182 option(PANDA_WITH_ACCORD "Enable accord plugin" ON) 183 option(PANDA_WITH_CANGJIE "Enable cangjie plugin" ON) 226 set(PANDA_WITH_JAVA ON) 227 set(PANDA_WITH_ECMASCRIPT ON) 254 set(PANDA_COMPILER_CFI ON) 276 option(PANDA_CROSS_COMPILER "Enable compiler cross-compilation support" ON) 295 set(PANDA_COMPILER_TARGET_${PANDA_HOST_TOOLS_TARGET_ARCH} ON) [all …]
|
| /arkcompiler/runtime_core/irtoc/lang/ |
| D | options.rb | 11 # distributed under the License is distributed on an "AS IS" BASIS, 29 opts.on("--ark_source_dir=PATH", "Path to panda source code") { |v| self.ark_source_dir = v } 30 opts.on("--output=PATH", "Output file") { |v| self.output_file = v } 31 …opts.on("--input=PATH", "Input files, separated by ':' symbol") { |v| self.input_files = v.split('… 32 …opts.on("--definitions=LIST", "C++ definitions that will be used for compiling output file") { |v|… 33 opts.on("--arch=ARCH", "Target architecture") { |v| self.arch = v } 34 opts.on('--ir-api=API', 'API to emit during C++ code generation') { |v| self.ir_api = v } 35 opts.on('--isa=PATH', 'ISA YAML file') { |v| self.isa = v } 36 opts.on('--plugins=PATH', 'Plugins file') { |v| self.plugins = v } 37 … opts.on('--keep-artifacts', 'Do not remove intermediate files') { |v| self.keep_artifacts = true }
|
| /arkcompiler/ets_frontend/ts2panda/scripts/ |
| D | gen_diagnostic.rb | 10 # distributed under the License is distributed on an "AS IS" BASIS, 44 opts.on('-t', '--template FILE', 'Template for file generation (required)') 45 opts.on('-d', '--datafile FILE', 'Source data in JSON format (required)') 46 opts.on('-o', '--output FILE', 'Output file (required)') 47 opts.on('-r', '--require foo,bar,baz', Array, 'List of files to be required for generation') 49 opts.on('-h', '--help', 'Prints this help') do
|
| /arkcompiler/ets_runtime/docs/ |
| D | overview.md | 3 … languages on the multi-chip platform. ArkCompiler JS Runtime provides the capability of compiling… 10 The source code compiler of ArkCompiler JS Runtime receives JS source code, based on which ts2abc g… 30 …JS Compiler Subsystem consists of the Stub compiler, optimized compilation framework based on the … 47 …ler directly converts the source code into high-quality machine code based on the TS type informat… 49 …n code blocks and constant strings in the future) in Actor instances based on the Actor memory iso… 51 …on the class declaration and runtime conventions in the TS program. The C/C++ code usually include…
|
| /arkcompiler/runtime_core/libpandabase/templates/ |
| D | logger_gen.rb | 10 # distributed under the License is distributed on an "AS IS" BASIS, 25 opts.on('-d', '--data FILE', 'Logger data file in YAML format') 26 opts.on('-p', '--plugins FILE', 'Plugins data file in YAML format') 27 opts.on('-o', '--output FILE', 'Output file (default is stdout)') 29 opts.on('-h', '--help', 'Prints this help') do
|
| /arkcompiler/runtime_core/runtime/tooling/ |
| D | debug_inf.cpp | 10 * distributed under the License is distributed on an "AS IS" BASIS, 104 // imposed on other reads or writes in Lock() 113 // imposed on other reads or writes in UnLock() 122 // on other reads or writes in AddCodeMetaInfoImpl() 130 // on other reads or writes in AddCodeMetaInfoImpl() 141 // on other reads or writes in AddCodeMetaInfoImpl() 161 // on other reads or writes in DelCodeMetaInfoImpl() 165 // imposed on other reads or writes in DelCodeMetaInfoImpl() 169 // imposed on other reads or writes in DelCodeMetaInfoImpl()
|
| /arkcompiler/runtime_core/runtime/templates/ |
| D | gen_intrinsics_data.rb | 10 # distributed under the License is distributed on an "AS IS" BASIS, 46 opts.on('-t', '--template FILE', 'Template for file generation (required)') 47 …opts.on('-d', '--datafiles FILE1,FILE2,FILE3', Array, 'Source data files in YAML format (required)… 48 opts.on('-o', '--output FILE', 'Output file (required)') 50 opts.on('-h', '--help', 'Prints this help') do
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | options.yaml | 9 # distributed under the License is distributed on an "AS IS" BASIS, 28 … optimizer is turned on, only DCE is applied. N=2: (default): New optimizer is turned on, all comp…
|
| /arkcompiler/runtime_core/ |
| D | LICENSE | 42 form, that is based on (or derived from) the Work and for which the 53 or by an individual or Legal Entity authorized to submit on behalf of 57 communication on electronic mailing lists, source code control systems, 58 and issue tracking systems that are managed by, or on behalf of, the 64 on behalf of whom a Contribution has been received by Licensor and 146 Contributor provides its Contributions) on an "AS IS" BASIS, 171 on Your own behalf and on Your sole responsibility, not on behalf 188 distributed under the License is distributed on an "AS IS" BASIS,
|
| /arkcompiler/toolchain/build/config/sanitizers/ |
| D | sanitizers.gni | 9 # distributed under the License is distributed on an "AS IS" BASIS, 108 # This flag is not used for libFuzzer (use_libfuzzer=true) unless we are on 151 # Args that are in turn dependent on other args must be in a separate 196 # We do leak checking with libFuzzer on Linux. Set is_lsan for code that 197 # relies on LEAK_SANITIZER define to avoid false positives. 222 "MSan currently only works on 64-bit Linux and ChromeOS builds.") 226 # ASAN build on Windows is not working in debug mode. Intercepting memory 227 # allocation functions is hard on Windows and not yet implemented in LLVM. 229 "ASan on Windows doesn't work in debug (set is_debug=false).") 231 # Make sure that if we recover on detection (i.e. not crash), diagnostics are [all …]
|