Home
last modified time | relevance | path

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

12

/external/chromium_org/v8/src/compiler/
Dchange-lowering.cc164 STATIC_ASSERT(kSmiTagMask == 1); in ChangeTaggedToUI32()
167 jsgraph()->Int32Constant(kSmiTagMask)); in ChangeTaggedToUI32()
190 STATIC_ASSERT(kSmiTagMask == 1); in ChangeTaggedToFloat64()
193 jsgraph()->Int32Constant(kSmiTagMask)); in ChangeTaggedToFloat64()
213 STATIC_ASSERT(kSmiTagMask == 1); in ChangeUint32ToTagged()
Dchange-lowering-unittest.cc246 IsBranch(IsWord32And(val, IsInt32Constant(kSmiTagMask)), in TARGET_TEST_F()
273 IsBranch(IsWord32And(val, IsInt32Constant(kSmiTagMask)), in TARGET_TEST_F()
299 IsBranch(IsWord32And(val, IsInt32Constant(kSmiTagMask)), in TARGET_TEST_F()
383 IsBranch(IsWord64And(val, IsInt32Constant(kSmiTagMask)), in TARGET_TEST_F()
411 IsBranch(IsWord64And(val, IsInt32Constant(kSmiTagMask)), in TARGET_TEST_F()
438 IsBranch(IsWord64And(val, IsInt32Constant(kSmiTagMask)), in TARGET_TEST_F()
Dsimplified-lowering.cc790 STATIC_ASSERT(kSmiTagMask == 1); // Only works if tag is the low bit. in IsTagged()
792 jsgraph()->Int32Constant(kSmiTagMask)); in IsTagged()
/external/chromium_org/v8/tools/
Dgdb-v8-support.py31 kSmiTagMask = (1 << kSmiTagSize) - 1 variable
64 return v & kSmiTagMask == kSmiTag
/external/chromium_org/v8/test/cctest/
Dtest-macro-assembler-x64.cc60 using i::kSmiTagMask;
481 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
492 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
503 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
514 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
527 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
544 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
555 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
596 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST()
601 __ xorq(rdx, Immediate(kSmiTagMask)); in TEST()
[all …]
/external/chromium_org/v8/src/x87/
Dmacro-assembler-x87.h467 test(value, Immediate(kSmiTagMask));
474 test(value, Immediate(kSmiTagMask));
481 test(value, Immediate(kSmiTagMask));
Dcode-stubs-x87.cc354 __ test(key, Immediate(kSmiTagMask | kSmiSignMask)); in Generate()
827 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
1338 __ mov(ecx, Immediate(kSmiTagMask)); in GenerateGeneric()
1345 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric()
1479 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric()
1481 __ test(ecx, Immediate(kSmiTagMask)); in GenerateGeneric()
2536 Immediate(kSmiTagMask | in GenerateFast()
3007 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
4095 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
4173 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
Dfull-codegen-x87.cc41 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfNotSmi()
48 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfSmi()
2300 __ and_(eax, Immediate(~kSmiTagMask)); in EmitInlineSmiBinaryOp()
2893 __ test(eax, Immediate(kSmiTagMask)); in EmitIsSmi()
2914 __ test(eax, Immediate(kSmiTagMask | 0x80000000)); in EmitIsNonNegativeSmi()
3446 __ test(value, Immediate(kSmiTagMask)); in EmitOneByteSeqStringSetChar()
3448 __ test(index, Immediate(kSmiTagMask)); in EmitOneByteSeqStringSetChar()
3481 __ test(value, Immediate(kSmiTagMask)); in EmitTwoByteSeqStringSetChar()
3483 __ test(index, Immediate(kSmiTagMask)); in EmitTwoByteSeqStringSetChar()
Dmacro-assembler-x87.cc307 test(value, Immediate(kSmiTagMask)); in RecordWriteArray()
791 test(object, Immediate(kSmiTagMask)); in AssertSmi()
799 test(object, Immediate(kSmiTagMask)); in AssertString()
812 test(object, Immediate(kSmiTagMask)); in AssertName()
839 test(object, Immediate(kSmiTagMask)); in AssertNotSmi()
Dlithium-codegen-x87.cc2047 __ test(object, Immediate(kSmiTagMask)); in DoDateField()
2422 __ test(reg, Immediate(kSmiTagMask)); in DoBranch()
2710 __ test(input, Immediate(kSmiTagMask)); in DoIsSmiAndBranch()
3440 __ test(result, Immediate(kSmiTagMask)); in DoLoadKeyedFixedArray()
3590 __ test(receiver, Immediate(kSmiTagMask)); in DoWrapReceiver()
5116 __ test(result, Immediate(kSmiTagMask)); in DoSmiUntag()
5399 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckSmi()
5407 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckNonSmi()
5481 __ test(eax, Immediate(kSmiTagMask)); in DoDeferredInstanceMigration()
6158 __ test(eax, Immediate(kSmiTagMask)); in DoForInPrepareMap()
Dbuiltins-x87.cc1072 __ test(ebx, Immediate(kSmiTagMask)); in Generate_InternalArrayCode()
1101 __ test(ebx, Immediate(kSmiTagMask)); in Generate_ArrayCode()
/external/chromium_org/v8/src/ia32/
Dmacro-assembler-ia32.h495 test(value, Immediate(kSmiTagMask));
502 test(value, Immediate(kSmiTagMask));
509 test(value, Immediate(kSmiTagMask));
Dcode-stubs-ia32.cc674 __ test(key, Immediate(kSmiTagMask | kSmiSignMask)); in Generate()
1147 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
1664 __ mov(ecx, Immediate(kSmiTagMask)); in GenerateGeneric()
1671 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric()
1793 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric()
1795 __ test(ecx, Immediate(kSmiTagMask)); in GenerateGeneric()
2845 Immediate(kSmiTagMask | in GenerateFast()
3316 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
4434 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
4512 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
Dfull-codegen-ia32.cc41 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfNotSmi()
48 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfSmi()
2310 __ and_(eax, Immediate(~kSmiTagMask)); in EmitInlineSmiBinaryOp()
2903 __ test(eax, Immediate(kSmiTagMask)); in EmitIsSmi()
2924 __ test(eax, Immediate(kSmiTagMask | 0x80000000)); in EmitIsNonNegativeSmi()
3456 __ test(value, Immediate(kSmiTagMask)); in EmitOneByteSeqStringSetChar()
3458 __ test(index, Immediate(kSmiTagMask)); in EmitOneByteSeqStringSetChar()
3491 __ test(value, Immediate(kSmiTagMask)); in EmitTwoByteSeqStringSetChar()
3493 __ test(index, Immediate(kSmiTagMask)); in EmitTwoByteSeqStringSetChar()
Dlithium-codegen-ia32.cc1779 __ test(object, Immediate(kSmiTagMask)); in DoDateField()
2135 __ test(reg, Immediate(kSmiTagMask)); in DoBranch()
2414 __ test(input, Immediate(kSmiTagMask)); in DoIsSmiAndBranch()
3153 __ test(result, Immediate(kSmiTagMask)); in DoLoadKeyedFixedArray()
3303 __ test(receiver, Immediate(kSmiTagMask)); in DoWrapReceiver()
4648 __ test(result, Immediate(kSmiTagMask)); in DoSmiUntag()
4891 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckSmi()
4899 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckNonSmi()
4973 __ test(eax, Immediate(kSmiTagMask)); in DoDeferredInstanceMigration()
5562 __ test(eax, Immediate(kSmiTagMask)); in DoForInPrepareMap()
Dmacro-assembler-ia32.cc376 test(value, Immediate(kSmiTagMask)); in RecordWriteArray()
822 test(object, Immediate(kSmiTagMask)); in AssertSmi()
830 test(object, Immediate(kSmiTagMask)); in AssertString()
843 test(object, Immediate(kSmiTagMask)); in AssertName()
870 test(object, Immediate(kSmiTagMask)); in AssertNotSmi()
Dbuiltins-ia32.cc1072 __ test(ebx, Immediate(kSmiTagMask)); in Generate_InternalArrayCode()
1101 __ test(ebx, Immediate(kSmiTagMask)); in Generate_ArrayCode()
/external/chromium_org/v8/src/arm/
Dmacro-assembler-arm.h1257 tst(value, Operand(kSmiTagMask)); in SmiTst()
1260 tst(value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst()
1264 tst(value, Operand(kSmiTagMask)); in JumpIfSmi()
1269 tst(value, Operand(kSmiTagMask)); in JumpIfNotSmi()
Dmacro-assembler-arm.cc2981 tst(reg1, Operand(kSmiTagMask)); in JumpIfNotBothSmi()
2982 tst(reg2, Operand(kSmiTagMask), eq); in JumpIfNotBothSmi()
3007 tst(reg1, Operand(kSmiTagMask)); in JumpIfEitherSmi()
3008 tst(reg2, Operand(kSmiTagMask), ne); in JumpIfEitherSmi()
3016 tst(object, Operand(kSmiTagMask)); in AssertNotSmi()
3025 tst(object, Operand(kSmiTagMask)); in AssertSmi()
3034 tst(object, Operand(kSmiTagMask)); in AssertString()
3048 tst(object, Operand(kSmiTagMask)); in AssertName()
/external/chromium_org/v8/src/x64/
Dmacro-assembler-x64.cc1373 testb(src, Immediate(kSmiTagMask)); in CheckSmi()
1380 testb(src, Immediate(kSmiTagMask)); in CheckSmi()
1407 testb(kScratchRegister, Immediate(kSmiTagMask)); in CheckBothSmi()
1440 testb(scratch, Immediate(kSmiTagMask)); in CheckEitherSmi()
1481 andl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator()
1483 movl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator()
1491 movl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator()
1495 andl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator()
2371 movl(kScratchRegister, Immediate(kSmiTagMask)); in SelectNonSmi()
2378 DCHECK_EQ(1, static_cast<int>(kSmiTagMask)); in SelectNonSmi()
[all …]
/external/chromium_org/v8/src/
Dglobals.h572 ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag)
/external/chromium_org/v8/src/mips64/
Dmacro-assembler-mips64.cc5083 andi(scratch, value, kSmiTagMask); in JumpIfSmi()
5092 andi(scratch, value, kSmiTagMask); in JumpIfNotSmi()
5103 DCHECK_EQ(1, kSmiTagMask); in JumpIfNotBothSmi()
5105 DCHECK_EQ((uint64_t)1, kSmiTagMask); in JumpIfNotBothSmi()
5118 DCHECK_EQ(1, kSmiTagMask); in JumpIfEitherSmi()
5120 DCHECK_EQ((uint64_t)1, kSmiTagMask); in JumpIfEitherSmi()
5131 andi(at, object, kSmiTagMask); in AssertNotSmi()
5140 andi(at, object, kSmiTagMask); in AssertSmi()
/external/chromium_org/v8/src/arm64/
Dcodegen-arm64.cc227 __ Tst(x13, kSmiTagMask); in GenerateSmiToDouble()
Dbuiltins-arm64.cc93 __ Tst(x10, kSmiTagMask); in Generate_InternalArrayCode()
121 __ Tst(x10, kSmiTagMask); in Generate_ArrayCode()
/external/chromium_org/v8/src/mips/
Dmacro-assembler-mips.h1403 And(scratch, value, Operand(kSmiTagMask)); in SmiTst()
1406 And(scratch, value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst()

12