| /arkcompiler/runtime_core/static_core/docs/coroutines/ |
| D | coro_seq.plantuml | 6 CoroutineManager -> "Coroutine: main": Create 7 CoroutineManager -> "Coroutine: main": Invoke "main" 8 activate "Coroutine: main" 9 "Coroutine: main" -> CoroutineManager: Launch 11 CoroutineManager -> CoroutineManager: Suspend("Coroutine: main") 12 deactivate "Coroutine: main" 15 deactivate "Coroutine: main" 18 CoroutineManager -> CoroutineManager: Resume("Coroutine: main") 19 activate "Coroutine: main" 20 deactivate "Coroutine: main"
|
| D | coroutines.md | 87 The main coroutine is created in a special way during runtime initialization. Runtime doesn't creat… 88 Entrypoint method for the main coroutine is specified in the command line arguments. 92 …creates an instance of CoroutineManager and the main coroutine. The main coroutine starts executin… 93 Suppose the main function executes a *launch foo()* instruction i.e. start an asynchronous operatio… 94 instance of coroutine and a Promise. Next CoroutineManager suspends the main coroutine and puts it … 97 At this moment CoroutineManager schedules the next ready to run coroutine (the main coroutine). 212 async function main() { 213 print("enter main"); 215 print("exit main"); 218 main(); [all …]
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | cross_peephole.pa | 18 #! RUN force_jit: true, options: "--compiler-cross-arch=arm", entry: "_GLOBAL::main" 19 #! EVENT /Compilation,_GLOBAL::main,.*DROPPED/ 20 #! RUN force_jit: true, options: "--compiler-cross-arch=arm64", entry: "_GLOBAL::main" 21 #! EVENT /Compilation,_GLOBAL::main,.*DROPPED/ 26 #! RUN options: "", entry: "_GLOBAL::main" 27 #! EVENT "AotEntrypointFound,_GLOBAL::main" 29 #! RUN options: "", entry: "_GLOBAL::main" 30 #! EVENT "AotEntrypointFound,_GLOBAL::main" 36 #! RUN force_jit: true, options: "", entry: "_GLOBAL::main" 37 #! EVENT /Compilation,_GLOBAL::main,.*COMPILED/ [all …]
|
| D | const_array_test.pa | 19 …rue, options: "--compiler-regex=_GLOBAL::main --compiler-unfold-const-array-max-size=2", entry: "… 20 #! EVENT /Compilation,.*main.*/ 21 #! METHOD "_GLOBAL::main" 29 …rue, options: "--compiler-regex=_GLOBAL::main --compiler-unfold-const-array-max-size=4", entry: "… 30 #! EVENT /Compilation,.*main.*/ 31 #! METHOD "_GLOBAL::main" 39 #! RUN_PAOC options: "--compiler-regex=_GLOBAL::main --compiler-unfold-const-array-max-size=2" 40 #! RUN entry: "_GLOBAL::main" 43 #! RUN_PAOC options: "--compiler-regex=_GLOBAL::main --compiler-unfold-const-array-max-size=4" 44 #! RUN entry: "_GLOBAL::main" [all …]
|
| D | disable_intrinsics.pa | 15 … RUN force_jit: true, options: "--compiler-encode-intrinsics=true", entry: "_GLOBAL::main" 16 #! EVENT /Compilation,.*_GLOBAL::main/ 17 #! METHOD "_GLOBAL::main" 21 #! ASM_METHOD "_GLOBAL::main" 25 …RUN force_jit: true, options: "--compiler-encode-intrinsics=false", entry: "_GLOBAL::main" 26 #! EVENT /Compilation,.*_GLOBAL::main/ 27 #! METHOD "_GLOBAL::main" 33 #! ASM_METHOD "_GLOBAL::main" 42 .function i64 main() {
|
| D | inline.pa | 19 …e_jit: true, options: "--compiler-regex=Test1::main --compiler-inlining-max-insts=8", entry: "Test… 20 #! EVENT /Inline,Test1::main,_GLOBAL::func,.*STATIC,LIMIT/ 21 #! EVENT_NEXT /Inline,Test1::main,_GLOBAL::small_func,.*STATIC,SUCCESS/ 24 …ce_jit: true, options: "--compiler-regex=Test1::main --compiler-inlining-max-size=6", entry: "Test… 25 #! EVENT /Inline,Test1::main,_GLOBAL::func,.*STATIC,LIMIT/ 26 #! EVENT_NEXT /Inline,Test1::main,_GLOBAL::small_func,.*STATIC,SUCCESS/ 44 .function i32 Test1.main() { 79 #! RUN force_jit: true, options: "--compiler-regex=_GLOBAL::main", entry: "_GLOBAL::main" 80 #! EVENT /Inline,_GLOBAL::main,_GLOBAL::farray,.*STATIC,SUCCESS/ 81 #! METHOD "_GLOBAL::main" [all …]
|
| D | aot_cha.pa | 19 .function i32 AotChaTest.main() { 27 #! METHOD "AotChaTest::main" 30 … options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::main", result: 95 35 #! METHOD "AotChaTest::main" 38 … options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::main", result: 95 43 #! METHOD "AotChaTest::main" 46 … options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::main", abort: 6 51 #! METHOD "AotChaTest::main" 54 #! RUN options: "", entry: "AotChaTest::main", abort: 6
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| D | runtime_adapter_test.cpp | 80 .function u1 main() { in TEST() 93 auto main = pointers.method[0]; in TEST() local 96 EXPECT_FALSE(adapter.IsMethodIntrinsic(main)); in TEST() 97 EXPECT_NE(adapter.GetBinaryFileForMethod(main), nullptr); in TEST() 98 EXPECT_EQ(adapter.GetMethodById(main, 0), nullptr); in TEST() 99 EXPECT_NE(adapter.GetMethodId(main), 0); in TEST() 100 EXPECT_EQ(adapter.GetMethodTotalArgumentType(main, 0), compiler::DataType::Type::ANY); in TEST() 102 EXPECT_EQ(adapter.GetMethodRegistersCount(main), 0); in TEST() 103 EXPECT_NE(adapter.GetMethodCode(main), nullptr); in TEST() 104 EXPECT_NE(adapter.GetMethodCodeSize(main), 0); in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
| D | runtime_adapter_test.cpp | 80 .function u1 main() { in TEST() 93 auto main = pointers.method[0U]; in TEST() local 96 EXPECT_FALSE(adapter.IsMethodIntrinsic(main)); in TEST() 97 EXPECT_NE(adapter.GetBinaryFileForMethod(main), nullptr); in TEST() 98 EXPECT_EQ(adapter.GetMethodById(main, 0U), nullptr); in TEST() 99 EXPECT_NE(adapter.GetMethodId(main), 0U); in TEST() 100 EXPECT_EQ(adapter.GetMethodTotalArgumentType(main, 0U), compiler::DataType::Type::ANY); in TEST() 102 EXPECT_EQ(adapter.GetMethodRegistersCount(main), 0U); in TEST() 103 EXPECT_NE(adapter.GetMethodCode(main), nullptr); in TEST() 104 EXPECT_NE(adapter.GetMethodCodeSize(main), 0U); in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/tests/checked/ |
| D | inline.pa | 19 …"--compiler-regex=Test1::main --compiler-inlining-max-insts=8 --compiler-inlining-always-inline-bc… 20 #! EVENT /Inline,Test1::main,_GLOBAL::func,.*STATIC,LIMIT/ 21 #! EVENT_NEXT /Inline,Test1::main,_GLOBAL::small_func,.*STATIC,SUCCESS/ 24 #! RUN_PAOC options: "--compiler-regex=Test1::main --compiler-inlining-max-insts=8 --compiler-i… 25 #! EVENT /Inline,Test1::main,_GLOBAL::func,.*STATIC,LIMIT/ 26 #! EVENT_NEXT /Inline,Test1::main,_GLOBAL::small_func,.*STATIC,SUCCESS/ 27 #! RUN entry: "Test1::main" 30 …"--compiler-regex=Test1::main --compiler-inlining-max-insts=8 --compiler-inlining-always-inline-bc… 31 #! EVENT /Inline,Test1::main,_GLOBAL::func,.*STATIC,LIMIT/ 32 #! EVENT_NEXT /Inline,Test1::main,_GLOBAL::small_func,.*STATIC,SUCCESS/ [all …]
|
| D | const_array_test.pa | 19 …rue, options: "--compiler-regex=_GLOBAL::main --compiler-unfold-const-array-max-size=2", entry: "… 20 #! EVENT /Compilation,.*main.*/ 21 #! METHOD "_GLOBAL::main" 29 …rue, options: "--compiler-regex=_GLOBAL::main --compiler-unfold-const-array-max-size=4", entry: "… 30 #! EVENT /Compilation,.*main.*/ 31 #! METHOD "_GLOBAL::main" 39 #! RUN_PAOC options: "--compiler-regex=_GLOBAL::main --compiler-unfold-const-array-max-size=2" 40 #! RUN entry: "_GLOBAL::main" 43 #! RUN_PAOC options: "--compiler-regex=_GLOBAL::main --compiler-unfold-const-array-max-size=4" 44 #! RUN entry: "_GLOBAL::main" [all …]
|
| D | aot_cha.pa | 19 .function i32 AotChaTest.main() { 27 #! METHOD "AotChaTest::main" 30 … options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::main", result: 95 35 #! METHOD "AotChaTest::main" 38 … options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::main", result: 95 44 #! METHOD "AotChaTest::main" 48 … options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::main", result: 95 54 #! METHOD "AotChaTest::main" 58 … options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::main", abort: 6 63 #! METHOD "AotChaTest::main" [all …]
|
| D | scalar_replacement.pa | 19 #! RUN force_jit: true, options: "--compiler-regex=_GLOBAL::main", entry: "_GLOBAL::main",… 20 #! METHOD "_GLOBAL::main" 25 #! RUN_PAOC options: "--compiler-regex=_GLOBAL::main" 26 #! METHOD "_GLOBAL::main" 29 #! RUN options: "", entry: "_GLOBAL::main", result: 42 31 .function i32 main() {
|
| D | cross_peephole.pa | 18 #! RUN force_jit: true, options: "--compiler-cross-arch=arm", entry: "_GLOBAL::main" 19 #! EVENT /Compilation,_GLOBAL::main,.*DROPPED/ 20 #! RUN force_jit: true, options: "--compiler-cross-arch=arm64", entry: "_GLOBAL::main" 21 #! EVENT /Compilation,_GLOBAL::main,.*DROPPED/ 32 #! RUN force_jit: true, options: "", entry: "_GLOBAL::main" 33 #! EVENT /Compilation,_GLOBAL::main,.*COMPILED/ 34 #! METHOD "_GLOBAL::main" 45 #! METHOD "_GLOBAL::main" 65 .function u1 main (){
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | ets_round.sts | 17 //! RUN force_jit: true, options: "--compiler-regex='.*main.*'", entry: "ETSGLOBAL::main" 18 //! METHOD "ETSGLOBAL::main" 21 //! ASM_METHOD "ETSGLOBAL::main" 27 //! RUN_PAOC options: "--compiler-regex='.*main.*'" 28 //! METHOD "ETSGLOBAL::main" 31 //! ASM_METHOD "ETSGLOBAL::main" 34 //! RUN entry: "ETSGLOBAL::main" 38 //! RUN_LLVM options: "--compiler-regex='.*main.*'" 39 //! RUN entry: "ETSGLOBAL::main" 41 function main(): int {
|
| D | ets_floor.sts | 17 //! RUN force_jit: true, options: "--compiler-regex='.*main.*'", entry: "ETSGLOBAL::main" 18 //! METHOD "ETSGLOBAL::main" 21 //! ASM_METHOD "ETSGLOBAL::main" 27 //! RUN_PAOC options: "--compiler-regex='.*main.*'" 28 //! METHOD "ETSGLOBAL::main" 31 //! ASM_METHOD "ETSGLOBAL::main" 34 //! RUN entry: "ETSGLOBAL::main" 38 //! RUN_LLVM options: "--compiler-regex='.*main.*'" 39 //! RUN entry: "ETSGLOBAL::main" 41 function main(): int {
|
| D | ets_trunc.sts | 17 //! RUN force_jit: true, options: "--compiler-regex='.*main.*'", entry: "ETSGLOBAL::main" 18 //! METHOD "ETSGLOBAL::main" 21 //! ASM_METHOD "ETSGLOBAL::main" 27 //! RUN_PAOC options: "--compiler-regex='.*main.*'" 28 //! METHOD "ETSGLOBAL::main" 31 //! ASM_METHOD "ETSGLOBAL::main" 34 //! RUN entry: "ETSGLOBAL::main" 38 //! RUN_LLVM options: "--compiler-regex='.*main.*'" 39 //! RUN entry: "ETSGLOBAL::main" 41 function main(): int {
|
| D | ets_mod.sts | 17 //! RUN force_jit: true, options: "--compiler-regex='.*main.*'", entry: "ETSGLOBAL::main" 18 //! METHOD "ETSGLOBAL::main" 24 //! RUN_AOT options: "--compiler-regex='.*main.*'" 25 //! METHOD "ETSGLOBAL::main" 28 //! RUN entry: "ETSGLOBAL::main" 30 function main(): int {
|
| D | ets_string_length.sts | 17 //! RUN force_jit: true, options: "--compiler-regex='.*main.*'", entry: "ETSGLOBAL::main" 18 //! METHOD "ETSGLOBAL::main" 32 //! RUN_PAOC options: "--compiler-regex='.*main.*'" 33 //! METHOD "ETSGLOBAL::main" 44 //! RUN entry: "ETSGLOBAL::main" 48 //! RUN_LLVM options: "--compiler-regex='.*main.*'" 49 //! RUN entry: "ETSGLOBAL::main" 61 function main(): int {
|
| D | ets_ceil.sts | 17 //! RUN force_jit: true, options: "--compiler-regex='.*main.*'", entry: "ETSGLOBAL::main" 18 //! METHOD "ETSGLOBAL::main" 21 //! ASM_METHOD "ETSGLOBAL::main" 27 //! RUN_PAOC options: "--compiler-regex='.*main.*'" 28 //! METHOD "ETSGLOBAL::main" 31 //! ASM_METHOD "ETSGLOBAL::main" 37 //! RUN_LLVM options: "--compiler-regex='.*main.*'" 39 function main(): int {
|
| D | ets_string_isempty.sts | 17 //! RUN force_jit: true, options: "--compiler-regex='.*main.*'", entry: "ETSGLOBAL::main" 18 //! METHOD "ETSGLOBAL::main" 31 //! RUN_PAOC options: "--compiler-regex='.*main.*'" 32 //! METHOD "ETSGLOBAL::main" 42 //! RUN entry: "ETSGLOBAL::main" 46 //! RUN_LLVM options: "--compiler-regex='.*main.*'" 47 //! RUN entry: "ETSGLOBAL::main" 59 function main(): int {
|
| D | ets_runtime_equals.sts | 17 //! RUN force_jit: true, options: "--compiler-regex='.*main.*'", entry: "ETSGLOBAL::main" 18 //! METHOD "ETSGLOBAL::main" 27 //! RUN_AOT options: "--compiler-regex='.*main.*'" 28 //! METHOD "ETSGLOBAL::main" 34 //! RUN entry: "ETSGLOBAL::main" 36 function main(): int {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/11.local_classes_and_interfaces/ |
| D | local_class_and_interface_declaration.params.yaml | 27 function main() { 43 function main() { 68 function main() { 85 function main() { 106 function main() { 129 function main() { 146 function main() { 151 // Local class declaration inside main() 152 function main() { 183 function main() { [all …]
|
| /arkcompiler/runtime_core/static_core/disassembler/tests/ |
| D | labels_test.cpp | 42 .function u1 main() { in GetStrWithExceptions() 219 std::string bodyMain = ExtractFuncBody(ss.str(), "main() <static> {\n"); in TEST() 222 std::stringstream main {bodyMain}; in TEST() local 223 std::getline(main, line); in TEST() 225 std::getline(main, line); in TEST() 227 std::getline(main, line); in TEST() 229 std::getline(main, line); in TEST() 231 std::getline(main, line); in TEST() 233 std::getline(main, line); in TEST() 235 std::getline(main, line); in TEST() [all …]
|
| /arkcompiler/runtime_core/assembler/tests/ |
| D | mangling_tests.cpp | 33 std::string name = "Asm.main"; in TEST() 34 …ASSERT_EQ(MangleFunctionName(name, std::move(params), return_type), "Asm.main:type1;type2;type3;ty… in TEST() 39 std::string name = "Asm.main:type1;type2;type3;type4;"; in TEST() 40 ASSERT_EQ(DeMangleName(name), "Asm.main"); in TEST() 51 std::string name = "Asm.main"; in TEST() 52 … ASSERT_EQ(GetFunctionSignatureFromName(name, std::move(params)), "Asm.main:(type1,type2,type3)"); in TEST() 57 std::string name = "Asm.main:(type1,type2,type3,type4)"; in TEST() 58 ASSERT_EQ(GetFunctionNameFromSignature(name), "Asm.main"); in TEST()
|