/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | native_inline_lowering.cpp | 480 GateRef startTag = tacc.GetArg0(); in TryInlineStringSubstring() local 487 auto param_check = builder_.TaggedIsNumber(startTag); in TryInlineStringSubstring() 490 ret = builder_.StringSubstring(thisValue, startTag, endTag); in TryInlineStringSubstring() 493 GateRef startTag = acc_.GetValueIn(gate, 1); in TryInlineStringSubstring() local 500 auto param_check = LogicAndBuilder(&env).And(builder_.TaggedIsNumber(startTag)) in TryInlineStringSubstring() 504 ret = builder_.StringSubstring(thisValue, startTag, endTag); in TryInlineStringSubstring() 564 GateRef startTag = tacc.GetArg0(); in TryInlineStringSlice() local 571 auto param_check = builder_.TaggedIsNumber(startTag); in TryInlineStringSlice() 574 ret = builder_.StringSlice(thisValue, startTag, endTag); in TryInlineStringSlice() 577 GateRef startTag in TryInlineStringSlice() local [all...] |
H A D | typed_native_inline_lowering.cpp | 2185 GateRef startTag = acc_.GetValueIn(gate, 1); // 1: the second parameter in LowerStringSubstring() local 2201 if (acc_.GetMachineType(startTag) == MachineType::I64) { in LowerStringSubstring() 2202 BRANCH_CIR(builder_.TaggedIsInt(startTag), &startTagIsInt, &startTagNotInt); in LowerStringSubstring() 2204 start = builder_.GetInt32OfTInt(startTag); in LowerStringSubstring() 2210 BRANCH_CIR(BuildTaggedPointerOverflowInt32(startTag), &slowPath, &fastPath); in LowerStringSubstring() 2218 start = builder_.DoubleToInt(glue, builder_.GetDoubleOfTDouble(startTag), base::INT32_BITS); in LowerStringSubstring() 2223 start = NumberToInt32(startTag); in LowerStringSubstring() 2386 GateRef startTag = acc_.GetValueIn(gate, 1); // 1: the second parameter in LowerStringSlice() local 2407 if (acc_.GetMachineType(startTag) == MachineType::I64) { in LowerStringSlice() 2408 BRANCH_CIR(builder_.TaggedIsInt(startTag), in LowerStringSlice() [all...] |
H A D | mcr_circuit_builder.cpp | 1765 GateRef CircuitBuilder::StringSubstring(GateRef thisValue, GateRef startTag, GateRef endTag) in StringSubstring() argument 1772 { currentControl, currentDepend, thisValue, startTag, endTag }, GateType::AnyType()); in StringSubstring() 1791 GateRef CircuitBuilder::StringSlice(GateRef thisValue, GateRef startTag, GateRef endTag) in StringSlice() argument 1798 { currentControl, currentDepend, thisValue, startTag, endTag }, GateType::AnyType()); in StringSlice()
|
H A D | circuit_builder.h | 771 GateRef StringSubstring(GateRef thisValue, GateRef startTag, GateRef endTag); 773 GateRef StringSlice(GateRef thisValue, GateRef startTag, GateRef endTag);
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_string_stub_builder.cpp | 481 GateRef startTag = GetCallArg0(numArgs);
in Substring() local 482 BRANCH(TaggedIsNumber(startTag), &startTagIsNumber, slowPath);
in Substring() 484 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath);
in Substring() 487 start = GetInt32OfTInt(startTag);
in Substring() 1002 GateRef startTag = GetCallArg0(numArgs);
in Slice() local 1003 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath);
in Slice() 1006 start = ConvertAndClampRelativeIndex(GetInt32OfTInt(startTag), thisLen);
in Slice()
|
H A D | builtins_typedarray_stub_builder.cpp | 914 GateRef startTag = GetCallArg1(numArgs);
in CopyWithin() local 915 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath);
in CopyWithin() 917 startPos = SExtInt32ToInt64(TaggedGetInt(startTag));
in CopyWithin() 1580 GateRef startTag = GetCallArg0(numArgs);
in Slice() local 1581 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath);
in Slice() 1584 startPos = SExtInt32ToInt64(TaggedGetInt(startTag));
in Slice()
|
H A D | builtins_array_stub_builder.cpp | 3532 GateRef startTag = GetCallArg1(numArgs); in CopyWithin() local 3533 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath); in CopyWithin() 3535 startPos = SExtInt32ToInt64(TaggedGetInt(startTag)); in CopyWithin()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_string.cpp | 1547 JSHandle<JSTaggedValue> startTag = BuiltinsString::GetCallArg(argv, 0); in Slice() local 1548 JSTaggedNumber startVal = JSTaggedValue::ToInteger(thread, startTag); in Slice() 1858 JSHandle<JSTaggedValue> startTag = BuiltinsString::GetCallArg(argv, 0); in Substring() local 1859 JSTaggedNumber startVal = JSTaggedValue::ToInteger(thread, startTag); in Substring()
|