Home
last modified time | relevance | path

Searched refs:HeapNumber (Results 1 – 25 of 52) sorted by relevance

123

/external/v8/src/heap/
Dfactory-inl.h122 Handle<HeapNumber> Factory::NewHeapNumber(double value, in NewHeapNumber()
124 Handle<HeapNumber> heap_number = NewHeapNumber(pretenure); in NewHeapNumber()
136 Handle<HeapNumber> Factory::NewHeapNumberFromBits(uint64_t bits, in NewHeapNumberFromBits()
138 Handle<HeapNumber> heap_number = NewHeapNumber(pretenure); in NewHeapNumberFromBits()
Dfactory.h544 inline Handle<HeapNumber> NewHeapNumber(
546 inline Handle<HeapNumber> NewHeapNumberFromBits(
550 Handle<HeapNumber> NewHeapNumber(PretenureFlag pretenure = NOT_TENURED);
/external/v8/src/
Droots.h195 V(HeapNumber, nan_value, NanValue) \
196 V(HeapNumber, hole_nan_value, HoleNanValue) \
197 V(HeapNumber, infinity_value, InfinityValue) \
198 V(HeapNumber, minus_zero_value, MinusZeroValue) \
199 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \
Dvalue-serializer.h24 class HeapNumber; variable
119 void WriteHeapNumber(HeapNumber* number);
Dconversions-inl.h212 double value = HeapNumber::cast(number)->value(); in TryNumberToSize()
Djson-stringifier.cc71 V8_INLINE Result SerializeHeapNumber(Handle<HeapNumber> object) { in SerializeHeapNumber()
420 return SerializeHeapNumber(Handle<HeapNumber>::cast(object)); in Serialize_()
483 SerializeHeapNumber(Handle<HeapNumber>::cast(value)); in SerializeJSValue()
Dcode-stub-assembler.h337 TNode<HeapNumber> UnsafeCastNumberToHeapNumber(TNode<Number> p_n) { in UnsafeCastNumberToHeapNumber()
354 TNode<HeapNumber> UnsafeCastObjectToHeapNumber(TNode<Object> p_o) { in UnsafeCastObjectToHeapNumber()
836 TNode<Float64T> LoadHeapNumberValue(SloppyTNode<HeapNumber> object);
1143 void StoreHeapNumberValue(SloppyTNode<HeapNumber> object,
1251 TNode<HeapNumber> AllocateHeapNumber();
1253 TNode<HeapNumber> AllocateHeapNumberWithValue(SloppyTNode<Float64T> value);
1254 TNode<HeapNumber> AllocateHeapNumberWithValue(double value) { in AllocateHeapNumberWithValue()
1657 void TryHeapNumberToSmi(TNode<HeapNumber> number, TVariable<Smi>& output,
1847 TNode<BoolT> IsHeapNumberPositive(TNode<HeapNumber> number);
1854 TNode<BoolT> IsInteger(TNode<HeapNumber> number);
[all …]
Dcode-stub-assembler.cc762 TNode<HeapNumber> const index_hn = CAST(index_int); in ConvertToRelativeIndex()
1366 Node* value_value = LoadObjectField(value, HeapNumber::kValueOffset, in BranchIfToBooleanIsTrue()
1495 SloppyTNode<HeapNumber> object) { in LoadHeapNumberValue()
1497 object, HeapNumber::kValueOffset, MachineType::Float64())); in LoadHeapNumberValue()
2658 void CodeStubAssembler::StoreHeapNumberValue(SloppyTNode<HeapNumber> object, in StoreHeapNumberValue()
2660 StoreObjectFieldNoWriteBarrier(object, HeapNumber::kValueOffset, value, in StoreHeapNumberValue()
3000 TNode<HeapNumber> CodeStubAssembler::AllocateHeapNumber() { in AllocateHeapNumber()
3001 Node* result = Allocate(HeapNumber::kSize, kNone); in AllocateHeapNumber()
3004 return UncheckedCast<HeapNumber>(result); in AllocateHeapNumber()
3007 TNode<HeapNumber> CodeStubAssembler::AllocateHeapNumberWithValue( in AllocateHeapNumberWithValue()
[all …]
Dobjects-inl.h459 : reinterpret_cast<const HeapNumber*>(this)->value(); in STRUCT_LIST()
463 return this->IsHeapNumber() && std::isnan(HeapNumber::cast(this)->value()); in IsNaN()
468 i::IsMinusZero(HeapNumber::cast(this)->value()); in IsMinusZero()
502 CAST_ACCESSOR(HeapNumber) in CAST_ACCESSOR()
636 double num = HeapNumber::cast(this)->value(); in ToUint32()
1477 bits = HeapNumber::cast(value)->value_as_bits(); in WriteToField()
3074 double num = HeapNumber::cast(object)->value(); in GetSimpleHash()
Dobjects.h810 V(HeapNumber) \
967 V(HeapNumber, HEAP_NUMBER_TYPE) \
1876 class HeapNumber : public HeapNumberBase {
1878 DECL_CAST(HeapNumber)
1882 DISALLOW_IMPLICIT_CONSTRUCTORS(HeapNumber)
3906 STATIC_ASSERT(kToNumberRawOffset == HeapNumber::kValueOffset);
/external/v8/src/builtins/
Dbase.tq31 type HeapNumber extends HeapObject generates 'TNode<HeapNumber>';
32 type Number = Smi|HeapNumber;
378 extern macro AllocateHeapNumberWithValue(float64): HeapNumber;
393 extern macro LoadHeapNumberValue(HeapNumber): float64;
513 macro convert<A : type>(h: HeapNumber): A;
514 convert<float64>(h: HeapNumber): float64 {
540 extern macro UnsafeCastNumberToHeapNumber(Number): HeapNumber;
544 extern macro UnsafeCastObjectToHeapNumber(Object): HeapNumber;
557 unsafe_cast<HeapNumber>(n: Number): HeapNumber {
567 unsafe_cast<HeapNumber>(o: Object): HeapNumber {
[all …]
Dbuiltins-typed-array.cc34 double fp = HeapNumber::cast(*num)->value(); in CapRelativeIndex()
/external/v8/src/asmjs/
Dasm-js.cc280 Handle<HeapNumber> uses_bitset = in FinalizeJobImpl()
363 Handle<HeapNumber> uses_bitset( in InstantiateAsmWasm()
364 HeapNumber::cast(wasm_data->get(kWasmDataUsesBitSet)), isolate); in InstantiateAsmWasm()
/external/v8/src/builtins/arm64/
Dbuiltins-arm64.cc2963 __ Ubfx(exponent, result, HeapNumber::kMantissaBits, in Generate_DoubleToI()
2964 HeapNumber::kExponentBits); in Generate_DoubleToI()
2968 __ Cmp(exponent, HeapNumber::kExponentBias + HeapNumber::kMantissaBits + 32); in Generate_DoubleToI()
2977 __ Cmp(exponent, HeapNumber::kExponentBias + 63); in Generate_DoubleToI()
2984 __ Ubfx(mantissa, result, 0, HeapNumber::kMantissaBits); in Generate_DoubleToI()
2985 __ Orr(mantissa, mantissa, 1UL << HeapNumber::kMantissaBits); in Generate_DoubleToI()
2994 HeapNumber::kExponentBias + HeapNumber::kMantissaBits); in Generate_DoubleToI()
/external/v8/src/builtins/mips/
Dbuiltins-mips.cc2528 __ Ext(result_reg, input_high, HeapNumber::kExponentShift, in Generate_DoubleToI()
2529 HeapNumber::kExponentBits); in Generate_DoubleToI()
2532 __ Subu(scratch, result_reg, HeapNumber::kExponentMask); in Generate_DoubleToI()
2538 Operand(HeapNumber::kExponentBias + HeapNumber::kMantissaBits + 31)); in Generate_DoubleToI()
2547 const int kShiftBase = HeapNumber::kNonMantissaBitsInTopWord - 1; in Generate_DoubleToI()
2549 __ Addu(scratch, result_reg, Operand(kShiftBase + HeapNumber::kMantissaBits)); in Generate_DoubleToI()
2554 __ And(sign, input_high, Operand(HeapNumber::kSignMask)); in Generate_DoubleToI()
2566 Operand(1 << HeapNumber::kMantissaBitsInTopWord)); in Generate_DoubleToI()
/external/v8/src/builtins/mips64/
Dbuiltins-mips64.cc2546 __ Ext(result_reg, input_high, HeapNumber::kExponentShift, in Generate_DoubleToI()
2547 HeapNumber::kExponentBits); in Generate_DoubleToI()
2550 __ Subu(scratch, result_reg, HeapNumber::kExponentMask); in Generate_DoubleToI()
2556 Operand(HeapNumber::kExponentBias + HeapNumber::kMantissaBits + 31)); in Generate_DoubleToI()
2565 const int kShiftBase = HeapNumber::kNonMantissaBitsInTopWord - 1; in Generate_DoubleToI()
2567 __ Addu(scratch, result_reg, Operand(kShiftBase + HeapNumber::kMantissaBits)); in Generate_DoubleToI()
2572 __ And(sign, input_high, Operand(HeapNumber::kSignMask)); in Generate_DoubleToI()
2584 Operand(1 << HeapNumber::kMantissaBitsInTopWord)); in Generate_DoubleToI()
/external/v8/tools/torque/vim-torque/syntax/
Dtorque.vim51 syn keyword torqueType Oddball HeapNumber Number BigInt Numeric Boolean JSProxy
/external/v8/src/compiler/
Dproperty-access-builder.cc260 field_access.offset = HeapNumber::kValueOffset; in BuildLoadDataField()
Djs-heap-broker.h86 V(HeapNumber) \
/external/v8/src/builtins/ppc/
Dbuiltins-ppc.cc2575 __ ExtractBitMask(scratch, scratch_high, HeapNumber::kExponentMask); in Generate_DoubleToI()
2578 STATIC_ASSERT(HeapNumber::kExponentBias + 1 == 1024); in Generate_DoubleToI()
2579 __ subi(scratch, scratch, Operand(HeapNumber::kExponentBias + 1)); in Generate_DoubleToI()
2602 __ ExtractBitMask(result_reg, scratch_high, HeapNumber::kMantissaMask); in Generate_DoubleToI()
2604 STATIC_ASSERT(HeapNumber::kMantissaBitsInTopWord >= 16); in Generate_DoubleToI()
2606 Operand(1 << ((HeapNumber::kMantissaBitsInTopWord)-16))); in Generate_DoubleToI()
/external/v8/src/builtins/arm/
Dbuiltins-arm.cc2443 __ Ubfx(scratch, double_high, HeapNumber::kExponentShift, in Generate_DoubleToI()
2444 HeapNumber::kExponentBits); in Generate_DoubleToI()
2447 STATIC_ASSERT(HeapNumber::kExponentBias + 1 == 1024); in Generate_DoubleToI()
2448 __ sub(scratch, scratch, Operand(HeapNumber::kExponentBias + 1)); in Generate_DoubleToI()
2486 __ Ubfx(result_reg, double_high, 0, HeapNumber::kMantissaBitsInTopWord); in Generate_DoubleToI()
2489 Operand(1 << HeapNumber::kMantissaBitsInTopWord)); in Generate_DoubleToI()
/external/v8/src/objects/
Dfixed-array-inl.h646 return from(HeapNumber::cast(*value)->value()); in FromHandle()
677 double double_value = HeapNumber::cast(value)->value(); in SetValue()
/external/v8/src/builtins/s390/
Dbuiltins-s390.cc2561 __ ExtractBitMask(scratch, scratch_high, HeapNumber::kExponentMask); in Generate_DoubleToI()
2564 STATIC_ASSERT(HeapNumber::kExponentBias + 1 == 1024); in Generate_DoubleToI()
2565 __ SubP(scratch, Operand(HeapNumber::kExponentBias + 1)); in Generate_DoubleToI()
2590 __ ExtractBitMask(result_reg, scratch_high, HeapNumber::kMantissaMask); in Generate_DoubleToI()
2592 STATIC_ASSERT(HeapNumber::kMantissaBitsInTopWord >= 16); in Generate_DoubleToI()
2593 __ Load(r0, Operand(1 << ((HeapNumber::kMantissaBitsInTopWord)-16))); in Generate_DoubleToI()
/external/v8/src/builtins/x64/
Dbuiltins-x64.cc2590 __ andl(rcx, Immediate(HeapNumber::kExponentMask)); in Generate_DoubleToI()
2591 __ shrl(rcx, Immediate(HeapNumber::kExponentShift)); in Generate_DoubleToI()
2592 __ leal(result_reg, MemOperand(rcx, -HeapNumber::kExponentBias)); in Generate_DoubleToI()
2593 __ cmpl(result_reg, Immediate(HeapNumber::kMantissaBits)); in Generate_DoubleToI()
2597 int delta = HeapNumber::kExponentBias + Double::kPhysicalSignificandSize; in Generate_DoubleToI()
/external/v8/src/builtins/ia32/
Dbuiltins-ia32.cc2619 __ and_(ecx, HeapNumber::kExponentMask); in Generate_DoubleToI()
2620 __ shr(ecx, HeapNumber::kExponentShift); in Generate_DoubleToI()
2621 __ lea(result_reg, MemOperand(ecx, -HeapNumber::kExponentBias)); in Generate_DoubleToI()
2622 __ cmp(result_reg, Immediate(HeapNumber::kMantissaBits)); in Generate_DoubleToI()
2626 int delta = HeapNumber::kExponentBias + Double::kPhysicalSignificandSize; in Generate_DoubleToI()

123