Lines Matching full:immediate
73 __ Mov(frameType, Immediate(static_cast<int64_t>(FrameType::LEAVE_FRAME))); in CallRuntime()
76 __ Add(fp, sp, Immediate(2 * FRAME_SLOT_SIZE)); // 16: skip frame type and tmp in CallRuntime()
86 __ Add(argV, fp, Immediate(GetStackArgOffSetToFp(2))); // 2: the third arg id in CallRuntime()
95 __ Add(sp, sp, Immediate(2 * FRAME_SLOT_SIZE)); in CallRuntime()
105 __ Add(argc, argc, Immediate(static_cast<int64_t>(CommonArgIdx::ACTUAL_ARGC))); in IncreaseStackForArguments()
110 __ Sub(currentSp, currentSp, Immediate(FRAME_SLOT_SIZE)); in IncreaseStackForArguments()
155 __ Add(tmpArgV, tmpArgV, Immediate(TRIPLE_SLOT_SIZE)); in JSFunctionEntry()
157 __ Cmp(Register(X6), Immediate(1)); in JSFunctionEntry()
218 __ Add(expectedNumArgs, expectedNumArgs, Immediate(NUM_MANDATORY_JSFUNC_ARGS)); in OptimizedCallAndPushUndefined()
220 …__ Add(argV, sp, Immediate(kungfu::ArgumentAccessor::GetExtraArgsNum() * FRAME_SLOT_SIZE)); // sk… in OptimizedCallAndPushUndefined()
322 __ Mov(temp, Immediate(static_cast<int32_t>(FrameType::BUILTIN_CALL_LEAVE_FRAME))); in CallBuiltinTrampoline()
324 __ Add(temp, sp, Immediate(FRAME_SLOT_SIZE)); in CallBuiltinTrampoline()
327 __ Add(Register(X0), sp, Immediate(TRIPLE_SLOT_SIZE)); in CallBuiltinTrampoline()
332 __ Add(temp, temp, Immediate(FRAME_SLOT_SIZE)); in CallBuiltinTrampoline()
417 __ Add(argV, sp, Immediate(kungfu::ArgumentAccessor::GetExtraArgsNum() * FRAME_SLOT_SIZE)); in JSCallInternal()
419 __ Add(argV, argV, Immediate(kungfu::ArgumentAccessor::GetFixArgsNum() * FRAME_SLOT_SIZE)); in JSCallInternal()
420 __ Sub(actualArgC, actualArgC, Immediate(kungfu::ArgumentAccessor::GetFixArgsNum())); in JSCallInternal()
430 __ Cmp(actualArgC, Immediate(kungfu::ArgumentAccessor::GetFixArgsNum() + 3)); in JSCallInternal()
447 … __ Cmp(Register(X5).W(), Immediate(kungfu::BuiltinsStubCSigns::BUILTINS_CONSTRUCTOR_STUB_FIRST)); in JSCallInternal()
458 __ Sub(Register(X5), Register(X5), Immediate(NUM_MANDATORY_JSFUNC_ARGS)); in JSCallInternal()
463 __ Cmp(Register(X5), Immediate(3)); // 3: callarg3 in JSCallInternal()
473 __ Add(sp, sp, Immediate(DOUBLE_SLOT_SIZE)); in JSCallInternal()
482 __ Add(Register(X6), sp, Immediate(QUADRUPLE_SLOT_SIZE)); // get argV in JSCallInternal()
494 __ Cmp(jstype2, Immediate(static_cast<int64_t>(JSType::JS_BOUND_FUNCTION))); in JSCallInternal()
496 __ Cmp(jstype2, Immediate(static_cast<int64_t>(JSType::JS_PROXY))); in JSCallInternal()
517 …__ Mov(frameType, Immediate(static_cast<int64_t>(FrameType::OPTIMIZED_JS_FUNCTION_ARGS_CONFIG_FRAM… in JSCallInternal()
520 __ Add(Register(FP), sp, Immediate(DOUBLE_SLOT_SIZE)); in JSCallInternal()
523 __ Mov(argC, Immediate(0)); in JSCallInternal()
524 __ Mov(runtimeId, Immediate(RTSTUB_ID(ThrowCallConstructorException))); in JSCallInternal()
529 __ Add(sp, sp, Immediate(4 * FRAME_SLOT_SIZE)); in JSCallInternal()
555 __ Sub(jstype, jstype, Immediate(static_cast<int>(JSType::JS_FUNCTION_FIRST))); in JSCallCheck()
557 __ Cmp(jstype, Immediate(static_cast<int>(JSType::JS_FUNCTION_LAST) - in JSCallCheck()
567 …__ Mov(frameType, Immediate(static_cast<int64_t>(FrameType::OPTIMIZED_JS_FUNCTION_ARGS_CONFIG_FRAM… in ThrowNonCallableInternal()
569 Immediate(JSTaggedValue(GET_MESSAGE_STRING_ID(NonCallable)).GetRawData())); in ThrowNonCallableInternal()
572 __ Add(Register(FP), sp, Immediate(DOUBLE_SLOT_SIZE)); in ThrowNonCallableInternal()
575 __ Mov(argC, Immediate(1)); in ThrowNonCallableInternal()
576 __ Mov(runtimeId, Immediate(RTSTUB_ID(ThrowTypeError))); in ThrowNonCallableInternal()
580 __ Mov(Register(X0), Immediate(JSTaggedValue::VALUE_EXCEPTION)); in ThrowNonCallableInternal()
582 __ Add(sp, sp, Immediate(4 * FRAME_SLOT_SIZE)); in ThrowNonCallableInternal()
596 __ Add(argV, basefp, Immediate(GetStackArgOffSetToFp(0))); // 0: first index id in JSBoundFunctionCallInternal()
613 __ Sub(actualArgC.W(), actualArgC.W(), Immediate(NUM_MANDATORY_JSFUNC_ARGS)); in JSBoundFunctionCallInternal()
614 __ Cmp(actualArgC.W(), Immediate(0)); in JSBoundFunctionCallInternal()
620 … __ Add(argV, argV, Immediate((NUM_MANDATORY_JSFUNC_ARGS + argoffsetSlot) * FRAME_SLOT_SIZE)); in JSBoundFunctionCallInternal()
627 __ Add(boundArgs, boundArgs, Immediate(TaggedArray::DATA_OFFSET)); in JSBoundFunctionCallInternal()
628 __ Cmp(boundLength.W(), Immediate(0)); in JSBoundFunctionCallInternal()
642 __ Mov(newTarget, Immediate(JSTaggedValue::VALUE_UNDEFINED)); in JSBoundFunctionCallInternal()
660 __ Add(X3, fp, Immediate(4 * FRAME_SLOT_SIZE)); // 4: skip argc and func new this in JSBoundFunctionCallInternal()
665 __ Mov(baseAddress, Immediate(JSThread::GlueData::GetCOStubEntriesOffset(false))); in JSBoundFunctionCallInternal()
666 __ Mov(boundCallInternalId, Immediate(CommonStubCSigns::JsBoundCallInternal)); in JSBoundFunctionCallInternal()
690 __ Add(X3, sp, Immediate(FRAME_SLOT_SIZE)); // get argv in JSProxyCallInternal()
695 __ Mov(baseAddress, Immediate(JSThread::GlueData::GetCOStubEntriesOffset(false))); in JSProxyCallInternal()
696 __ Mov(proxyCallInternalId, Immediate(CommonStubCSigns::JsProxyCallInternal)); in JSProxyCallInternal()
754 __ Mov(frameType, Immediate(static_cast<int64_t>(FrameType::LEAVE_FRAME_WITH_ARGV))); in CallRuntimeWithArgv()
756 __ Add(Register(FP), sp, Immediate(FRAME_SLOT_SIZE)); in CallRuntimeWithArgv()
770 __ Add(sp, sp, Immediate(2 * FRAME_SLOT_SIZE)); // 2 : 2 means pair in CallRuntimeWithArgv()
797 __ Add(sp, sp, Immediate(argoffsetSlot * FRAME_SLOT_SIZE)); in PopJSFunctionArgs()
801 __ Add(sp, sp, Immediate(FRAME_SLOT_SIZE)); in PopJSFunctionArgs()
813 __ Mov(frameType, Immediate(static_cast<int64_t>(FrameType::OPTIMIZED_ENTRY_FRAME))); in PushJSFunctionEntryFrame()
816 __ Add(Register(FP), sp, Immediate(DOUBLE_SLOT_SIZE)); in PushJSFunctionEntryFrame()
841 …__ Mov(frameType, Immediate(static_cast<int64_t>(FrameType::OPTIMIZED_JS_FUNCTION_ARGS_CONFIG_FRAM… in PushOptimizedArgsConfigFrame()
844 __ Add(Register(FP), sp, Immediate(DOUBLE_SLOT_SIZE)); in PushOptimizedArgsConfigFrame()
864 __ Mov(frameType, Immediate(static_cast<int64_t>(FrameType::ASM_BRIDGE_FRAME))); in PushAsmBridgeFrame()
867 __ Add(Register(FP), sp, Immediate(FRAME_SLOT_SIZE)); in PushAsmBridgeFrame()
909 …__ Mov(frameType, Immediate(static_cast<int64_t>(FrameType::OPTIMIZED_JS_FUNCTION_UNFOLD_ARGV_FRAM… in PushOptimizedUnfoldArgVFrame()
912 __ Add(Register(FP), sp, Immediate(DOUBLE_SLOT_SIZE)); in PushOptimizedUnfoldArgVFrame()
919 __ Add(sp, sp, Immediate(2 * FRAME_SLOT_SIZE)); in PopOptimizedUnfoldArgVFrame()
971 __ Add(actualNumArgs, actualNumArgs, Immediate(NUM_MANDATORY_JSFUNC_ARGS)); in GenJSCallWithArgV()
979 __ Sub(tmp, actualNumArgs, Immediate(NUM_MANDATORY_JSFUNC_ARGS)); in GenJSCallWithArgV()
1052 __ Add(context, context, Immediate(AsmStackContext::GetSize(false))); in DeoptEnterAsmInterp()
1053 __ Mov(Register(X23), Immediate(0)); in DeoptEnterAsmInterp()
1058 __ Add(frameStateBase, context, Immediate(FRAME_SLOT_SIZE)); in DeoptEnterAsmInterp()
1059 __ Cmp(Register(X23), Immediate(0)); in DeoptEnterAsmInterp()
1062 __ Add(tmpReg, tmpReg, Immediate(AsmInterpretedFrame::GetSize(false))); in DeoptEnterAsmInterp()
1063 __ Add(Register(X9), frameStateBase, Immediate(AsmInterpretedFrame::GetBaseOffset(false))); in DeoptEnterAsmInterp()
1072 __ Add(context, context, Immediate(FRAME_SLOT_SIZE)); // skip outputCount in DeoptEnterAsmInterp()
1074 __ Add(Register(X23), Register(X23), Immediate(1)); in DeoptEnterAsmInterp()
1088 __ Add(opRegister, currentSlotRegister, Immediate(AsmInterpretedFrame::GetSize(false))); in DeoptEnterAsmInterp()
1111 __ Mov(frameType, Immediate(static_cast<int64_t>(FrameType::ASM_BRIDGE_FRAME))); in DeoptHandlerAsm()
1113 __ Add(fp, sp, Immediate(DOUBLE_SLOT_SIZE)); in DeoptHandlerAsm()
1121 __ Mov(argC, Immediate(2)); // 2: argc in DeoptHandlerAsm()
1122 __ Mov(runtimeId, Immediate(RTSTUB_ID(DeoptHandler))); in DeoptHandlerAsm()
1125 __ Add(sp, sp, Immediate(2 * DOUBLE_SLOT_SIZE)); // 2: skip runtimeId, argc, depth, shiftLen in DeoptHandlerAsm()
1134 __ Cmp(ret, Immediate(JSTaggedValue::VALUE_EXCEPTION)); in DeoptHandlerAsm()
1153 __ Mov(runtimeId, Immediate(RTSTUB_ID(ThrowStackOverflowException))); in DeoptHandlerAsm()
1157 __ Add(sp, sp, Immediate(2 * DOUBLE_SLOT_SIZE)); // 2: skip runtimeId&argc glue&type in DeoptHandlerAsm()