Home
last modified time | relevance | path

Searched refs:SmiTag (Results 1 – 25 of 70) sorted by relevance

123

/external/v8/test/cctest/compiler/
Dtest-code-assembler.cc18 Node* SmiTag(CodeAssemblerTester& m, Node* value) { in SmiTag() function
42 m.Return(SmiTag(m, m.Int32Constant(37))); in TEST()
78 Node* b = SmiTag(m, m.Int32Constant(0)); in TEST()
91 Node* b = SmiTag(m, m.Int32Constant(0)); in TEST()
104 Node* a = SmiTag(m, m.Int32Constant(2)); in TEST()
105 Node* b = SmiTag(m, m.Int32Constant(4)); in TEST()
118 Node* a = SmiTag(m, m.Int32Constant(2)); in TEST()
119 Node* b = SmiTag(m, m.Int32Constant(4)); in TEST()
151 Node* receiver = SmiTag(m, m.Int32Constant(42)); in TEST()
173 Node* receiver = SmiTag(m, m.Int32Constant(42)); in TEST()
[all …]
/external/v8/src/interpreter/
Dinterpreter.cc287 Node* smi_int = __ SmiTag(raw_int); in DoLdaSmi()
398 Node* smi_slot = __ SmiTag(raw_slot); in BuildLoadGlobal()
454 Node* smi_slot = __ SmiTag(raw_slot); in DoStaGlobal()
582 Node* smi_slot = __ SmiTag(raw_slot); in BuildLoadNamedProperty()
619 Node* smi_slot = __ SmiTag(raw_slot); in BuildLoadKeyedProperty()
657 Node* smi_slot = __ SmiTag(raw_slot); in DoStoreIC()
693 Node* smi_slot = __ SmiTag(raw_slot); in DoKeyedStoreIC()
1411 Node* literal_index = __ SmiTag(literal_index_raw); in DoCreateRegExpLiteral()
1413 Node* flags = __ SmiTag(flags_raw); in DoCreateRegExpLiteral()
1430 Node* literal_index = __ SmiTag(literal_index_raw); in DoCreateArrayLiteral()
[all …]
Dinterpreter-assembler.cc422 StoreRegister(SmiTag(BytecodeOffset()), Register::bytecode_offset()); in CallPrologue()
643 Node* abort_id = SmiTag(Int32Constant(bailout_reason)); in Abort()
662 SmiTag(BytecodeOffset()), GetAccumulatorUnchecked()); in TraceBytecode()
/external/v8/src/
Dcode-stub-assembler.cc268 Node* CodeStubAssembler::SmiTag(Node* value) { in SmiTag() function in v8::internal::CodeStubAssembler
368 SmiTag(size_in_bytes), runtime_flags); in AllocateRawUnaligned()
371 SmiTag(size_in_bytes)); in AllocateRawUnaligned()
609 SmiTag(length)); in AllocateUninitializedFixedArray()
843 mode == SMI_PARAMETERS ? length_node : SmiTag(length_node)); in AllocateJSArray()
857 mode == SMI_PARAMETERS ? capacity_node : SmiTag(capacity_node)); in AllocateJSArray()
1090 Node* result = SmiTag(ChangeInt32ToInt64(value32)); in ChangeFloat64ToTagged()
1120 return SmiTag(ChangeInt32ToInt64(value)); in ChangeInt32ToTagged()
1155 var_result.Bind(SmiTag(ChangeUint32ToUint64(value))); in ChangeUint32ToTagged()
1391 NoContextConstant(), string, SmiTag(index)))); in StringCharCodeAt()
Dcode-stub-assembler.h56 compiler::Node* SmiTag(compiler::Node* value);
62 compiler::Node* SmiFromWord(compiler::Node* value) { return SmiTag(value); } in SmiFromWord()
/external/v8/src/s390/
Dbuiltins-s390.cc163 __ SmiTag(r2); in Generate_MathMaxMin() local
164 __ SmiTag(r6); in Generate_MathMaxMin() local
472 __ SmiTag(r2); in GenerateTailCallToReturnedCode() local
526 __ SmiTag(r6, r2); in Generate_JSConstructStubHelper() local
531 __ SmiTag(r2); in Generate_JSConstructStubHelper() local
1049 __ SmiTag(r4, kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
2034 __ SmiTag(r2); in EnterArgumentsAdaptorFrame() local
2352 __ SmiTag(r2); in Generate_CallFunction() local
2701 __ SmiTag(r3); in Generate_AllocateInNewSpace() local
2713 __ SmiTag(r3); in Generate_AllocateInOldSpace() local
Dcode-stubs-s390.cc1715 __ SmiTag(r4, r3); in Generate()
1749 __ SmiTag(r5); in Generate()
1812 __ SmiTag(r2); in CallStubInRecordCallTarget() local
2177 __ SmiTag(result_); in GenerateFast() local
2223 __ SmiTag(index_); in GenerateSlow() local
2437 __ SmiTag(r5); in Generate() local
2528 __ SmiTag(r5, r5); in Generate() local
4537 __ SmiTag(r5); in Generate() local
4637 __ SmiTag(r9); in Generate() local
4682 __ SmiTag(r4); in Generate() local
[all …]
Dmacro-assembler-s390.h1490 void SmiTag(Register reg) { SmiTag(reg, reg); } in SmiTag() function
1491 void SmiTag(Register dst, Register src) { in SmiTag() function
1776 SmiTag(dst); in DecodeFieldToSmi()
/external/v8/src/ppc/
Dbuiltins-ppc.cc171 __ SmiTag(r3); in Generate_MathMaxMin() local
172 __ SmiTag(r7); in Generate_MathMaxMin() local
488 __ SmiTag(r3); in GenerateTailCallToReturnedCode() local
545 __ SmiTag(r7, r3, SetRC); in Generate_JSConstructStubHelper() local
549 __ SmiTag(r3); in Generate_JSConstructStubHelper() local
1069 __ SmiTag(r3, kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
2077 __ SmiTag(r3); in EnterArgumentsAdaptorFrame() local
2388 __ SmiTag(r3); in Generate_CallFunction() local
2742 __ SmiTag(r4); in Generate_AllocateInNewSpace() local
2754 __ SmiTag(r4); in Generate_AllocateInOldSpace() local
Dmacro-assembler-ppc.h1219 void SmiTag(Register reg, RCBit rc = LeaveRC) { SmiTag(reg, reg, rc); }
1220 void SmiTag(Register dst, Register src, RCBit rc = LeaveRC) {
1499 SmiTag(dst); in DecodeFieldToSmi()
Dcode-stubs-ppc.cc1702 __ SmiTag(r5, r4); in Generate()
1739 __ SmiTag(r6); in Generate()
1801 __ SmiTag(r3); in CallStubInRecordCallTarget() local
2176 __ SmiTag(result_); in GenerateFast() local
2223 __ SmiTag(index_); in GenerateSlow() local
2438 __ SmiTag(r6); in Generate() local
2526 __ SmiTag(r6, r6); in Generate() local
4605 __ SmiTag(r6); in Generate() local
4702 __ SmiTag(r10); in Generate() local
4748 __ SmiTag(r5); in Generate() local
[all …]
/external/v8/src/arm/
Dbuiltins-arm.cc169 __ SmiTag(r0); in Generate_MathMaxMin() local
170 __ SmiTag(r4); in Generate_MathMaxMin() local
470 __ SmiTag(r0); in GenerateTailCallToReturnedCode() local
533 __ SmiTag(r0); in Generate_JSConstructStubHelper() local
579 __ SmiTag(r4, r0); in Generate_JSConstructStubHelper() local
1042 __ SmiTag(r0, kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
2028 __ SmiTag(r0); in EnterArgumentsAdaptorFrame() local
2332 __ SmiTag(r0); in Generate_CallFunction() local
2669 __ SmiTag(r1); in Generate_AllocateInNewSpace() local
2681 __ SmiTag(r1); in Generate_AllocateInOldSpace() local
Dmacro-assembler-arm.h1248 void SmiTag(Register reg, SBit s = LeaveCC) {
1251 void SmiTag(Register dst, Register src, SBit s = LeaveCC) {
1262 SmiTag(ip, src, SetCC); in TrySmiTag()
/external/v8/src/arm64/
Dcodegen-arm64.cc117 __ SmiTag(x11, length); in GenerateSmiToDouble() local
224 __ SmiTag(x11, length); in GenerateDoubleToObject() local
Dbuiltins-arm64.cc167 __ SmiTag(x0); in Generate_MathMaxMin() local
168 __ SmiTag(x4); in Generate_MathMaxMin() local
463 __ SmiTag(x0); in GenerateTailCallToReturnedCode() local
527 __ SmiTag(argc); in Generate_JSConstructStubHelper() local
1045 __ SmiTag(x0, kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
2098 __ SmiTag(x10, x0); in EnterArgumentsAdaptorFrame() local
2419 __ SmiTag(x0); in Generate_CallFunction() local
2761 __ SmiTag(x1); in Generate_AllocateInNewSpace() local
2774 __ SmiTag(x1); in Generate_AllocateInOldSpace() local
Dcode-stubs-arm64.cc1808 __ SmiTag(x10, number_of_capture_registers); in Generate()
1860 __ SmiTag(x10, current_offset); in Generate()
1951 __ SmiTag(argc); in CallStubInRecordCallTarget() local
2349 __ SmiTag(result_); in GenerateFast() local
2395 __ SmiTag(index_); in GenerateSlow() local
2964 __ SmiTag(from); in Generate() local
3053 __ SmiTag(from); in Generate() local
4787 __ SmiTag(x6, x0); in Generate() local
4825 __ SmiTag(x0); in Generate() local
4826 __ SmiTag(x6); in Generate() local
[all …]
Dmacro-assembler-arm64-inl.h1296 void MacroAssembler::SmiTag(Register dst, Register src) { in SmiTag() function
1304 void MacroAssembler::SmiTag(Register smi) { SmiTag(smi, smi); } in SmiTag() function
/external/v8/src/x87/
Dbuiltins-x87.cc62 __ SmiTag(eax); in GenerateTailCallToReturnedCode() local
129 __ SmiTag(eax); in Generate_JSConstructStubHelper() local
1611 __ SmiTag(eax); in Generate_MathMaxMin() local
1612 __ SmiTag(ecx); in Generate_MathMaxMin() local
1635 __ SmiTag(edx); in Generate_MathMaxMin() local
1654 __ SmiTag(ebx); in Generate_MathMaxMin() local
2299 __ SmiTag(eax); in Generate_CallFunction() local
2657 __ SmiTag(edx); in Generate_AllocateInNewSpace() local
2671 __ SmiTag(edx); in Generate_AllocateInOldSpace() local
/external/v8/src/ia32/
Dbuiltins-ia32.cc62 __ SmiTag(eax); in GenerateTailCallToReturnedCode() local
129 __ SmiTag(eax); in Generate_JSConstructStubHelper() local
1610 __ SmiTag(eax); in Generate_MathMaxMin() local
1611 __ SmiTag(ecx); in Generate_MathMaxMin() local
1632 __ SmiTag(edx); in Generate_MathMaxMin() local
1646 __ SmiTag(ebx); in Generate_MathMaxMin() local
2275 __ SmiTag(eax); in Generate_CallFunction() local
2633 __ SmiTag(edx); in Generate_AllocateInNewSpace() local
2647 __ SmiTag(edx); in Generate_AllocateInOldSpace() local
/external/v8/src/mips64/
Dcode-stubs-mips64.cc1748 __ SmiTag(a2, a1); // To smi. in Generate()
1793 __ SmiTag(a3); in Generate()
1865 __ SmiTag(a0); in CallStubInRecordCallTarget() local
2062 __ SmiTag(result_); in GenerateFast() local
2289 __ SmiTag(index_); in GenerateSlow() local
2510 __ SmiTag(a3); in Generate() local
2598 __ SmiTag(a3); in Generate() local
4602 __ SmiTag(a4); in Generate() local
4720 __ SmiTag(a4, a0); in Generate() local
4758 __ SmiTag(a0); in Generate() local
[all …]
Dbuiltins-mips64.cc169 __ SmiTag(a0); in Generate_MathMaxMin() local
170 __ SmiTag(a3); in Generate_MathMaxMin() local
473 __ SmiTag(a0); in GenerateTailCallToReturnedCode() local
526 __ SmiTag(a0); in Generate_JSConstructStubHelper() local
1020 __ SmiTag(a4, kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
2343 __ SmiTag(a0); in Generate_CallFunction() local
2732 __ SmiTag(a0); in Generate_AllocateInNewSpace() local
2744 __ SmiTag(a0); in Generate_AllocateInOldSpace() local
Dmacro-assembler-mips64.h1618 void SmiTag(Register dst, Register src) { in SmiTag() function
1628 void SmiTag(Register reg) { in SmiTag() function
1629 SmiTag(reg, reg); in SmiTag()
1644 SmiTag(dst, src); in TrySmiTag()
/external/v8/src/mips/
Dbuiltins-mips.cc170 __ SmiTag(a0); in Generate_MathMaxMin() local
171 __ SmiTag(a3); in Generate_MathMaxMin() local
479 __ SmiTag(a0); in GenerateTailCallToReturnedCode() local
533 __ SmiTag(a0); in Generate_JSConstructStubHelper() local
578 __ SmiTag(t4, a0); in Generate_JSConstructStubHelper() local
1034 __ SmiTag(t0, kInterpreterBytecodeOffsetRegister); in Generate_InterpreterEntryTrampoline() local
2746 __ SmiTag(a0); in Generate_AllocateInNewSpace() local
2758 __ SmiTag(a0); in Generate_AllocateInOldSpace() local
/external/v8/test/unittests/interpreter/
Dinterpreter-assembler-unittest.cc523 TARGET_TEST_F(InterpreterAssemblerTest, SmiTag) { in TARGET_TEST_F() argument
527 EXPECT_THAT(m.SmiTag(value), in TARGET_TEST_F()
/external/v8/test/cctest/
Dtest-code-stub-assembler.cc27 m.SmiTag(m.Int32Constant(4)), 0, in TEST()
40 m.Return(m.SmiTag( in TEST()
53 m.Return(m.SmiTag(m.LoadInstanceType(m.HeapConstant(undefined)))); in TEST()
67 m.Return(m.SmiTag(m.BitFieldDecode<TestBitField>(m.Int32Constant(0x2f)))); in TEST()

123