Home
last modified time | relevance | path

Searched refs:kSmiTagMask (Results 1 – 25 of 53) sorted by relevance

123

/external/v8/tools/
Dgdb-v8-support.py32 kSmiTagMask = (1 << kSmiTagSize) - 1 variable
65 return v & kSmiTagMask == kSmiTag
/external/v8/test/cctest/
Dtest-macro-assembler-x64.cc59 using i::kSmiTagMask;
477 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
488 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
499 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
510 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
523 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
540 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
551 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
566 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
571 __ xorq(rdx, Immediate(kSmiTagMask)); in TEST()
[all …]
/external/v8/src/arm/
Dmacro-assembler-arm.cc3079 tst(reg1, Operand(kSmiTagMask)); in JumpIfNotBothSmi()
3080 tst(reg2, Operand(kSmiTagMask), eq); in JumpIfNotBothSmi()
3105 tst(reg1, Operand(kSmiTagMask)); in JumpIfEitherSmi()
3106 tst(reg2, Operand(kSmiTagMask), ne); in JumpIfEitherSmi()
3113 tst(object, Operand(kSmiTagMask)); in AssertNotNumber()
3125 tst(object, Operand(kSmiTagMask)); in AssertNotSmi()
3134 tst(object, Operand(kSmiTagMask)); in AssertSmi()
3143 tst(object, Operand(kSmiTagMask)); in AssertString()
3157 tst(object, Operand(kSmiTagMask)); in AssertName()
3171 tst(object, Operand(kSmiTagMask)); in AssertFunction()
[all …]
Dmacro-assembler-arm.h1285 tst(value, Operand(kSmiTagMask)); in SmiTst()
1288 tst(value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst()
1292 tst(value, Operand(kSmiTagMask)); in JumpIfSmi()
1297 tst(value, Operand(kSmiTagMask)); in JumpIfNotSmi()
/external/v8/src/x87/
Dmacro-assembler-x87.cc334 test(value, Immediate(kSmiTagMask)); in RecordWriteArray()
911 test(object, Immediate(kSmiTagMask)); in AssertNotNumber()
921 test(object, Immediate(kSmiTagMask)); in AssertSmi()
929 test(object, Immediate(kSmiTagMask)); in AssertString()
942 test(object, Immediate(kSmiTagMask)); in AssertName()
955 test(object, Immediate(kSmiTagMask)); in AssertFunction()
967 test(object, Immediate(kSmiTagMask)); in AssertBoundFunction()
978 test(object, Immediate(kSmiTagMask)); in AssertGeneratorObject()
989 test(object, Immediate(kSmiTagMask)); in AssertReceiver()
1015 test(object, Immediate(kSmiTagMask)); in AssertNotSmi()
Dmacro-assembler-x87.h487 test(value, Immediate(kSmiTagMask));
493 test(value, Immediate(kSmiTagMask));
499 test(value, Immediate(kSmiTagMask));
Dcode-stubs-x87.cc390 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
881 __ mov(ecx, Immediate(kSmiTagMask)); in GenerateGeneric()
888 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric()
1021 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric()
1023 __ test(ecx, Immediate(kSmiTagMask)); in GenerateGeneric()
1840 __ test(code_, Immediate(kSmiTagMask | in GenerateFast()
2341 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
3972 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
4079 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc407 test(value, Immediate(kSmiTagMask)); in RecordWriteArray()
963 test(object, Immediate(kSmiTagMask)); in AssertNotNumber()
973 test(object, Immediate(kSmiTagMask)); in AssertSmi()
981 test(object, Immediate(kSmiTagMask)); in AssertString()
994 test(object, Immediate(kSmiTagMask)); in AssertName()
1007 test(object, Immediate(kSmiTagMask)); in AssertFunction()
1019 test(object, Immediate(kSmiTagMask)); in AssertBoundFunction()
1030 test(object, Immediate(kSmiTagMask)); in AssertGeneratorObject()
1041 test(object, Immediate(kSmiTagMask)); in AssertReceiver()
1068 test(object, Immediate(kSmiTagMask)); in AssertNotSmi()
Dmacro-assembler-ia32.h496 test(value, Immediate(kSmiTagMask));
502 test(value, Immediate(kSmiTagMask));
508 test(value, Immediate(kSmiTagMask));
Dcode-stubs-ia32.cc689 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
1186 __ mov(ecx, Immediate(kSmiTagMask)); in GenerateGeneric()
1193 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric()
1314 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric()
1316 __ test(ecx, Immediate(kSmiTagMask)); in GenerateGeneric()
2118 __ test(code_, Immediate(kSmiTagMask | in GenerateFast()
2619 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
4294 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
4403 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
/external/v8/src/x64/
Dmacro-assembler-x64.cc1421 testb(src, Immediate(kSmiTagMask)); in CheckSmi()
1428 testb(src, Immediate(kSmiTagMask)); in CheckSmi()
1455 testb(kScratchRegister, Immediate(kSmiTagMask)); in CheckBothSmi()
1488 testb(scratch, Immediate(kSmiTagMask)); in CheckEitherSmi()
1521 andl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator()
1523 movl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator()
1531 movl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator()
1535 andl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator()
2375 movl(kScratchRegister, Immediate(kSmiTagMask)); in SelectNonSmi()
2382 DCHECK_EQ(1, static_cast<int>(kSmiTagMask)); in SelectNonSmi()
[all …]
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc1890 __ test(reg, Immediate(kSmiTagMask)); in DoBranch()
2114 __ test(input, Immediate(kSmiTagMask)); in DoIsSmiAndBranch()
2300 __ test(object, Immediate(kSmiTagMask)); in DoHasInPrototypeChainAndBranch()
2697 __ test(result, Immediate(kSmiTagMask)); in DoLoadKeyedFixedArray()
2864 __ test(receiver, Immediate(kSmiTagMask)); in DoWrapReceiver()
3999 __ test(result, Immediate(kSmiTagMask)); in DoDeferredMaybeGrowElements()
4360 __ test(result, Immediate(kSmiTagMask)); in DoSmiUntag()
4601 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckSmi()
4609 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckNonSmi()
4694 __ test(eax, Immediate(kSmiTagMask)); in DoDeferredInstanceMigration()
/external/v8/src/arm64/
Dcodegen-arm64.cc166 __ Tst(x13, kSmiTagMask); in GenerateSmiToDouble()
Dmacro-assembler-arm64.cc1590 Tst(object, kSmiTagMask); in AssertSmi()
1599 Tst(object, kSmiTagMask); in AssertNotSmi()
1689 Tst(object, kSmiTagMask); in AssertString()
1711 Tst(value, kSmiTagMask); in AssertNotNumber()
4595 Tst(object, kSmiTagMask); in AssertIsString()
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc2162 __ test(reg, Immediate(kSmiTagMask)); in DoBranch()
2400 __ test(input, Immediate(kSmiTagMask)); in DoIsSmiAndBranch()
2586 __ test(object, Immediate(kSmiTagMask)); in DoHasInPrototypeChainAndBranch()
2973 __ test(result, Immediate(kSmiTagMask)); in DoLoadKeyedFixedArray()
3140 __ test(receiver, Immediate(kSmiTagMask)); in DoWrapReceiver()
4324 __ test(result, Immediate(kSmiTagMask)); in DoDeferredMaybeGrowElements()
4711 __ test(result, Immediate(kSmiTagMask)); in DoSmiUntag()
4993 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckSmi()
5001 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckNonSmi()
5086 __ test(eax, Immediate(kSmiTagMask)); in DoDeferredInstanceMigration()
/external/v8/src/
Dglobals.h708 ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag)
/external/v8/src/mips64/
Dmacro-assembler-mips64.cc6482 andi(scratch, value, kSmiTagMask); in JumpIfSmi()
6491 andi(scratch, value, kSmiTagMask); in JumpIfNotSmi()
6502 DCHECK_EQ(1, kSmiTagMask); in JumpIfNotBothSmi()
6504 DCHECK_EQ((int64_t)1, kSmiTagMask); in JumpIfNotBothSmi()
6517 DCHECK_EQ(1, kSmiTagMask); in JumpIfEitherSmi()
6519 DCHECK_EQ((int64_t)1, kSmiTagMask); in JumpIfEitherSmi()
6529 andi(at, object, kSmiTagMask); in AssertNotNumber()
6539 andi(at, object, kSmiTagMask); in AssertNotSmi()
6548 andi(at, object, kSmiTagMask); in AssertSmi()
Dmacro-assembler-mips64.h1696 And(scratch, value, Operand(kSmiTagMask)); in SmiTst()
1699 And(scratch, value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst()
/external/v8/src/mips/
Dmacro-assembler-mips.h1554 And(scratch, value, Operand(kSmiTagMask)); in SmiTst()
1557 And(scratch, value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst()
Dmacro-assembler-mips.cc6151 andi(scratch, value, kSmiTagMask); in JumpIfSmi()
6160 andi(scratch, value, kSmiTagMask); in JumpIfNotSmi()
6169 DCHECK_EQ(1, kSmiTagMask); in JumpIfNotBothSmi()
6179 DCHECK_EQ(1, kSmiTagMask); in JumpIfEitherSmi()
6188 andi(at, object, kSmiTagMask); in AssertNotNumber()
6198 andi(at, object, kSmiTagMask); in AssertNotSmi()
6207 andi(at, object, kSmiTagMask); in AssertSmi()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc37 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfNotSmi()
44 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfSmi()
1859 __ and_(eax, Immediate(~kSmiTagMask)); in EmitInlineSmiBinaryOp()
2590 __ test(eax, Immediate(kSmiTagMask)); in EmitIsSmi()
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc37 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfNotSmi()
44 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfSmi()
1851 __ and_(eax, Immediate(~kSmiTagMask)); in EmitInlineSmiBinaryOp()
2582 __ test(eax, Immediate(kSmiTagMask)); in EmitIsSmi()
/external/v8/src/s390/
Dmacro-assembler-s390.h1622 STATIC_ASSERT((kSmiTagMask | kSmiSignMask) == in TestIfPositiveSmi()
1624 mov(scratch, Operand(kIntptrSignBit | kSmiTagMask)); in TestIfPositiveSmi()
/external/v8/src/ic/mips64/
Dic-mips64.cc846 patcher.masm()->andi(at, reg, kSmiTagMask); in PatchInlinedSmiCode()
/external/v8/src/ic/arm64/
Dic-arm64.cc824 STATIC_ASSERT(kSmiTagMask == 1); in PatchInlinedSmiCode()

123