Home
last modified time | relevance | path

Searched refs:SmiUntag (Results 1 – 25 of 57) sorted by relevance

123

/external/v8/src/builtins/
Dstring-replaceall.tq22 const fromIndexUint = Unsigned(SmiUntag(fromIndex));
45 if (searchStringLength == 0 && SmiUntag(fromIndex) <= stringLength) {
52 if (SmiUntag(fromIndex) + searchStringLength > stringLength) {
60 for (let i: intptr = SmiUntag(fromIndex);
190 string, Unsigned(SmiUntag(endOfLastMatch)),
191 Unsigned(SmiUntag(position)));
213 string, Unsigned(SmiUntag(endOfLastMatch)),
Dbuiltins-collections-gen.cc246 TNode<IntPtrT> length = SmiUntag(LoadFastJSArrayLength(fast_jsarray)); in AddConstructorEntriesFromFastJSArray()
519 [=] { return SmiUntag(LoadFastJSArrayLength(CAST(initial_entries))); }, in EstimatedInitialSize()
760 SmiUntag(CAST(UnsafeLoadFixedArrayElement( in FindOrderedHashTableEntry()
764 const TNode<IntPtrT> first_entry = SmiUntag(CAST(UnsafeLoadFixedArrayElement( in FindOrderedHashTableEntry()
787 SmiUntag(SmiAdd( in FindOrderedHashTableEntry()
808 var_entry = SmiUntag(CAST(UnsafeLoadFixedArrayElement( in FindOrderedHashTableEntry()
903 return SmiUntag(result); in CallGetHashRaw()
1273 const TNode<IntPtrT> key_untagged = SmiUntag(smi_key); in FindOrderedHashTableEntryForSmiKey()
1493 var_index = SmiUntag( in Transition()
1581 CAST(table), SmiUntag(index), in TF_BUILTIN()
[all …]
Dbuiltins-wasm-gen.cc114 TNode<IntPtrT> untagged_length = SmiUntag(length); in TF_BUILTIN()
117 TNode<IntPtrT> raw_size = IntPtrMul(SmiUntag(element_size), untagged_length); in TF_BUILTIN()
Dbuiltins-regexp-gen.cc101 TNode<IntPtrT> length_intptr = SmiUntag(length); in AllocateRegExpResult()
188 TNode<IntPtrT> num_indices = SmiUntag(CAST(UnsafeLoadFixedArrayElement( in ConstructNewResultFromMatchInfo()
312 CAST(LoadFixedArrayElement(result_elements, SmiUntag(index))); in ConstructNewResultFromMatchInfo()
398 TNode<IntPtrT> int_last_index = SmiUntag(CAST(last_index)); in RegExpExecInternal()
845 UintPtrLessThanOrEqual(SmiUntag(last_index), in TF_BUILTIN()
861 CSA_ASSERT(this, UintPtrLessThan(SmiUntag(match_from), in TF_BUILTIN()
919 var_flags = SmiUntag(flags_smi); in FlagsGetter()
1337 Unsigned(SmiUntag(CAST(index_plus_one))); in AdvanceStringIndex()
1341 StringCharCodeAt(string, Unsigned(SmiUntag(CAST(index)))); in AdvanceStringIndex()
1414 const TNode<IntPtrT> int_limit = SmiUntag(limit); in RegExpPrototypeSplitBody()
[all …]
Dstring-iterator.tq34 const position: intptr = SmiUntag(iterator.index);
Dbuiltins-array-gen.cc246 TNode<IntPtrT> length = SmiUntag(LoadFastJSArrayLength(array_receiver)); in TF_BUILTIN()
263 TNode<IntPtrT> capacity = SmiUntag(LoadFixedArrayBaseLength(elements)); in TF_BUILTIN()
617 TNode<IntPtrT> array_length_untagged = SmiUntag(array_length); in Generate()
640 TNode<IntPtrT> intptr_start_from = SmiUntag(CAST(start_from)); in Generate()
739 TVARIABLE(IntPtrT, index_var, SmiUntag(from_index)); in GenerateSmiOrObject()
741 TNode<IntPtrT> array_length_untagged = SmiUntag(array_length); in GenerateSmiOrObject()
912 TVARIABLE(IntPtrT, index_var, SmiUntag(from_index)); in GeneratePackedDoubles()
913 TNode<IntPtrT> array_length_untagged = SmiUntag(array_length); in GeneratePackedDoubles()
980 TVARIABLE(IntPtrT, index_var, SmiUntag(from_index)); in GenerateHoleyDoubles()
981 TNode<IntPtrT> array_length_untagged = SmiUntag(array_length); in GenerateHoleyDoubles()
Darray-map.tq133 SmiUntag(length), AllocationFlag::kAllowLargeObjectAllocation);
182 SmiUntag(length), AllocationFlag::kAllowLargeObjectAllocation) :
Diterator.tq80 const callSlotUnTagged: uintptr = Unsigned(SmiUntag(callSlot));
Dbuiltins-string-gen.cc556 Return(SubString(string, SmiUntag(from), SmiUntag(to))); in TF_BUILTIN()
901 const TNode<IntPtrT> start_position = IntPtrMax(SmiUntag(position), int_zero); in StringIndexOf()
1262 SmiUntag(match_start_index), SmiUntag(match_end_index)); in GetSubstitution()
1384 IntPtrConstant(0), SmiUntag(match_start_index))); in TF_BUILTIN()
1425 SmiUntag(match_end_index), subject_length); in TF_BUILTIN()
Dconvert.tq204 return SmiUntag(s);
207 return Unsigned(SmiUntag(ps));
/external/v8/src/torque/
Druntime-macro-shims.h29 inline int32_t SmiUntag(Isolate* isolate, Smi s) { return s.value(); } in SmiUntag() function
/external/v8/src/builtins/mips64/
Dbuiltins-mips64.cc60 __ SmiUntag(kJavaScriptCallArgCountRegister); in GenerateTailCallToReturnedCode() local
87 __ SmiUntag(a0); in Generate_JSBuiltinsConstructStubHelper() local
209 __ SmiUntag(a0); in Generate_JSConstructStubGeneric() local
1137 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
1396 __ SmiUntag(kInterpreterBytecodeOffsetRegister, in Generate_InterpreterEnterBytecode() local
1425 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecodeAdvance() local
1491 __ SmiUntag(Register::from_code(code)); in Generate_ContinueToBuiltinHelper() local
1571 __ SmiUntag(a1, MemOperand(a1, FixedArray::OffsetOfElementAt( in Generate_InterpreterOnStackReplacement() local
1958 __ SmiUntag(a7, in Generate_CallOrConstructForwardVarargs() local
2099 __ SmiUntag(a0); in Generate_CallFunction() local
[all …]
/external/v8/src/codegen/arm/
Dmacro-assembler-arm.h502 void SmiUntag(Register reg, SBit s = LeaveCC) {
503 mov(reg, Operand::SmiUntag(reg), s);
505 void SmiUntag(Register dst, Register src, SBit s = LeaveCC) {
506 mov(dst, Operand::SmiUntag(src), s);
/external/v8/src/codegen/arm64/
Dmacro-assembler-arm64-inl.h1049 void TurboAssembler::SmiUntag(Register dst, Register src) { in SmiUntag() function
1063 void TurboAssembler::SmiUntag(Register dst, const MemOperand& src) { in SmiUntag() function
1076 SmiUntag(dst); in SmiUntag()
1085 SmiUntag(dst); in SmiUntag()
1089 void TurboAssembler::SmiUntag(Register smi) { SmiUntag(smi, smi); } in SmiUntag() function
/external/v8/src/builtins/arm/
Dbuiltins-arm.cc67 __ SmiUntag(kJavaScriptCallArgCountRegister); in GenerateTailCallToReturnedCode() local
98 __ SmiUntag(r0); in Generate_JSBuiltinsConstructStubHelper() local
219 __ SmiUntag(r0); in Generate_JSConstructStubGeneric() local
1152 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
1416 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecode() local
1444 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecodeAdvance() local
1512 __ SmiUntag(Register::from_code(code)); in Generate_ContinueToBuiltinHelper() local
1599 __ add(lr, r0, Operand::SmiUntag(r1)); in Generate_InterpreterOnStackReplacement()
1931 __ SmiUntag(r5); in Generate_CallOrConstructForwardVarargs() local
2075 __ SmiUntag(r0); in Generate_CallFunction() local
[all …]
/external/v8/src/builtins/arm64/
Dbuiltins-arm64.cc68 __ SmiUntag(kJavaScriptCallArgCountRegister); in GenerateTailCallToReturnedCode() local
182 __ SmiUntag(x1, MemOperand(fp, ConstructFrameConstants::kLengthOffset)); in Generate_JSBuiltinsConstructStubHelper() local
275 __ SmiUntag(x12, MemOperand(fp, ConstructFrameConstants::kLengthOffset)); in Generate_JSConstructStubGeneric() local
367 __ SmiUntag(x1, MemOperand(fp, ConstructFrameConstants::kLengthOffset)); in Generate_JSConstructStubGeneric() local
1325 __ SmiUntag(kInterpreterBytecodeOffsetRegister, in Generate_InterpreterEntryTrampoline() local
1606 __ SmiUntag(kInterpreterBytecodeOffsetRegister, in Generate_InterpreterEnterBytecode() local
1635 __ SmiUntag(kInterpreterBytecodeOffsetRegister, in Generate_InterpreterEnterBytecodeAdvance() local
1726 if (java_script_builtin) __ SmiUntag(kJavaScriptCallArgCountRegister); in Generate_ContinueToBuiltinHelper() local
2097 __ SmiUntag(x10); in LeaveArgumentsAdaptorFrame() local
2284 __ SmiUntag( in Generate_CallOrConstructForwardVarargs() local
[all …]
/external/v8/src/ic/
Dkeyed-store-generic.cc241 TNode<IntPtrT> capacity = SmiUntag(LoadFixedArrayBaseLength(elements)); in TryRewriteElements()
524 TNode<IntPtrT> capacity = SmiUntag(LoadFixedArrayBaseLength(elements)); in EmitGenericElementStore()
529 TNode<IntPtrT> length = SmiUntag(LoadFastJSArrayLength(CAST(receiver))); in EmitGenericElementStore()
531 TNode<IntPtrT> capacity = SmiUntag(LoadFixedArrayBaseLength(elements)); in EmitGenericElementStore()
/external/v8/src/codegen/ppc/
Dmacro-assembler-ppc.h500 void SmiUntag(Register dst, const MemOperand& src, RCBit rc);
501 void SmiUntag(Register reg, RCBit rc = LeaveRC) { SmiUntag(reg, reg, rc); }
503 void SmiUntag(Register dst, Register src, RCBit rc = LeaveRC) {
/external/v8/src/builtins/s390/
Dbuiltins-s390.cc60 __ SmiUntag(kJavaScriptCallArgCountRegister); in GenerateTailCallToReturnedCode() local
123 __ SmiUntag(r2); in Generate_JSBuiltinsConstructStubHelper() local
255 __ SmiUntag(r2); in Generate_JSConstructStubGeneric() local
1262 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
1524 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecode() local
1552 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecodeAdvance() local
1620 __ SmiUntag(Register::from_code(code)); in Generate_ContinueToBuiltinHelper() local
2088 __ SmiUntag(r7); in Generate_CallOrConstructForwardVarargs() local
2240 __ SmiUntag(r2); in Generate_CallFunction() local
2594 __ SmiUntag(r1, r2); in Generate_ArgumentsAdaptorTrampoline() local
/external/v8/src/builtins/ppc/
Dbuiltins-ppc.cc60 __ SmiUntag(kJavaScriptCallArgCountRegister); in GenerateTailCallToReturnedCode() local
124 __ SmiUntag(r3, SetRC); in Generate_JSBuiltinsConstructStubHelper() local
260 __ SmiUntag(r3); in Generate_JSConstructStubGeneric() local
1208 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
1473 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecode() local
1502 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecodeAdvance() local
1570 __ SmiUntag(Register::from_code(code)); in Generate_ContinueToBuiltinHelper() local
2030 __ SmiUntag(r8); in Generate_CallOrConstructForwardVarargs() local
2177 __ SmiUntag(r3); in Generate_CallFunction() local
2533 __ SmiUntag(r0, r3); in Generate_ArgumentsAdaptorTrampoline() local
/external/v8/src/builtins/mips/
Dbuiltins-mips.cc61 __ SmiUntag(kJavaScriptCallArgCountRegister); in GenerateTailCallToReturnedCode() local
88 __ SmiUntag(a0); in Generate_JSBuiltinsConstructStubHelper() local
208 __ SmiUntag(a0); in Generate_JSConstructStubGeneric() local
1119 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
1379 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecode() local
1407 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecodeAdvance() local
1475 __ SmiUntag(Register::from_code(code)); in Generate_ContinueToBuiltinHelper() local
1558 __ SmiUntag(a1); in Generate_InterpreterOnStackReplacement() local
1893 __ SmiUntag(t2); in Generate_CallOrConstructForwardVarargs() local
2078 __ SmiUntag(t0); in Generate_CallBoundFunctionImpl() local
[all …]
/external/v8/src/builtins/ia32/
Dbuiltins-ia32.cc64 __ SmiUntag(kJavaScriptCallArgCountRegister); in GenerateTailCallToReturnedCode() local
95 __ SmiUntag(eax); in Generate_JSBuiltinsConstructStubHelper() local
224 __ SmiUntag(eax); in Generate_JSConstructStubGeneric() local
1101 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
1478 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecode() local
1504 __ SmiUntag(kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEnterBytecodeAdvance() local
1580 __ SmiUntag(Register::from_code(code)); in Generate_ContinueToBuiltinHelper() local
2079 __ SmiUntag(edx); in Generate_CallOrConstructForwardVarargs() local
2248 __ SmiUntag(eax); in Generate_CallFunction() local
2290 __ SmiUntag(edx); in Generate_PushBoundArguments() local
[all …]
/external/v8/src/codegen/x64/
Dmacro-assembler-x64.cc237 SmiUntag(dst, src); in SmiUntagField()
1097 void TurboAssembler::SmiUntag(Register reg) { in SmiUntag() function in v8::internal::TurboAssembler
1108 void TurboAssembler::SmiUntag(Register dst, Register src) { in SmiUntag() function in v8::internal::TurboAssembler
1122 void TurboAssembler::SmiUntag(Register dst, Operand src) { in SmiUntag() function in v8::internal::TurboAssembler
1610 SmiUntag(builtin_index); in EntryFromBuiltinIndexAsOperand()
2575 SmiUntag(actual_parameter_count); in CallDebugOnFunctionCall()
2591 SmiUntag(actual_parameter_count); in CallDebugOnFunctionCall()
2593 SmiUntag(expected_parameter_count); in CallDebugOnFunctionCall()
/external/v8/src/codegen/mips64/
Dmacro-assembler-mips64.h467 void SmiUntag(Register dst, const MemOperand& src);
468 void SmiUntag(Register dst, Register src) { in SmiUntag() function
477 void SmiUntag(Register reg) { SmiUntag(reg, reg); } in SmiUntag() function
/external/v8/src/builtins/x64/
Dbuiltins-x64.cc68 __ SmiUntag(kJavaScriptCallArgCountRegister); in GenerateTailCallToReturnedCode() local
220 __ SmiUntag(rax, Operand(rbp, ConstructFrameConstants::kLengthOffset)); in Generate_JSConstructStubGeneric() local
1187 __ SmiUntag(kInterpreterBytecodeOffsetRegister, in Generate_InterpreterEntryTrampoline() local
1464 __ SmiUntag(kInterpreterBytecodeOffsetRegister, in Generate_InterpreterEnterBytecode() local
1489 __ SmiUntag(kInterpreterBytecodeOffsetRegister, in Generate_InterpreterEnterBytecodeAdvance() local
1558 __ SmiUntag(Register::from_code(code)); in Generate_ContinueToBuiltinHelper() local
2121 __ SmiUntag(r8, in Generate_CallOrConstructForwardVarargs() local
2285 __ SmiUntag(rax); in Generate_CallFunction() local
3225 __ SmiUntag(param); in Generate_GenericJSToWasmWrapper() local
3410 __ SmiUntag(jump_table_offset); in Generate_GenericJSToWasmWrapper() local

123