/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | ic_binaryop_test.cpp | 66 JSHandle<JSTaggedValue> arg2(thread, arg2Value);
in HWTEST_F_L0() 70 arg2.GetTaggedValue());
in HWTEST_F_L0() 72 JSTaggedValue resInICPath1 = ICBinaryOP::AddWithTSType(thread, arg1.GetTaggedValue(), arg2.GetTaggedValue(),
in HWTEST_F_L0() 92 arg2.GetTaggedValue());
in HWTEST_F_L0() 95 arg2.GetTaggedValue(),
in HWTEST_F_L0() 138 JSHandle<JSTaggedValue> arg2(thread, arg2Value);
in HWTEST_F_L0() 141 JSTaggedValue resInSlowPath1 = SlowRuntimeStub::Sub2(thread, arg1.GetTaggedValue(), arg2.GetTaggedValue());
in HWTEST_F_L0() 143 JSTaggedValue resInICPath1 = ICBinaryOP::SubWithTSType(thread, arg1.GetTaggedValue(), arg2.GetTaggedValue(),
in HWTEST_F_L0() 147 JSTaggedValue resInSlowPath2 = SlowRuntimeStub::Sub2(thread, arg2.GetTaggedValue(), arg3.GetTaggedValue());
in HWTEST_F_L0() 149 JSTaggedValue resInICPath2 = ICBinaryOP::SubWithTSType(thread, arg2 in HWTEST_F_L0() [all...] |
H A D | ic_compareop_test.cpp | 68 JSTaggedValue arg2(static_cast<double>(1.0)); in HWTEST_F_L0() 72 JSHandle<JSTaggedValue> arg2Handle(thread, arg2); in HWTEST_F_L0() 128 JSTaggedValue arg2(static_cast<double>(2.0)); in HWTEST_F_L0() 132 JSHandle<JSTaggedValue> arg2Handle(thread, arg2); in HWTEST_F_L0() 195 JSTaggedValue arg2(static_cast<double>(0.5)); in HWTEST_F_L0() 199 JSHandle<JSTaggedValue> arg2Handle(thread, arg2); in HWTEST_F_L0() 262 JSTaggedValue arg2(static_cast<double>(0.5)); in HWTEST_F_L0() 266 JSHandle<JSTaggedValue> arg2Handle(thread, arg2); in HWTEST_F_L0() 331 JSTaggedValue arg2(static_cast<double>(1.0)); in HWTEST_F_L0() 335 JSHandle<JSTaggedValue> arg2Handle(thread, arg2); in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/test/moduletest/newobjdynrange/ |
H A D | newobjdynrange.js | 22 function foo(arg1, arg2) { 24 this.arg2 = arg2 26 var p = new foo("arg1", "arg2") 27 print(p.arg1 === "arg1" && p.arg2 === "arg2")
|
/arkcompiler/ets_runtime/ecmascript/ohos/ |
H A D | code_decrypt.cpp | 29 arg.arg2 = nullptr; in DecryptSetKey() 39 arg.arg2 = nullptr; in DecrypRemoveKey() 49 arg.arg2 = reinterpret_cast<void*>(&srcAppId); in DecryptAssociateKey() 59 arg.arg2 = reinterpret_cast<void*>(&srcAppId); in DecrypRemoveAssociateKey()
|
H A D | code_decrypt.h | 38 void *arg2; member
|
/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | dead_code_elimination_test.cpp | 78 auto arg2 = builder.Arguments(2); in HWTEST_F_L0() local 85 auto valueSelector = circuit.NewGate(circuit.ValueSelector(2), {merge, arg1, arg2}); in HWTEST_F_L0() 94 EXPECT_TRUE(acc.GetValueIn(circuitReturn) == arg2); in HWTEST_F_L0() 110 auto arg2 = builder.Arguments(2); in HWTEST_F_L0() local 120 auto valueSelector = circuit.NewGate(circuit.ValueSelector(3), {merge, arg0, arg1, arg2}); in HWTEST_F_L0() 135 EXPECT_TRUE(acc.GetIn(valueSelector, 2) == arg2); in HWTEST_F_L0()
|
H A D | combined_pass_visitor_test.cpp | 54 auto arg2 = builder.Arguments(2); in HWTEST_F_L0() local 63 {merge, depend, valueSelector, arg2}, GateType::AnyType()); in HWTEST_F_L0() 65 {load1, load1, valueSelector, arg2}, GateType::AnyType()); in HWTEST_F_L0()
|
H A D | loop_optimization_test.cpp | 192 auto arg2 = builder.Arguments(2); in HWTEST_F_L0() local 193 acc.SetMachineType(arg2, MachineType::ARCH); in HWTEST_F_L0() 196 { circuit.GetDependRoot(), arg2 }, GateType::NJSValue()); in HWTEST_F_L0() 211 auto variant = builder.Load(VariableType::INT32(), arg1, builder.PtrAdd(arg2, *index)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | ecma_runtime_call_info.h | 116 inline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1, const JSTaggedValue arg2) 121 SetArg(FIRST_ARGS_INDEX + 2, arg2); // 2: second index 124 inline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1, const JSTaggedValue arg2, 130 SetArg(FIRST_ARGS_INDEX + 2, arg2); // 2: second index 134 inline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1, const JSTaggedValue arg2, 140 SetArg(FIRST_ARGS_INDEX + 2, arg2); // 2: second index
|
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/js_interop/ |
H A D | js_interop_inst_builder.cpp | 88 Inst *arg0, Inst *arg1, Inst *arg2, in BuildResolveInteropCallIntrinsic() 95 ASSERT(arg2 == nullptr); in BuildResolveInteropCallIntrinsic() 99 ASSERT(arg2 != nullptr); in BuildResolveInteropCallIntrinsic() 101 // `arg1` and `arg2` are int constants, but may be phi instructions in IRBuilder in BuildResolveInteropCallIntrinsic() 105 IntrinsicCompilerResolveQualifiedJSCall::Build(this, pc, jsVal, arg1, arg2, cpOffsetForClass, saveState); in BuildResolveInteropCallIntrinsic() 160 Inst *arg2 = nullptr; in BuildInteropCall() local 165 arg2 = GetArgDefinition(bcInst, 2U, accRead, isRange); in BuildInteropCall() 171 GetArgDefinition(bcInst, 1, accRead, isRange), arg2, cpOffsetForClass, saveState); in BuildInteropCall() 86 BuildResolveInteropCallIntrinsic(RuntimeInterface::InteropCallKind callKind, size_t pc, RuntimeInterface::MethodPtr method, Inst *arg0, Inst *arg1, Inst *arg2, Inst *cpOffsetForClass, SaveStateInst *saveState) BuildResolveInteropCallIntrinsic() argument
|
H A D | js_interop_inst_builder.h | 30 Inst *arg2, Inst *cpOffsetForClass,
|
/arkcompiler/ets_runtime/test/moduletest/bindfunction/ |
H A D | bindfunction.js | 38 function addArguments(arg1, arg2) { 39 return arg1 + arg2;
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/js_to_ets/js_suites/ |
H A D | scenarios.js | 133 function functionDefaultParameterFunction(arg1 = INT_VALUE, arg2 = INT_VALUE2, arg3 = INT_VALUE3) { 139 // arg2: JSValue = INT_VALUE2, 263 function functionSpreadParameter(arg1, arg2) { 264 return arg1 + arg2; // transpiled from Typescript code: function functionSpreadParameter(arg1: number, arg2: number)
|
/arkcompiler/runtime_core/static_core/runtime/arch/aarch64/ |
H A D | helpers_aarch64.S | 149 .macro LOG3 fmt, arg1, arg2 153 ARG2 \arg2
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | call_stub_builder.h | 27 GateRef arg2;
member 33 GateRef arg2;
member
|
H A D | call_stub_builder.cpp | 559 callArgs_.callArgs.arg2
in PrepareAppendArgsForNative() 581 callArgs_.callArgsWithThis.arg2
in PrepareAppendArgsForNative() 795 callArgs_.callArgs.arg2
in PrepareAppendArgsForAotStep1() 815 callArgs_.callArgsWithThis.arg2
in PrepareAppendArgsForAotStep1() 1230 callArgs_.callArgs.arg2
in PrepareAppendArgsForAsmInterpreter() 1249 callArgs_.callArgsWithThis.arg2,
in PrepareAppendArgsForAsmInterpreter() 1377 callArgs_.callArgsWithThis.arg2
in PrepareAppendArgsForFastBuiltin()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_number_stub_builder.cpp | 62 GateRef arg2 = GetCallArg1(numArgs_);
in ParseInt() local 66 Branch(TaggedIsUndefined(arg2), &radixIsSpecialInt, &radixIsSpecial);
in ParseInt() 72 Branch(TaggedIsInt(arg2), &radixIsInt, slowPath);
in ParseInt() 75 radix = GetInt32OfTInt(arg2);
in ParseInt()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
H A D | optimized_fast_call.cpp | 308 Label arg2;
in JSFastCallWithArgVAndPushArgv() local 336 __ Jne(&arg2);
in JSFastCallWithArgVAndPushArgv() 342 __ Bind(&arg2);
in JSFastCallWithArgVAndPushArgv()
|
H A D | asm_interpreter_call.cpp | 361 // %r8 - arg2 457 if (argc > 2) { // 2: call arg2 in JSCallCommonFastPath() 459 Register arg2 = __ CppJSCallAvailableRegister1(); in JSCallCommonFastPath() local 460 __ Pushq(arg2); in JSCallCommonFastPath() 462 Register arg2 = __ CallDispatcherArgument(kungfu::CallDispatchInputs::ARG2); in JSCallCommonFastPath() local 463 __ Pushq(arg2); in JSCallCommonFastPath() 543 if (argc > 2) { // 2: call arg2 in JSCallCommonSlowPath() 969 Label arg2; in CallFastBuiltin() local 1012 __ Jne(&arg2); in CallFastBuiltin() 1019 __ Bind(&arg2); in CallFastBuiltin() [all...] |
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/ |
H A D | intrinsics_lowering.cpp | 189 auto arg2 = inst->getOperand(1U); in HandleFRem() local 200 auto call = llvm::CallInst::Create(intrinsicFunctionTy, calleePointer, {arg1, arg2}); in HandleFRem()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_number.cpp | 186 JSHandle<JSTaggedValue> arg2 = GetCallArg(argv, 1); in ParseInt() local 192 if (!arg2->IsUndefined()) { in ParseInt() 194 radix = JSTaggedValue::ToInt32(thread, arg2); in ParseInt()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/ |
H A D | optimized_fast_call.cpp | 351 Label arg2;
in JSFastCallWithArgVAndPushArgv() local 382 __ B(Condition::NE, &arg2);
in JSFastCallWithArgVAndPushArgv() 390 __ Bind(&arg2);
in JSFastCallWithArgVAndPushArgv()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | simplify_string_builder.cpp | 1735 auto arg2 = match.appendIntrinsics[2U]->GetInput(1U).GetInst(); 1743 {arg2, arg2->GetType()}, 1747 auto arg2 = match.appendIntrinsics[2U]->GetInput(1U).GetInst(); 1756 {arg2, arg2->GetType()},
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSGen.h | 568 const VReg arg2) in CallExact() 570 Ra().Emit<Call, 3U>(node, name, arg0, arg1, arg2, dummyReg_); in CallExact() 1015 Ra().Emit<General>(node, name, argStart, arg0, arg1, arg2); in CallArgStart() 1056 Ra().Emit<General, 3U>(node, signature->InternalName(), arg0, arg1, arg2, dummyReg_); in CallImpl() 1064 Ra().Emit<General, 4U>(node, signature->InternalName(), arg0, arg1, arg2, arg3); in CallImpl() 567 CallExact(const ir::AstNode *const node, const util::StringView name, const VReg arg0, const VReg arg1, const VReg arg2) CallExact() argument
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_promise_test.cpp | 139 JSTaggedValue arg2) in ThanAlgorithm() 145 ecmaRuntimeCallInfo->SetCallArg(1, arg2); in ThanAlgorithm() 138 ThanAlgorithm(JSThread *thread, JSHandle<JSPromise>& promise, JSTaggedValue arg1, JSTaggedValue arg2) ThanAlgorithm() argument
|