/external/v8/src/objects/ |
D | bigint.h | 18 class BigInt; variable 46 friend class ::v8::internal::BigInt; // MSVC wants full namespace. 96 class V8_EXPORT_PRIVATE BigInt : public BigIntBase { 101 static Handle<BigInt> UnaryMinus(Isolate* isolate, Handle<BigInt> x); 102 static MaybeHandle<BigInt> BitwiseNot(Isolate* isolate, Handle<BigInt> x); 103 static MaybeHandle<BigInt> Exponentiate(Isolate* isolate, Handle<BigInt> base, 104 Handle<BigInt> exponent); 105 static MaybeHandle<BigInt> Multiply(Isolate* isolate, Handle<BigInt> x, 106 Handle<BigInt> y); 107 static MaybeHandle<BigInt> Divide(Isolate* isolate, Handle<BigInt> x, [all …]
|
D | bigint.cc | 43 static MaybeHandle<BigInt> MakeImmutable(MaybeHandle<MutableBigInt> maybe); 44 static Handle<BigInt> MakeImmutable(Handle<MutableBigInt> result); 49 static Handle<BigInt> NewFromInt(Isolate* isolate, int value); 50 static Handle<BigInt> NewFromDouble(Isolate* isolate, double value); 54 static Handle<BigInt> Zero(Isolate* isolate) { in Zero() 66 Handle<BigInt> x, 67 Handle<BigInt> y); 69 Handle<BigInt> x, 70 Handle<BigInt> y); 72 Handle<BigInt> x, [all …]
|
D | fixed-array-inl.h | 653 return BigInt::cast(*value)->AsInt64(lossless); in FromHandle() 660 return BigInt::cast(*value)->AsUint64(lossless); in FromHandle() 691 set(index, BigInt::cast(value)->AsInt64()); in SetValue() 698 set(index, BigInt::cast(value)->AsUint64()); in SetValue() 739 return BigInt::FromInt64(isolate, scalar); in ToHandle() 744 return BigInt::FromUint64(isolate, scalar); in ToHandle()
|
/external/v8/src/runtime/ |
D | runtime-bigint.cc | 18 CONVERT_ARG_HANDLE_CHECKED(BigInt, lhs, 1); in RUNTIME_FUNCTION() 19 CONVERT_ARG_HANDLE_CHECKED(BigInt, rhs, 2); in RUNTIME_FUNCTION() 21 BigInt::CompareToBigInt(lhs, rhs)); in RUNTIME_FUNCTION() 29 CONVERT_ARG_HANDLE_CHECKED(BigInt, lhs, 1); in RUNTIME_FUNCTION() 32 BigInt::CompareToNumber(lhs, rhs)); in RUNTIME_FUNCTION() 40 CONVERT_ARG_HANDLE_CHECKED(BigInt, lhs, 1); in RUNTIME_FUNCTION() 44 BigInt::CompareToString(isolate, lhs, rhs)); in RUNTIME_FUNCTION() 51 CONVERT_ARG_HANDLE_CHECKED(BigInt, lhs, 0); in RUNTIME_FUNCTION() 52 CONVERT_ARG_HANDLE_CHECKED(BigInt, rhs, 1); in RUNTIME_FUNCTION() 53 bool result = BigInt::EqualToBigInt(*lhs, *rhs); in RUNTIME_FUNCTION() [all …]
|
/external/v8/src/builtins/ |
D | builtins-bigint.cc | 32 RETURN_RESULT_OR_FAILURE(isolate, BigInt::FromNumber(isolate, value)); in BUILTIN() 34 RETURN_RESULT_OR_FAILURE(isolate, BigInt::FromObject(isolate, value)); in BUILTIN() 48 Handle<BigInt> bigint; in BUILTIN() 50 BigInt::FromObject(isolate, bigint_obj)); in BUILTIN() 53 BigInt::AsUintN(isolate, bits->Number(), bigint)); in BUILTIN() 66 Handle<BigInt> bigint; in BUILTIN() 68 BigInt::FromObject(isolate, bigint_obj)); in BUILTIN() 70 return *BigInt::AsIntN(isolate, bits->Number(), bigint); in BUILTIN() 75 MaybeHandle<BigInt> ThisBigIntValue(Isolate* isolate, Handle<Object> value, in ThisBigIntValue() 78 if (value->IsBigInt()) return Handle<BigInt>::cast(value); in ThisBigIntValue() [all …]
|
D | data-view.tq | 221 extern macro AllocateBigInt(intptr): BigInt; 222 extern macro StoreBigIntBitfield(BigInt, intptr): void; 223 extern macro StoreBigIntDigit(BigInt, constexpr int31, uintptr): void; 233 macro CreateEmptyBigInt(is_positive: bool, length: constexpr int31): BigInt { 234 // Allocate a BigInt with the desired length (number of digits). 235 let result: BigInt = AllocateBigInt(length); 237 // Write the desired sign and length to the BigInt bitfield. 249 // Create a BigInt on a 64-bit architecture from two 32-bit values. 251 signed: constexpr bool): BigInt { 253 // 0n is represented by a zero-length BigInt. [all …]
|
D | builtins-data-view-gen.h | 49 return IntPtrConstant(BigInt::SignBits::encode(sign) | in DataViewEncodeBigIntBits() 50 BigInt::LengthBits::encode(digits)); in DataViewEncodeBigIntBits() 53 TNode<UintPtrT> DataViewDecodeBigIntLength(TNode<BigInt> value) { in DataViewDecodeBigIntLength() 58 TNode<UintPtrT> DataViewDecodeBigIntSign(TNode<BigInt> value) { in DataViewDecodeBigIntSign()
|
D | builtins-typed-array.cc | 123 BigInt::FromObject(isolate, obj_value)); in BUILTIN()
|
/external/llvm/test/CodeGen/ARM/ |
D | jump-table-islands.ll | 3 %BigInt = type i5500 5 define %BigInt @test_moved_jumptable(i1 %tst, i32 %sw, %BigInt %l) { 29 ret %BigInt 0 36 %val = phi %BigInt [ %l, %complex ], [ -1, %simple ] 37 ret %BigInt %val
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | jump-table-islands.ll | 3 %BigInt = type i5500 5 define %BigInt @test_moved_jumptable(i1 %tst, i32 %sw, %BigInt %l) { 29 ret %BigInt 0 36 %val = phi %BigInt [ %l, %complex ], [ -1, %simple ] 37 ret %BigInt %val
|
/external/v8/src/ |
D | conversions.h | 16 class BigInt; variable 111 MaybeHandle<BigInt> StringToBigInt(Isolate* isolate, Handle<String> string); 118 V8_EXPORT_PRIVATE MaybeHandle<BigInt> BigIntLiteral(Isolate* isolate,
|
D | value-serializer.h | 23 class BigInt; variable 113 void WriteBigIntContents(BigInt* bigint); 121 void WriteBigInt(BigInt* bigint); 265 MaybeHandle<BigInt> ReadBigInt() V8_WARN_UNUSED_RESULT;
|
D | conversions.cc | 875 MaybeHandle<BigInt> GetResult() { in GetResult() 879 return MaybeHandle<BigInt>(); in GetResult() 893 BigInt); in GetResult() 896 return MaybeHandle<BigInt>(); in GetResult() 899 return BigInt::Zero(isolate()); in GetResult() 903 return MaybeHandle<BigInt>(); in GetResult() 905 return BigInt::Finalize(result_, negative()); in GetResult() 924 MaybeHandle<FreshlyAllocatedBigInt> maybe = BigInt::AllocateFor( in AllocateResult() 932 BigInt::InplaceMultiplyAdd(result_, static_cast<uintptr_t>(multiplier), in ResultMultiplyAdd() 943 MaybeHandle<BigInt> StringToBigInt(Isolate* isolate, Handle<String> string) { in StringToBigInt() [all …]
|
D | api-inl.h | 98 MAKE_TO_LOCAL(ToLocal, BigInt, BigInt);
|
D | value-serializer.cc | 267 void ValueSerializer::WriteBigIntContents(BigInt* bigint) { in WriteBigIntContents() 269 int bytelength = BigInt::DigitsByteLengthForBitfield(bitfield); in WriteBigIntContents() 367 WriteBigInt(BigInt::cast(*object)); in WriteObject() 437 void ValueSerializer::WriteBigInt(BigInt* bigint) { in WriteBigInt() 732 WriteBigIntContents(BigInt::cast(inner_value)); in WriteJSValue() 1277 MaybeHandle<BigInt> ValueDeserializer::ReadBigInt() { in ReadBigInt() 1278 if (!FLAG_harmony_bigint) return MaybeHandle<BigInt>(); in ReadBigInt() 1280 if (!ReadVarint<uint32_t>().To(&bitfield)) return MaybeHandle<BigInt>(); in ReadBigInt() 1281 int bytelength = BigInt::DigitsByteLengthForBitfield(bitfield); in ReadBigInt() 1284 return MaybeHandle<BigInt>(); in ReadBigInt() [all …]
|
D | api.h | 122 V(BigInt, BigInt) \ 212 static inline Local<BigInt> ToLocal( 213 v8::internal::Handle<v8::internal::BigInt> obj);
|
D | objects-body-descriptors-inl.h | 290 class BigInt::BodyDescriptor final : public BodyDescriptorBase { 301 return BigInt::SizeFor(BigInt::cast(obj)->length()); in SizeOf()
|
D | api.cc | 3591 MaybeLocal<BigInt> Value::ToBigInt(Local<Context> context) const { in ToBigInt() 3593 if (obj->IsBigInt()) return ToApiHandle<BigInt>(obj); in ToBigInt() 3594 PREPARE_FOR_EXECUTION(context, Object, ToBigInt, BigInt); in ToBigInt() 3595 Local<BigInt> result; in ToBigInt() 3597 !ToLocal<BigInt>(i::BigInt::FromObject(isolate, obj), &result); in ToBigInt() 3598 RETURN_ON_FAILED_EXECUTION(BigInt); in ToBigInt() 3769 void v8::BigInt::CheckCast(v8::Value* that) { in CheckCast() 6838 i::Handle<i::Object> bigint = i::BigInt::FromInt64(i_isolate, value); in New() 6844 Local<v8::BigInt> v8::BigIntObject::ValueOf() const { in ValueOf() 6850 i::Handle<i::BigInt>(i::BigInt::cast(jsvalue->value()), isolate)); in ValueOf() [all …]
|
D | code-stub-assembler.cc | 2036 TVARIABLE(BigInt, var_result); in LoadFixedBigInt64ArrayElementAsTagged() 2050 IntPtrConstant(BigInt::SignBits::encode(false) | in LoadFixedBigInt64ArrayElementAsTagged() 2051 BigInt::LengthBits::encode(1))); in LoadFixedBigInt64ArrayElementAsTagged() 2059 IntPtrConstant(BigInt::SignBits::encode(true) | in LoadFixedBigInt64ArrayElementAsTagged() 2060 BigInt::LengthBits::encode(1))); in LoadFixedBigInt64ArrayElementAsTagged() 2067 TVARIABLE(WordT, var_sign, IntPtrConstant(BigInt::SignBits::encode(false))); in LoadFixedBigInt64ArrayElementAsTagged() 2097 var_sign = IntPtrConstant(BigInt::SignBits::encode(true)); in LoadFixedBigInt64ArrayElementAsTagged() 2121 IntPtrConstant(BigInt::LengthBits::encode(1)))); in LoadFixedBigInt64ArrayElementAsTagged() 2132 IntPtrConstant(BigInt::LengthBits::encode(2)))); in LoadFixedBigInt64ArrayElementAsTagged() 2148 TVARIABLE(BigInt, var_result); in LoadFixedBigUint64ArrayElementAsTagged() [all …]
|
/external/v8/src/heap/ |
D | objects-visiting.h | 20 class BigInt; variable 31 V(BigInt) \
|
/external/v8/src/compiler/ |
D | type-cache.h | 39 Type const kBigInt64 = Type::BigInt(); 40 Type const kBigUint64 = Type::BigInt();
|
D | typer.cc | 412 if (lhs.Is(Type::BigInt()) || rhs.Is(Type::BigInt())) { in BinaryNumberOpTyper() 413 return Type::BigInt(); in BinaryNumberOpTyper() 571 if (type.Is(Type::BigInt())) return t->singleton_true_; in ObjectIsBigInt() 572 if (!type.Maybe(Type::BigInt())) return t->singleton_false_; in ObjectIsBigInt() 1496 return Type::BigInt(); in JSCallTyper()
|
/external/v8/src/interpreter/ |
D | bytecode-flags.h | 57 V(BigInt, bigint) \
|
/external/v8/tools/torque/vim-torque/syntax/ |
D | torque.vim | 51 syn keyword torqueType Oddball HeapNumber Number BigInt Numeric Boolean JSProxy
|
/external/v8/src/inspector/ |
D | v8-console-message.cc | 95 if (value->IsBigInt()) return append(v8::Local<v8::BigInt>::Cast(value)); in append() 160 bool append(v8::Local<v8::BigInt> bigint) { in append()
|