Lines Matching defs:glue_

148     LowerFastCall(hirGate, glue_, func, argc, args, argsFastCall, &res, &exit, false);
158 auto condition = builder_.HasPendingException(glue_);
215 auto condition = builder_.HasPendingException(glue_);
810 std::vector<GateRef> inputs { glue_ };
817 GateRef result = builder_.CallStub(glue_, gate, sign, inputs);
825 GateRef result = builder_.CallRuntime(glue_, index, Gate::InvalidGateRef, args, gate, name.c_str());
830 GateRef result = builder_.Call(cs, glue_, target, builder_.GetDepend(), args, gate, name.c_str());
839 GateRef result = builder_.CallNGCRuntime(glue_, index, Gate::InvalidGateRef, args, gate, name.c_str());
844 GateRef result = builder_.Call(cs, glue_, target, builder_.GetDepend(), args, gate, name.c_str());
853 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Add,
854 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
895 builder_.SetValueToTaggedArray(VariableType::JS_ANY(), glue_, taggedArray, builder_.Int32(idx), tmpGate);
904 builder_.Store(VariableType::JS_POINTER(), glue_, context, regsArrayOffset, taggedArray);
909 builder_.Store(VariableType::JS_ANY(), glue_, context, thisOffset, thisObj);
914 builder_.Store(VariableType::JS_ANY(), glue_, context, methodOffset, jsFunc);
920 builder_.Store(VariableType::JS_ANY(), glue_, context, accOffset, curAccGate);
924 builder_.Store(VariableType::JS_ANY(), glue_, context, generatorObjectOffset, genObj);
928 builder_.Store(VariableType::JS_ANY(), glue_, context, lexicalEnvOffset, lexicalEnvGate);
932 builder_.Store(VariableType::INT32(), glue_, context, nregsOffset, length);
938 builder_.Store(VariableType::INT32(), glue_, context, bcSizeOffset, bcSizeGate);
942 builder_.Store(VariableType::JS_POINTER(), glue_, genObj, contextOffset, context);
945 builder_.Store(VariableType::JS_POINTER(), glue_, context, generatorObjectOffset, genObj);
1029 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj}, {glue_, func, thisObj});
1045 std::vector<GateRef> vec { glue_, actualArgc, actualArgv, callTarget, newTarget, thisObj };
1050 std::vector<GateRef> vec1 { glue_, callTarget, thisObj };
1071 std::vector<GateRef> vec {glue_, actualArgc, actualArgv, callTarget, newTarget, thisObj};
1076 std::vector<GateRef> vec1 {glue_, callTarget, thisObj};
1107 std::vector<GateRef> vec {glue_, actualArgc, actualArgv, callTarget, newTarget, thisObj};
1111 std::vector<GateRef> vec1 {glue_, callTarget, thisObj};
1132 builder_.Store(VariableType::INT64(), glue_, glue_, exceptionOffset, exception);
1230 GateRef obj = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module,
1260 GateRef val = builder_.Int64Add(glue_, exceptionOffset);
1267 { loadException, glue_, glue_, exceptionOffset, holeCst }, VariableType::INT64().GetGateType());
1289 GateRef val = builder_.Int64Add(glue_, offset);
1300 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Sub,
1301 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1309 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Mul,
1310 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1318 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Div,
1319 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1327 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Mod,
1328 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1336 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Equal,
1337 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1345 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::NotEqual,
1346 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1354 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Less,
1355 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1363 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::LessEq,
1364 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1372 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Greater,
1373 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1381 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::GreaterEq,
1382 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1391 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::Getpropiterator, {glue_, object});
1408 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Inc,
1409 { glue_, acc_.GetValueIn(gate, 0) });
1417 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Dec,
1418 { glue_, acc_.GetValueIn(gate, 0) });
1444 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Neg,
1445 { glue_, acc_.GetValueIn(gate, 0) });
1453 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Not,
1454 { glue_, acc_.GetValueIn(gate, 0) });
1462 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Shl,
1463 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1471 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Shr,
1472 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1480 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Ashr,
1481 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1489 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::And,
1490 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1498 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Or,
1499 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1507 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Xor,
1508 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1518 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::DeleteObjectProperty,
1519 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1559 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::StrictNotEqual,
1560 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1568 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::StrictEqual,
1569 { glue_, acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1) });
1575 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::CreateEmptyArray, { glue_ });
1590 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::CreateArrayWithBuffer, { glue_, index, jsFunc });
1601 GateRef gConstAddr = builder_.Load(VariableType::JS_POINTER(), glue_,
1605 builder_.Store(VariableType::JS_POINTER(), glue_, array, builder_.IntPtr(0), hclass);
1619 GateRef obj = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, unsharedConstPool, module,
1677 GateRef numberBigInt = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module,
1743 GateRef taggedArray = objBuilder.NewTaggedArray(glue_, builder_.Int32(length));
1745 builder_.SetValueToTaggedArray(VariableType::JS_ANY(), glue_, taggedArray,
1766 GateRef superFunc = objBuilder.GetPrototype(glue_, func);
1774 result = objBuilder.ConstructorCheck(glue_, superFunc, *result, *thisObj);
1816 GateRef superFunc = objBuilder.GetPrototype(glue_, func);
1825 result = objBuilder.ConstructorCheck(glue_, superFunc, *result, *thisObj);
1849 srcElements = builder_.CallStub(glue_, gate, CommonStubCSigns::GetCallSpreadArgs, {glue_, array});
1881 {glue_, superFunc, thisObj, actualArgc, elementsPtr});
1885 {glue_, superFunc, thisObj, actualArgc, elementsPtr, expectedNum});
1894 std::vector<GateRef> callArgs {glue_, actualArgc, superFunc, newTartget, thisObj, elementsPtr};
1905 {glue_, actualArgc, superFunc, newTartget, thisObj, elementsPtr});
1912 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
1914 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
1940 thisObj = objBuilder.FastSuperAllocateThis(glue_, super, *newTarget);
1954 GateRef super = objBuilder.GetPrototype(glue_, func);
1983 result = objBuilder.ConstructorCheck(glue_, super, *result, *thisObj);
2008 std::vector<GateRef> callArgs { glue_, actualArgc, builder_.IntPtr(0), super, newTarget, thisObj };
2009 std::vector<GateRef> argsFastCall { glue_, super, thisObj };
2019 LowerFastCall(gate, glue_, super, actualArgc, callArgs, argsFastCall, &result, &afterCallSuper, true);
2022 result = builder_.CallStub(glue_, gate, CommonStubCSigns::ConstructorCheck, { glue_, super, *result, thisObj });
2037 result = builder_.CallStub(glue_, gate, CommonStubCSigns::ToBooleanTrue, { glue_, value });
2039 result = builder_.CallStub(glue_, gate, CommonStubCSigns::ToBooleanFalse, { glue_, value });
2055 GateRef thisObj = builder_.CallStub(glue_, gate, CommonStubCSigns::NewThisObjectChecked, { glue_, ctor });
2063 std::vector<GateRef> args{glue_, actualArgc, actualArgv, ctor, ctor, thisObj};
2064 std::vector<GateRef> argsFastCall{glue_, ctor, thisObj};
2069 LowerFastCall(gate, glue_, ctor, actualArgc, args, argsFastCall, &result, &exit, true);
2071 result = builder_.CallStub(glue_, gate, CommonStubCSigns::ConstructorCheck, { glue_, ctor, *result, thisObj });
2165 GateRef kind = builder_.GetEnumCacheKind(glue_, keys);
2172 builder_.IncreaseInteratorIndex(glue_, iter, index);
2220 GateRef pattern = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module,
2237 result = builder_.CallStub(glue_, gate, CommonStubCSigns::StOwnByValue,
2238 { glue_, receiver, propKey, accValue });
2252 result = builder_.CallStub(glue_, gate, CommonStubCSigns::StOwnByIndex,
2253 { glue_, receiver, builder_.TruncInt64ToInt32(index), accValue });
2265 GateRef propKey = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module,
2272 result = builder_.CallStub(glue_, gate, CommonStubCSigns::StOwnByName,
2273 { glue_, receiver, propKey, accValue });
2282 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::NewLexicalEnv,
2283 { glue_, lexEnv, builder_.TruncInt64ToInt32(acc_.GetValueIn(gate, 0)) });
2308 builder_.SetSendableEnvToModule(glue_, module, result);
2360 GateRef propKey = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module,
2381 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::StOwnByValueWithNameSet,
2382 { glue_, receiver, propKey, accValue });
2397 GateRef propKey = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module,
2403 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::StOwnByNameWithNameSet,
2404 { glue_, receiver, propKey, accValue });
2469 varAcc = builder_.CallStub(glue_, gate, CommonStubCSigns::LdObjByIndex,
2470 {glue_, receiver, builder_.TruncInt64ToInt32(index)});
2482 result = builder_.CallStub(glue_, gate, CommonStubCSigns::StObjByIndex,
2483 {glue_, receiver, builder_.TruncInt64ToInt32(index), accValue});
2531 GateRef prop = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module, stringId,
2546 GateRef prop = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module, stringId,
2700 builder_.SetValueToTaggedArray(VariableType::JS_ANY(), glue_, *currentEnv, valueIndex, value);
2737 builder_.SetValueToTaggedArray(VariableType::JS_ANY(), glue_, *currentEnv, valueIndex, value);
2798 GateRef result = builder_.CallStub(glue_, gate, CommonStubCSigns::Definefunc,
2799 {glue_, jsFunc, builder_.TruncInt64ToInt32(methodId), builder_.TruncInt64ToInt32(length), lexEnv, slotId});
2822 GateRef gConstAddr = builder_.Load(VariableType::JS_POINTER(), glue_,
3013 builder_.Store(VariableType::NATIVE_POINTER(), glue_, glue_, glueTaskOffset, taskInfo);
3014 builder_.Store(VariableType::NATIVE_POINTER(), glue_, obj, taskInfoOffset, builder_.IntPtr(0));
3066 auto method = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module, methodId,
3090 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::GetUnmappedArgs,
3091 { glue_, builder_.IntPtr(0), builder_.TruncInt64ToInt32(actualArgc), builder_.Undefined() });
3134 GateRef debugGate = builder_.CallRuntime(glue_, RTSTUB_ID(DebugAOTPrint), acc_.GetDep(gate),
3155 GateRef profiling = builder_.CallRuntime(glue_, RTSTUB_ID(ProfileOptimizedCode), acc_.GetDep(gate),
3172 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj}, {glue_, func, thisObj});
3186 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj, a0Value},
3187 {glue_, func, thisObj, a0Value});
3204 vec.emplace_back(glue_);
3215 vec.emplace_back(glue_);
3236 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj, a0}, {glue_, func, thisObj, a0});
3252 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj, a0, a1},
3253 {glue_, func, thisObj, a0, a1});
3270 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj, a0, a1, a2},
3271 {glue_, func, thisObj, a0, a1, a2});
3287 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj, a0Value, a1Value},
3288 {glue_, func, thisObj, a0Value, a1Value});
3304 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj, a0Value, a1Value, a2Value},
3305 {glue_, func, thisObj, a0Value, a1Value, a2Value});
3343 LowerFastCall(gate, glue_, ctor, argc, args, argsFastCall, &res, &exit, true);
3347 glue_, gate, CommonStubCSigns::ConstructorCheck, { glue_, ctor, *res, thisObj });
3372 LowerFastCall(gate, glue_, func, argc, args, argsFastCall, &res, &exit, false);
3397 LowerNewFastCall(gate, glue_, ctor, needPushArgv, args, argsFastCall, &res, &exit);
3401 glue_, gate, CommonStubCSigns::ConstructorCheck, { glue_, ctor, *res, thisObj });
3419 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3424 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3427 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3432 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3442 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3447 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3450 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3455 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3461 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3466 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3507 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3512 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3517 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3522 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3536 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3541 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3546 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3551 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3560 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3565 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3568 builder_.StartCallTimer(glue_, gate, {glue_, func, builder_.True()}, true);
3573 builder_.EndCallTimer(glue_, gate, {glue_, func}, true);
3592 GateRef result = builder_.Call(cs, glue_, code, depend, args, gate, "callAOT");
3609 GateRef result = builder_.Call(cs, glue_, code, depend, args, gate, "callFastAOT");
3620 GateRef stackLimit = builder_.Load(VariableType::INT64(), glue_,
3622 GateRef interruptsFlag = builder_.Load(VariableType::INT8(), glue_,
3629 LowerCallRuntime(glue_, RTSTUB_ID(CheckSafePoint), {}, true);
3638 GateRef res = LowerCallRuntime(glue_, RTSTUB_ID(ThrowStackOverflowException), {}, true);
3713 GateRef propKey = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module,
3717 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::DefineField,
3718 {glue_, obj, propKey, value});
3730 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::DefineField,
3731 {glue_, obj, propKey, value});
3743 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::DefineField,
3744 {glue_, obj, propKey, value});
3839 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj}, {glue_, func, thisObj});
3848 GateRef res = builder_.GetObjectFromConstPool(glue_, gate, sharedConstPool, Circuit::NullGate(), module, stringId,
3902 builder_.Load(VariableType::NATIVE_POINTER(), glue_, builder_.IntPtr(unshareCpOffset), index);