| /arkcompiler/runtime_core/docs/ |
| D | design-of-interpreter.md | 20 This section outlines common requirements that should be considered while designing the interpreter 23 1. The platform should scale from microcontrollers to hi-end mobile phones: 24 1. It should fit into 50Kb of ROM. 25 1. It should be able to run consuming 64Kb of RAM. 26 1. Program execution via bytecode interpretation should be enabled on all targets. 27 1. The platform should support multiple programming languages 33 1. Bytecode should allow the interpreter to run no slower than state of the art interpreters. 34 1. Bytecode should be compact in size to avoid bloating application code. 35 1. Bytecode description should have a single entry point to simplify maintenance 73 1. All entities in the executable file should be encoded and stored compactly to avoid bloating [all …]
|
| D | memory-management.md | 5 Panda Runtime should be scalable onto different devices/OSes. So we need some abstraction level for… 7 We have very limited memory resources for IoT target, so we should maximize efforts on reducing mem… 202 …ntainer for string hash value (of course we should save object hash somewhere else if it is needed… 233 All allocators should have these methods: 248 After code generation, all internal structures of JIT should be deleted. 254 - should allocate executable memory for JITed code 293 This should reduce overhead because of synchronization tasks. 296 - locks should protect localized/categorized resources(for example one lock for each size in small … 303 To make it work, allocator should support dynamic size table(or should have possibility choose from… 316 For the cases when we can get memory shortage we should have some preallocated buffer which allow R… [all …]
|
| D | assembly_format.md | 11 …should not "favor" by any means any existing programming language that is (or intended to be) supp… 12 * Panda assembly should not focus on a certain programming paradigm. E.g. we should not enforce con… 14 …bler should not impose any limitation of quantity and internal structure of source code files writ… 15 * Panda assembler should not follow any implicit conventions about the name of the entry point. 32 …t be encoded with `mutf8` encoding. For example: `"文字范例"` string literal should be encoded as `"\x… 250 Whenever a record should incorporate another record, the name of the nested record must be specifie… 267 …g. This is because the result of a field load should be valid for any member, hence a record membe…
|
| /arkcompiler/runtime_core/isa/ |
| D | asserts.rb | 35 assert('Non-prefixed instruction opcodes and prefixes should fit one byte') do 47 assert('All instructions for a prefix should fit one byte') do 53 assert('Prefixed instruction should have some prefix specified') do 59 assert('Prefix should be defined') do 67 assert('All prefixes should have unique name') do 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 113 assert('Dtype should be none when bytecode doesn\'t write into accumulator or registers') do 121 assert('Instruction::float? should play well with operand types') do 127 assert('Conditionals should be jumps') do # At least currently [all …]
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | method.h | 191 // should become visible in Method() 208 // store which should become visible acquire in Method() 370 // should become visible in GetCompiledEntryPoint() 377 // should become visible in GetCompiledEntryPoint() 384 // store which should become visible acquire in SetCompiledEntryPoint() 405 // should become visible in GetCompilationStatus() 418 // should become visible in SetCompilationStatus() 422 // which should become visible acquire in SetCompilationStatus() 429 // should become visible in AtomicSetCompilationStatus() 476 // should become visible in GetAccessFlags() [all …]
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 65 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetAllocated() 72 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFreed() 84 // which should become visible in GetAllocatedHeap() 98 // which should become visible in GetFreedHeap() 113 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFootprint() 119 // should become visible in GetFootprint() 123 // should become visible in GetFootprint() 125 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFootprint()
|
| D | gc_barrier.h | 32 …BARRIER_POSITION_PRE = 0x1, // Should be inserted before each store/load when reference stored/l… 33 …BARRIER_POSITION_POST = 0x0, // Should be inserted after each store/load when reference stored/lo… 40 WRITE_BARRIER = 0x1, // Should be used around store 41 READ_BARRIER = 0x0, // Should be used around load 57 * Should help to encode barrier for the compiler. 78 * Runtime should provide these parameters: 94 * Runtime should provide these parameters: 119 * Runtime should provide these parameters:
|
| /arkcompiler/runtime_core/scripts/third-party-lists/ |
| D | public | 22 # ** All URL-unsafe characters in lib_repo should be %-escaped 23 # ** commit_type should be one of: branch, tag, commit 26 # ** patch_mode should be one of: no_patches, with_patches 27 # ** submodule_mode should be one of: no_submodules, with_submodules:submodule1:submodule2:...
|
| /arkcompiler/runtime_core/libpandabase/ |
| D | README.md | 30 To create an argument, it's template constructor should be called. Here is an instance: 53 Sub-arguments should not be added to the parser via `PandArgParser::Add`. 82 Tail arguments are positional arguments, which should be introduced with help of parser API 89 To access compound arguments from `C++`, regular convention should be used, for accessing sub-argum… 91 …p:compact`, here, to access `compact` sub-arguments `[Is|Get]CompilerDumpCompact()` should be used. 97 …[])` - parse arguments. Returns `true` on success. Note: `argv` & `argc` should be passed as is, w… 131 - Any non-positional argument should start with `--` (double dash) prefix 134 - Positional arguments should be without names or `=` signs, separated by whitespaces
|
| /arkcompiler/runtime_core/runtime/coretypes/ |
| D | string.cpp | 52 // After memcpy we should have a full barrier, so this writes should happen-before barrier in CreateFromString() 61 // String is supposed to be a constant object, so all its data should be visible by all threads in CreateFromString() 77 // After copying we should have a full barrier, so this writes should happen-before barrier in CreateFromMUtf8() 85 // String is supposed to be a constant object, so all its data should be visible by all threads in CreateFromMUtf8() 125 // After copying we should have a full barrier, so this writes should happen-before barrier in CreateFromUtf16() 133 // String is supposed to be a constant object, so all its data should be visible by all threads in CreateFromUtf16() 176 // After copying we should have a full barrier, so this writes should happen-before barrier in CreateNewStringFromChars() 184 // String is supposed to be a constant object, so all its data should be visible by all threads in CreateNewStringFromChars() 214 // After copying we should have a full barrier, so this writes should happen-before barrier in CreateNewStringFromBytes() 231 // String is supposed to be a constant object, so all its data should be visible by all threads in CreateNewStringFromBytes() [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | jmp.yaml | 53 # should not be here 69 # should not be here 78 # should not be here 111 # should not be here 148 # should not be here
|
| /arkcompiler/runtime_core/libpandabase/os/ |
| D | mem.h | 45 * @param mem Pointer to memory region (should be aligned to page size) 54 * @param mem Pointer to memory region (should be aligned to page size) 62 * @param mem Pointer to memory region (should be aligned to page size) 70 * @param mem Pointer to memory region (should be aligned to page size) 78 * @param mem Pointer to memory region (should be aligned to page size) 312 * @param size - size in bytes, should be multiple of PAGE_SIZE 323 * @param size - size in bytes, should be multiple of PAGE_SIZE 324 * @param aligment_in_bytes - alignment in bytes, should be multiple of PAGE_SIZE 350 * @param size size in bytes, should be multiple of PAGE_SIZE 382 * @param pages_start - address of pages beginning, should be multiple of PAGE_SIZE [all …]
|
| /arkcompiler/runtime_core/runtime/jit/ |
| D | profiling_data.h | 58 // should become visible in UpdateInlineCaches() 78 // should become visible acquire in UpdateInlineCaches() 85 // should become visible in GetBytecodePc() 92 // which should become visible acquire in SetBytecodePc() 102 // should become visible in GetClassesCopy() 118 // should become visible in GetClassesCount() 132 // should become visible in IsMegamorphic()
|
| /arkcompiler/ets_frontend/ts2panda/tests/ |
| D | lexenv.test.ts | 75 …expect(globalScope.getChildVariableScope().length, "should not have any children!").to.be.equal(0); 76 … expect(globalScope.getParentVariableScope(), "should not have any children!").to.be.equal(null); 77 …expect(globalScope.getBindingNode() == sourceFile, "functionblock.node should equal to sourceFile"… 105 expect(children.length, "should have 2 child!").to.be.equal(2); 106 expect(parent, "should not have any children!").to.be.equal(null); 107 … expect(bindingNode, "functionblock.root should equal to sourceFile").to.be.deep.equal(sourceFile); 113 expect(grandchildren0.length == 2, "son should have two children!").to.be.true; 114 expect(parentOfSon0, "son's parent should equal root!").deep.equal(globalScope); 115 …expect(bindingNodeOfSon0.kind, "son's parent should equal root!").deep.equal(ts.SyntaxKind.Functio… 123 …expect(bindingNodeOfGrandson0.kind, "grandson0's parent should equal son0!").deep.equal(ts.SyntaxK… [all …]
|
| /arkcompiler/runtime_core/templates/options/ |
| D | options.h.erb | 69 std::cerr << "WARNING: Option '<%= op.name %>' is deprecated and should not be used\n"; 76 std::cerr << "WARNING: Option '<%= op.name %>' is deprecated and should not be used\n"; 83 std::cerr << "WARNING: Option '<%= op.name %>' is deprecated and should not be used\n"; 91 std::cerr << "WARNING: Option '<%= op.name %>' is deprecated and should not be used\n"; 103 std::cerr << "WARNING: Option '<%= op.name %>' is deprecated and should not be used\n"; 110 std::cerr << "WARNING: Option '<%= op.name %>' is deprecated and should not be used\n"; 150 std::cerr << "WARNING: Option '<%= op.name %>' is deprecated and should not be used\n";
|
| /arkcompiler/runtime_core/libpandabase/mem/ringbuf/ |
| D | lock_free_ring_buffer.h | 39 // Atomic with release order reason: threads should see correct initialization in LockFreeBuffer() 41 // Atomic with release order reason: threads should see correct initialization in LockFreeBuffer() 49 // Atomic with acquire order reason: push should get the latest value in TryPush() 52 // Atomic with acquire order reason: push should get the latest value in TryPush()
|
| /arkcompiler/runtime_core/runtime/interpreter/ |
| D | math_helpers.h | 64 static_assert(std::is_floating_point_v<T>, "T should be floating point type"); in operator() 73 static_assert(std::is_integral_v<T>, "T should be integral type"); in operator() 91 static_assert(std::is_floating_point_v<T>, "T should be floating point type"); in operator() 109 static_assert(std::is_floating_point_v<T>, "T should be floating point type"); in operator() 127 static_assert(std::is_integral_v<T>, "T should be integral type"); in operator() 147 static_assert(std::is_integral_v<T>, "T should be integral type"); in operator()
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | aot_cha.md | 57 image should be checked during AOT file verification. 59 As boot class path represents the core classes of VM it should not depend on any of application cod… 60 of boot class file the options `--paoc-boot-output` should be used. The class hierarchy verificatio… 68 …l other entries of --boot-panda-files that will be used during execution should have been passed a…
|
| D | aot_resolve_string.md | 15 - compiled method should not be a static class initializer (initializers get invoked only once and … 17 - `--compiler-aot-load-string-plt` option should be turned on (it is on by default). 27 - `--aot-string-gc-roots-limit` controls how many time the same string should be resolved before it…
|
| /arkcompiler/runtime_core/runtime/mem/gc/ |
| D | bitmap.cpp | 50 // should become visible in AtomicTestAndSetBit() 68 // should become visible in AtomicTestAndClearBit() 83 …cquire order reason: data race with word_addr with dependecies on reads after the load which should in AtomicTestBit()
|
| D | gc_adaptive_stack.h | 53 * This method should be used when we find new object by field from another object. 60 * This method should be used when we find new object as a root 83 * Should be used if we decide to free it not on destructor of this instance.
|
| D | gc_settings.h | 66 * \brief true if GC should be running in place 155 * \brief true if G1 should updates remsets concurrently 170 bool run_gc_in_place_ = false; /// true if GC should be running in place 190 …bool g1_enable_concurrent_update_remset_ = false; /// true if G1 should updates remsets concurren…
|
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | concurrent.cpp | 70 // concurrent function should only be function declaration in SetConcurrent() 85 … throw Error {ErrorType::GENERIC, "Concurrent function should only be function declaration", line, in ThrowInvalidConcurrentFunction() 90 …throw Error {ErrorType::GENERIC, "Concurrent function should only use import variable or local var… in ThrowInvalidConcurrentFunction()
|
| /arkcompiler/runtime_core/verification/jobs/ |
| D | thread_pool.cpp | 34 // If this changes, all return statements should be reviewed. in Process() 103 // should become visible acquire in Initialize() 110 // which should become visible acquire in Initialize() 145 // this should happen in at most one thread even if Destroy is called in many in Destroy()
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | object_type_check_elimination.cpp | 80 // If we can't replace IsInstance, we should reset ObjectTypeInfo for input in TryEliminateIsInstance() 99 // If we can't replace IsInstance, we should reset ObjectTypeInfo for input in TryEliminateIsInstance() 115 // If we can't replace CheckCast, we should reset ObjectTypeInfo for input. in TryEliminateCheckCast() 136 // If we can't replace CheckCast, we should reset ObjectTypeInfo for input. in TryEliminateCheckCast()
|