/external/v8/tools/ |
D | gdb-v8-support.py | 32 kSmiTagMask = (1 << kSmiTagSize) - 1 variable 65 return v & kSmiTagMask == kSmiTag
|
/external/v8/src/x87/ |
D | macro-assembler-x87.cc | 333 test(value, Immediate(kSmiTagMask)); in RecordWriteArray() 896 test(object, Immediate(kSmiTagMask)); in AssertNotNumber() 906 test(object, Immediate(kSmiTagMask)); in AssertSmi() 914 test(object, Immediate(kSmiTagMask)); in AssertString() 927 test(object, Immediate(kSmiTagMask)); in AssertName() 940 test(object, Immediate(kSmiTagMask)); in AssertFunction() 952 test(object, Immediate(kSmiTagMask)); in AssertBoundFunction() 963 test(object, Immediate(kSmiTagMask)); in AssertGeneratorObject() 974 test(object, Immediate(kSmiTagMask)); in AssertReceiver() 1000 test(object, Immediate(kSmiTagMask)); in AssertNotSmi()
|
D | macro-assembler-x87.h | 482 test(value, Immediate(kSmiTagMask)); 488 test(value, Immediate(kSmiTagMask)); 494 test(value, Immediate(kSmiTagMask));
|
D | code-stubs-x87.cc | 390 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 875 __ mov(ecx, Immediate(kSmiTagMask)); in GenerateGeneric() 882 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric() 1015 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric() 1017 __ test(ecx, Immediate(kSmiTagMask)); in GenerateGeneric() 1844 __ test(code_, Immediate(kSmiTagMask | in GenerateFast() 2054 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 3373 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 3467 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
|
/external/v8/src/arm/ |
D | macro-assembler-arm.cc | 2952 tst(reg1, Operand(kSmiTagMask)); in JumpIfNotBothSmi() 2953 tst(reg2, Operand(kSmiTagMask), eq); in JumpIfNotBothSmi() 2978 tst(reg1, Operand(kSmiTagMask)); in JumpIfEitherSmi() 2979 tst(reg2, Operand(kSmiTagMask), ne); in JumpIfEitherSmi() 2986 tst(object, Operand(kSmiTagMask)); in AssertNotNumber() 2998 tst(object, Operand(kSmiTagMask)); in AssertNotSmi() 3007 tst(object, Operand(kSmiTagMask)); in AssertSmi() 3016 tst(object, Operand(kSmiTagMask)); in AssertString() 3030 tst(object, Operand(kSmiTagMask)); in AssertName() 3044 tst(object, Operand(kSmiTagMask)); in AssertFunction() [all …]
|
D | macro-assembler-arm.h | 1296 tst(value, Operand(kSmiTagMask)); in SmiTst() 1299 tst(value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst() 1303 tst(value, Operand(kSmiTagMask)); in JumpIfSmi() 1308 tst(value, Operand(kSmiTagMask)); in JumpIfNotSmi()
|
/external/v8/src/x64/ |
D | macro-assembler-x64.cc | 1407 testb(src, Immediate(kSmiTagMask)); in CheckSmi() 1414 testb(src, Immediate(kSmiTagMask)); in CheckSmi() 1441 testb(kScratchRegister, Immediate(kSmiTagMask)); in CheckBothSmi() 1474 testb(scratch, Immediate(kSmiTagMask)); in CheckEitherSmi() 1507 andl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator() 1509 movl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator() 1517 movl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator() 1521 andl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator() 2361 movl(kScratchRegister, Immediate(kSmiTagMask)); in SelectNonSmi() 2368 DCHECK_EQ(1, static_cast<int>(kSmiTagMask)); in SelectNonSmi() [all …]
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 406 test(value, Immediate(kSmiTagMask)); in RecordWriteArray() 948 test(object, Immediate(kSmiTagMask)); in AssertNotNumber() 958 test(object, Immediate(kSmiTagMask)); in AssertSmi() 966 test(object, Immediate(kSmiTagMask)); in AssertString() 979 test(object, Immediate(kSmiTagMask)); in AssertName() 992 test(object, Immediate(kSmiTagMask)); in AssertFunction() 1004 test(object, Immediate(kSmiTagMask)); in AssertBoundFunction() 1015 test(object, Immediate(kSmiTagMask)); in AssertGeneratorObject() 1026 test(object, Immediate(kSmiTagMask)); in AssertReceiver() 1053 test(object, Immediate(kSmiTagMask)); in AssertNotSmi()
|
D | macro-assembler-ia32.h | 491 test(value, Immediate(kSmiTagMask)); 497 test(value, Immediate(kSmiTagMask)); 503 test(value, Immediate(kSmiTagMask));
|
D | code-stubs-ia32.cc | 569 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 1054 __ mov(ecx, Immediate(kSmiTagMask)); in GenerateGeneric() 1061 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric() 1182 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric() 1184 __ test(ecx, Immediate(kSmiTagMask)); in GenerateGeneric() 1996 __ test(code_, Immediate(kSmiTagMask | in GenerateFast() 2206 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 3565 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 3661 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
|
/external/v8/src/crankshaft/ia32/ |
D | lithium-codegen-ia32.cc | 1885 __ test(reg, Immediate(kSmiTagMask)); in DoBranch() 2109 __ test(input, Immediate(kSmiTagMask)); in DoIsSmiAndBranch() 2273 __ test(object, Immediate(kSmiTagMask)); in DoHasInPrototypeChainAndBranch() 2615 __ test(result, Immediate(kSmiTagMask)); in DoLoadKeyedFixedArray() 2770 __ test(receiver, Immediate(kSmiTagMask)); in DoWrapReceiver() 3875 __ test(result, Immediate(kSmiTagMask)); in DoDeferredMaybeGrowElements() 4231 __ test(result, Immediate(kSmiTagMask)); in DoSmiUntag() 4457 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckSmi() 4465 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckNonSmi() 4550 __ test(eax, Immediate(kSmiTagMask)); in DoDeferredInstanceMigration()
|
/external/v8/src/arm64/ |
D | codegen-arm64.cc | 166 __ Tst(x13, kSmiTagMask); in GenerateSmiToDouble()
|
D | macro-assembler-arm64.cc | 1583 Tst(object, kSmiTagMask); in AssertSmi() 1592 Tst(object, kSmiTagMask); in AssertNotSmi() 1682 Tst(object, kSmiTagMask); in AssertString() 1704 Tst(value, kSmiTagMask); in AssertNotNumber() 4383 Tst(object, kSmiTagMask); in AssertIsString()
|
/external/v8/src/crankshaft/x87/ |
D | lithium-codegen-x87.cc | 2156 __ test(reg, Immediate(kSmiTagMask)); in DoBranch() 2394 __ test(input, Immediate(kSmiTagMask)); in DoIsSmiAndBranch() 2558 __ test(object, Immediate(kSmiTagMask)); in DoHasInPrototypeChainAndBranch() 2890 __ test(result, Immediate(kSmiTagMask)); in DoLoadKeyedFixedArray() 3045 __ test(receiver, Immediate(kSmiTagMask)); in DoWrapReceiver() 4203 __ test(result, Immediate(kSmiTagMask)); in DoDeferredMaybeGrowElements() 4585 __ test(result, Immediate(kSmiTagMask)); in DoSmiUntag() 4851 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckSmi() 4859 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckNonSmi() 4944 __ test(eax, Immediate(kSmiTagMask)); in DoDeferredInstanceMigration()
|
/external/v8/src/ic/arm64/ |
D | ic-arm64.cc | 557 STATIC_ASSERT(kSmiTagMask == 1); in PatchInlinedSmiCode()
|
/external/v8/src/ic/mips64/ |
D | ic-mips64.cc | 610 patcher.masm()->andi(at, reg, kSmiTagMask); in PatchInlinedSmiCode()
|
/external/v8/src/ic/mips/ |
D | ic-mips.cc | 609 patcher.masm()->andi(at, reg, kSmiTagMask); in PatchInlinedSmiCode()
|
/external/v8/src/ic/arm/ |
D | ic-arm.cc | 612 patcher.masm()->tst(reg, Operand(kSmiTagMask)); in PatchInlinedSmiCode()
|
/external/v8/src/ |
D | globals.h | 741 ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag)
|
/external/v8/src/mips64/ |
D | macro-assembler-mips64.cc | 6384 andi(scratch, value, kSmiTagMask); in JumpIfSmi() 6393 andi(scratch, value, kSmiTagMask); in JumpIfNotSmi() 6404 DCHECK_EQ(1, kSmiTagMask); in JumpIfNotBothSmi() 6406 DCHECK_EQ((int64_t)1, kSmiTagMask); in JumpIfNotBothSmi() 6419 DCHECK_EQ(1, kSmiTagMask); in JumpIfEitherSmi() 6421 DCHECK_EQ((int64_t)1, kSmiTagMask); in JumpIfEitherSmi() 6431 andi(at, object, kSmiTagMask); in AssertNotNumber() 6441 andi(at, object, kSmiTagMask); in AssertNotSmi() 6450 andi(at, object, kSmiTagMask); in AssertSmi()
|
D | macro-assembler-mips64.h | 1699 And(scratch, value, Operand(kSmiTagMask)); in SmiTst() 1702 And(scratch, value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst()
|
/external/v8/src/mips/ |
D | macro-assembler-mips.h | 1550 And(scratch, value, Operand(kSmiTagMask)); in SmiTst() 1553 And(scratch, value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst()
|
/external/v8/src/full-codegen/x87/ |
D | full-codegen-x87.cc | 39 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfNotSmi() 46 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfSmi() 1793 __ and_(eax, Immediate(~kSmiTagMask)); in EmitInlineSmiBinaryOp() 2489 __ test(eax, Immediate(kSmiTagMask)); in EmitIsSmi()
|
/external/v8/src/full-codegen/ia32/ |
D | full-codegen-ia32.cc | 39 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfNotSmi() 46 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfSmi() 1801 __ and_(eax, Immediate(~kSmiTagMask)); in EmitInlineSmiBinaryOp() 2497 __ test(eax, Immediate(kSmiTagMask)); in EmitIsSmi()
|
/external/v8/src/s390/ |
D | macro-assembler-s390.h | 1586 STATIC_ASSERT((kSmiTagMask | kSmiSignMask) == in TestIfPositiveSmi() 1588 mov(scratch, Operand(kIntptrSignBit | kSmiTagMask)); in TestIfPositiveSmi()
|