| /arkcompiler/ets_runtime/test/aottest/large_func/ |
| D | large_func.ts | 1 function add(a:number, b:number):number function 6 add(1, 2); 7 add(1, 2); 8 add(1, 2); 9 add(1, 2); 10 add(1, 2); 11 add(1, 2); 12 add(1, 2); 13 add(1, 2); 14 add(1, 2); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/large_func_acc/ |
| D | large_func_acc.ts | 1 function add(a:number, b:number):number function 7 r += add(1, 2); 8 r += add(1, 2); 9 r += add(1, 2); 10 r += add(1, 2); 11 r += add(1, 2); 12 r += add(1, 2); 13 r += add(1, 2); 14 r += add(1, 2); 15 r += add(1, 2); [all …]
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_events.cpp | 22 result->Add("breakpointId", breakpointId_.c_str()); in ToJson() 24 result->Add("location", location_->ToJson()); in ToJson() 27 object->Add("method", GetName().c_str()); in ToJson() 28 object->Add("params", result); in ToJson() 43 result->Add("callFrames", array); in ToJson() 44 result->Add("reason", reason_.c_str()); in ToJson() 47 result->Add("data", data_.value()->ToJson()); in ToJson() 55 result->Add("hitBreakpoints", breakpoints); in ToJson() 59 object->Add("method", GetName().c_str()); in ToJson() 60 object->Add("params", result); in ToJson() [all …]
|
| D | pt_returns.cpp | 23 result->Add("debuggerId", std::to_string(debuggerId_).c_str()); in ToJson() 32 result->Add("breakpointId", id_.c_str()); in ToJson() 40 result->Add("locations", array); in ToJson() 50 result->Add("result", result_->ToJson()); in ToJson() 53 result->Add("exceptionDetails", exceptionDetails_.value()->ToJson()); in ToJson() 70 result->Add("locations", array); in ToJson() 79 result->Add("scriptSource", scriptSource_.c_str()); in ToJson() 81 result->Add("bytecode", bytecode_->c_str()); in ToJson() 98 result->Add("callFrames", array); in ToJson() 114 result->Add("result", array); in ToJson() [all …]
|
| D | pt_types.cpp | 410 // add Key in DescriptionForMap() 426 // add Value in DescriptionForMap() 456 // add Key in DescriptionForSet() 461 // add Value in DescriptionForSet() 482 // add name in DescriptionForError() 485 // add message in DescriptionForError() 579 // add Status in DescriptionForGeneratorObject() 582 // add FuncName in DescriptionForGeneratorObject() 746 result->Add("type", type_.c_str()); in ToJson() 748 result->Add("subtype", subType_->c_str()); in ToJson() [all …]
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | pandagen.ts | 514 this.add(node, storeAccumulator(vreg)); 518 this.add( 526 this.add( 542 this.add(node, storeAccumulator(paramVreg)); 550 this.add(node, deleteObjProperty(obj)); 554 this.add(node, loadAccumulator(vreg)); 565 this.add( 572 this.add( 579 this.add( 588 this.add( [all …]
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | scheduler_test.cpp | 39 INST(8, Opcode::Add).u64().Inputs(0, 1); in TEST_F() 40 INST(9, Opcode::Add).u64().Inputs(2, 3); in TEST_F() 42 INST(10, Opcode::Add).u64().Inputs(8, 9); in TEST_F() 44 INST(11, Opcode::Add).u64().Inputs(4, 5); in TEST_F() 45 INST(12, Opcode::Add).u64().Inputs(6, 7); in TEST_F() 46 INST(13, Opcode::Add).u64().Inputs(11, 12); in TEST_F() 48 INST(14, Opcode::Add).u64().Inputs(10, 13); in TEST_F() 81 INST(10, Opcode::Add).u64().Inputs(2, 3); in TEST_F() 82 INST(11, Opcode::Add).u64().Inputs(4, 5); in TEST_F() 84 INST(12, Opcode::Add).u64().Inputs(10, 11); in TEST_F() [all …]
|
| D | balance_expressions_test.cpp | 47 INST(8, Opcode::Add).u64().Inputs(0, 1); in TEST_F() 50 INST(10, Opcode::Add).u64().Inputs(8, 2); in TEST_F() 53 INST(12, Opcode::Add).u64().Inputs(10, 3); in TEST_F() 56 INST(14, Opcode::Add).u64().Inputs(12, 4); in TEST_F() 59 INST(16, Opcode::Add).u64().Inputs(14, 5); in TEST_F() 62 INST(18, Opcode::Add).u64().Inputs(16, 6); in TEST_F() 65 INST(20, Opcode::Add).u64().Inputs(18, 7); in TEST_F() 99 INST(8, Opcode::Add).u64().Inputs(0, 1); in TEST_F() 100 INST(10, Opcode::Add).u64().Inputs(2, 3); in TEST_F() 101 INST(12, Opcode::Add).u64().Inputs(8, 10); in TEST_F() [all …]
|
| D | reg_alloc_graph_coloring_test.cpp | 61 INST(5, Opcode::Add).u64().Inputs(0, 2); in TEST_F() 67 INST(7, Opcode::Add).u64().Inputs(6, 1); in TEST_F() 109 INST(5, Opcode::Add).u64().Inputs(0, 2); in TEST_F() 125 INST(6, Opcode::Add).u64().Inputs(0, 1); in TEST_F() 136 INST(12, Opcode::Add).u64().Inputs(11, 1); in TEST_F() 137 INST(13, Opcode::Add).u64().Inputs(12, 0); in TEST_F() 178 INST(8, Opcode::Add).u64().Inputs(1, 3); in TEST_F() 184 INST(10, Opcode::Add).u64().Inputs(9, 1); in TEST_F() 226 INST(7, Opcode::Add).u64().Inputs(0, 1); in TEST_F() 227 INST(8, Opcode::Add).u64().Inputs(0, 2); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | irtoc.md | 15 …n the IR instructions has corresponding token in the irtoc lang. For example, IR instruction `Add`: 17 - opcode: Add 21 description: Add two inputs. 23 has keyword with the same name `Add` and with same signature: 25 var = Add(input1, input2) 31 var = Add(input1, input2).i64.CC(:CC_GE).pc(123) 41 In last example variable `var` holds the newly created instruction `Add` and it can be input for th… 44 var = Add(input1, input2).i64.CC(:CC_GE).pc(123) 49 Return(Add(input1, input2).i64.CC(:CC_GE).pc(123)).i64 56 For example, add 1 to the biggest value: [all …]
|
| /arkcompiler/runtime_core/irtoc/scripts/ |
| D | tests.irt | 34 r1 := Add(res, 2).u64 35 v0 := Add(value, 2).u64 38 r2 := Add(res, 1).u64 39 v1 := Add(value, 1).u64 49 i1 := Add(i, 1).u64 76 r1 := Add(res, 2).u64 77 v0 := Add(value, 2).u64 81 r2 := Add(res, 1).u64 82 v1 := Add(value, 1).u64 93 i1 := Add(i, 1).u64 [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | add.yaml | 17 - file-name: add 28 - sig: add v1:in:i32, v2:in:i32 35 add v0, v1 43 description: Check add with zero and various values. 75 - sig: add v1:in:i32, v2:in:i32 82 add v0, v1 90 description: Check add with +1 and various values. 123 - sig: add v1:in:i32, v2:in:i32 130 add v0, v1 138 description: Check add with -1 and various values. [all …]
|
| /arkcompiler/ets_frontend/ts2panda/tests/ |
| D | scope.test.ts | 32 it("test add 'none' variable to GlobalScope", function () { 34 let variable = scope.add("x", VarDeclarationKind.NONE); 42 it("test add 'var' variable to GlobalScope", function () { 44 let variable = scope.add("x", VarDeclarationKind.VAR); 52 it("test add 'let' variable to GlobalScope", function () { 54 let variable = scope.add("x", VarDeclarationKind.LET); 62 it("test add 'const' variable to GlobalScope", function () { 64 let variable = scope.add("x", VarDeclarationKind.CONST); 72 it("test add several variables to GlobalScope", function () { 74 let x = scope.add("x", VarDeclarationKind.LET); [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | container_plainarray.js | 31 proxy.add(0, "0") 32 proxy.add(1, "1") 33 proxy.add(2, "2") 34 proxy.add(3, "3") 35 proxy.add(4, "4") 36 proxy.add(5, "5") 43 map.set("test plainarray add:", res) 103 proxy1.add(0, "0") 104 proxy1.add(1, "1") 105 proxy1.add(2, "2") [all …]
|
| D | container_arraylist.js | 26 arr.add(1); 27 arr.add(2); 52 proxy.add(i) 61 map.set("test arraylist add:", res) 185 proxy1.add(4); 186 proxy1.add(3); 187 proxy1.add(1); 188 proxy1.add(2); 189 proxy1.add(0); 202 proxy1.add(4); [all …]
|
| D | container_vector.js | 28 vector.add(4); // index is 0 29 vector.add(3); 30 vector.add(1); 31 vector.add(5); 32 vector.add(14); 34 map.set("test add and toString:", res); 88 proxy.add(i) 97 map.set("test vector add:", res) 224 proxy1.add(4); 225 proxy1.add(3); [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | json_builder_test.cpp | 28 auto value = JsonArrayBuilder().Add(arg).Build(); 76 array.Add(1); in TEST() 77 array.Add(""); in TEST() 78 array.Add([](JsonArrayBuilder &) {}); in TEST() 79 array.Add([](JsonObjectBuilder &object) { in TEST() 81 x.Add("foo"); in TEST() 82 x.Add("bar"); in TEST() 106 …JsonArrayBuilder().Add(1).Add("foo").Add([](JsonArrayBuilder &x) { x.Add([](JsonArrayBuilder &) {}… in TEST() 114 builder.Add(1); in TEST() 115 builder.Add("foo"); in TEST() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/sdk/ |
| D | BUILD.gn | 34 # Add executable "ark_aot_compiler" 44 # Add executable "profdump" 51 # Add dynamic library "hilog" 62 # Add dynamic library "icu" 74 # Add dynamic library "libsec_shared" 84 # Add dynamic library "libshared_libz" 102 # Add lib_ark_builtins 121 # Add executable "ark_aot_compiler" 130 # Add executable "profdump" 137 # Add dynamic library "hilog" [all …]
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | lowering_doc.md | 62 4.u64 Add v0, v1 -> (v10) 63 5.u64 Add v0, v2 -> (v10) 64 6.u64 Add v0, v3 -> (v10) 68 13.f64 Add v11, v21 -> (v10) 70 15.f32 Add v12, v22 -> (v10) 72 17.u64 Add v0, v0 -> (v10) 74 19.u16 Add v0, v1 -> (v10) 75 20.u16 Add v0, v2 -> (v10) 99 6.u64 Add v0, v3 -> (v10) 103 13.f64 Add v11, v21 -> (v10) [all …]
|
| D | balance_expressions_doc.md | 5 …ng chain of the same binary associative and commutative operator, such as `ADD`, `MUL`, `AND`, `OR… 103 8. Add v0, v1 -> v9 // a + b 104 9. Add v2, v8 -> v10 // c + (a + b) 106 10. Add v3, v9 -> v11, v14 // s10 = d + (c + (a + b)) 108 11. Add v4, v10 -> v13 // e + s10 109 12. Add v5, v6 -> v13 // f + g 110 13. Add v11, v12 -> v14 // (e + s10) + (f + g) 111 14. Add v10, v13 -> v15 // s10 + ((e + s10) + (f + g)) 126 8. Add v3, v2 -> v10 // d + c 127 9. Add v0, v1 -> v10 // a + b [all …]
|
| D | scheduler_doc.md | 36 …n from `ready` queue and add it into new schedule. At this moment we adjust `ASAP` value for all d… 50 // Do not add cross-barrier dependencies into deps_ 149 // Initialization, add leafs into 'waiting' queue 191 // Add into schedule 218 8.u64 Add v0, v1 -> (v10) 219 9.u64 Add v2, v3 -> (v10) 220 10.u64 Add v8, v9 -> (v14) 221 11.u64 Add v4, v5 -> (v13) 222 12.u64 Add v6, v7 -> (v13) 223 13.u64 Add v11, v12 -> (v14) [all …]
|
| /arkcompiler/ets_frontend/es2panda/aot/ |
| D | options.cpp | 207 argparser_->Add(&opHelp); in Parse() 208 argparser_->Add(&opModule); in Parse() 209 argparser_->Add(&opCommonjs); in Parse() 210 argparser_->Add(&opDumpAst); in Parse() 211 argparser_->Add(&opParseOnly); in Parse() 212 argparser_->Add(&opEnableTypeCheck); in Parse() 213 argparser_->Add(&opTypeExtractor); in Parse() 214 argparser_->Add(&opTypeDtsBuiltin); in Parse() 215 argparser_->Add(&opDumpAssembly); in Parse() 216 argparser_->Add(&opDebugInfo); in Parse() [all …]
|
| /arkcompiler/runtime_core/runtime/bridge/arch/arm/ |
| D | compiled_code_to_interpreter_bridge_armhf.S | 45 add fp, sp, #4 98 add sp, sp, #16 // c2i 132 add r2, r8, #FRAME_VREGS_OFFSET 133 add r2, r2, r5, lsl #3 134 add r3, sp, #4 // skip Method* 135 add r4, sp, #16 137 add r6, r5, #64 138 add r7, fp, #12 173 add r2, r2, #FRAME_VREGISTER_SIZE 181 add r3, r3, #7 [all …]
|
| /arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
| D | typeSystem.h | 328 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(UserType::COUNTER)); in FillLiteralBuffer() 330 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(userTypeNumber + in FillLiteralBuffer() 333 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(userTypeNumber)); in FillLiteralBuffer() 336 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(anonymousReExport.size())); in FillLiteralBuffer() 338 buffer_->Add(recorder_->Allocator()->New<ir::StringLiteral>(t)); in FillLiteralBuffer() 457 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(UserType::FUNCTION)); in FillLiteralBuffer() 458 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(accessFlag_ + modifier_)); in FillLiteralBuffer() 459 buffer_->Add(recorder_->Allocator()->New<ir::StringLiteral>(name_)); in FillLiteralBuffer() 461 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(1)); in FillLiteralBuffer() 462 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(paramsTypeIndex_.at(0))); in FillLiteralBuffer() [all …]
|
| /arkcompiler/runtime_core/compiler/tests/amd64/ |
| D | asmjit_test.cpp | 67 // Add the generated code to the runtime. in TEST_F() 68 Error err = rt.add(&fn, &code); in TEST_F() 75 TEST_F(AsmJitTest, Add) in TEST_F() argument 103 a.add(lhs, rhs); in TEST_F() 110 // Add the generated code to the runtime. in TEST_F() 111 Error err = rt.add(&fn, &code); in TEST_F() 127 a.add(x86::rdi, x86::rsi); in TEST_F() 135 // Add the generated code to the runtime. in TEST_F() 136 Error err = rt.add(&fn, &code); in TEST_F() 159 // Add the generated code to the runtime. in TEST_F() [all …]
|