/external/v8/src/builtins/ |
D | builtins-typed-array-gen.h | 18 TNode<JSTypedArray> SpeciesCreateByLength(TNode<Context> context, 19 TNode<JSTypedArray> exemplar, 20 TNode<Smi> len, 27 void GenerateTypedArrayPrototypeIterationMethod(TNode<Context> context, 28 TNode<Object> receiver, 32 void ConstructByLength(TNode<Context> context, TNode<JSTypedArray> holder, 33 TNode<Object> length, TNode<Smi> element_size); 34 void ConstructByArrayBuffer(TNode<Context> context, 35 TNode<JSTypedArray> holder, 36 TNode<JSArrayBuffer> buffer, [all …]
|
D | builtins-regexp-gen.h | 23 TNode<Object> RegExpCreate(TNode<Context> context, 24 TNode<Context> native_context, 25 TNode<Object> regexp_string, TNode<String> flags); 27 TNode<Object> RegExpCreate(TNode<Context> context, TNode<Map> initial_map, 28 TNode<Object> regexp_string, TNode<String> flags); 30 TNode<Object> MatchAllIterator(TNode<Context> context, 31 TNode<Context> native_context, 32 TNode<Object> regexp, TNode<String> string, 33 TNode<BoolT> is_fast_regexp, 37 TNode<Smi> SmiZero(); [all …]
|
D | builtins-array-gen.h | 72 void FillFixedArrayWithSmiZero(TNode<FixedArray> array, 73 TNode<Smi> smi_length); 76 TNode<Context> context() { return context_; } in context() 77 TNode<Object> receiver() { return receiver_; } in receiver() 78 TNode<IntPtrT> argc() { return argc_; } in argc() 79 TNode<JSReceiver> o() { return o_; } in o() 80 TNode<Number> len() { return len_; } in len() 83 TNode<Number> k() { return CAST(k_.value()); } in k() 88 void InitIteratingArrayBuiltinBody(TNode<Context> context, 89 TNode<Object> receiver, Node* callbackfn, [all …]
|
D | builtins-collections-gen.cc | 18 using TNode = compiler::TNode<T>; typedef 34 void AddConstructorEntry(Variant variant, TNode<Context> context, 35 TNode<Object> collection, TNode<Object> add_function, 36 TNode<Object> key_value, 43 void AddConstructorEntries(Variant variant, TNode<Context> context, 44 TNode<Context> native_context, 45 TNode<Object> collection, 46 TNode<Object> initial_entries); 51 TNode<Context> context, 52 TNode<Context> native_context, [all …]
|
D | builtins-typed-array-gen.cc | 20 using TNode = compiler::TNode<T>; typedef 31 TNode<Map> TypedArrayBuiltinsAssembler::LoadMapForType( in LoadMapForType() 32 TNode<JSTypedArray> array) { in LoadMapForType() 34 TNode<Map> array_map = LoadMap(array); in LoadMapForType() 35 TNode<Int32T> elements_kind = LoadMapElementsKind(array_map); in LoadMapForType() 55 TNode<UintPtrT> TypedArrayBuiltinsAssembler::CalculateExternalPointer( in CalculateExternalPointer() 56 TNode<UintPtrT> backing_store, TNode<Number> byte_offset) { in CalculateExternalPointer() 66 void TypedArrayBuiltinsAssembler::SetupTypedArray(TNode<JSTypedArray> holder, in SetupTypedArray() 67 TNode<Smi> length, in SetupTypedArray() 68 TNode<Number> byte_offset, in SetupTypedArray() [all …]
|
D | builtins-wasm-gen.cc | 20 TNode<Object> UncheckedParameter(int index) { in UncheckedParameter() 24 TNode<Code> LoadBuiltinFromFrame(Builtins::Name id) { in LoadBuiltinFromFrame() 25 TNode<Object> instance = LoadInstanceFromFrame(); in LoadBuiltinFromFrame() 26 TNode<IntPtrT> roots = UncheckedCast<IntPtrT>( in LoadBuiltinFromFrame() 30 TNode<Code> target = UncheckedCast<Code>(Load( in LoadBuiltinFromFrame() 36 TNode<Object> LoadInstanceFromFrame() { in LoadInstanceFromFrame() 41 TNode<Code> LoadCEntryFromInstance(TNode<Object> instance) { in LoadCEntryFromInstance() 48 TNode<Code> LoadCEntryFromFrame() { in LoadCEntryFromFrame() 54 TNode<Code> target = LoadBuiltinFromFrame(Builtins::kAllocateHeapNumber); in TF_BUILTIN() 59 TNode<Object> context = UncheckedParameter(Descriptor::kContext); in TF_BUILTIN() [all …]
|
D | builtins-regexp-gen.cc | 25 using TNode = compiler::TNode<T>; typedef 27 TNode<Smi> RegExpBuiltinsAssembler::SmiZero() { return SmiConstant(0); } in SmiZero() 29 TNode<IntPtrT> RegExpBuiltinsAssembler::IntPtrZero() { in IntPtrZero() 36 TNode<JSRegExpResult> RegExpBuiltinsAssembler::AllocateRegExpResult( in AllocateRegExpResult() 37 TNode<Context> context, TNode<Smi> length, TNode<Smi> index, in AllocateRegExpResult() 38 TNode<String> input) { in AllocateRegExpResult() 40 TNode<Smi> max_length = SmiConstant(JSArray::kInitialMaxFastElementArray); in AllocateRegExpResult() 47 TNode<IntPtrT> length_intptr = SmiUntag(length); in AllocateRegExpResult() 50 TNode<IntPtrT> elements_size = GetFixedArrayAllocationSize( in AllocateRegExpResult() 52 TNode<IntPtrT> total_size = in AllocateRegExpResult() [all …]
|
D | builtins-data-view-gen.h | 20 TNode<Number> LoadDataViewByteOffset(TNode<JSDataView> data_view) { in LoadDataViewByteOffset() 24 TNode<Number> LoadDataViewByteLength(TNode<JSDataView> data_view) { in LoadDataViewByteLength() 28 TNode<Int32T> LoadUint8(TNode<RawPtrT> data_pointer, TNode<IntPtrT> offset) { in LoadUint8() 33 TNode<Int32T> LoadInt8(TNode<RawPtrT> data_pointer, TNode<IntPtrT> offset) { in LoadInt8() 38 void StoreWord8(TNode<RawPtrT> data_pointer, TNode<IntPtrT> offset, in StoreWord8() 39 TNode<Word32T> value) { in StoreWord8() 48 TNode<IntPtrT> DataViewEncodeBigIntBits(bool sign, int32_t digits) { in DataViewEncodeBigIntBits() 53 TNode<UintPtrT> DataViewDecodeBigIntLength(TNode<BigInt> value) { in DataViewDecodeBigIntLength() 54 TNode<WordT> bitfield = LoadBigIntBitfield(value); in DataViewDecodeBigIntLength() 58 TNode<UintPtrT> DataViewDecodeBigIntSign(TNode<BigInt> value) { in DataViewDecodeBigIntSign() [all …]
|
D | builtins-lazy-gen.cc | 17 TNode<Code> code, TNode<JSFunction> function) { in GenerateTailCallToJSCode() 18 TNode<Int32T> argc = in GenerateTailCallToJSCode() 20 TNode<Context> context = CAST(Parameter(Descriptor::kContext)); in GenerateTailCallToJSCode() 21 TNode<Object> new_target = CAST(Parameter(Descriptor::kNewTarget)); in GenerateTailCallToJSCode() 27 Runtime::FunctionId function_id, TNode<JSFunction> function) { in GenerateTailCallToReturnedCode() 28 TNode<Context> context = CAST(Parameter(Descriptor::kContext)); in GenerateTailCallToReturnedCode() 29 TNode<Code> code = CAST(CallRuntime(function_id, context, function)); in GenerateTailCallToReturnedCode() 34 TNode<Smi> marker, OptimizationMarker expected_marker, in TailCallRuntimeIfMarkerEquals() 35 Runtime::FunctionId function_id, TNode<JSFunction> function) { in TailCallRuntimeIfMarkerEquals() 43 TNode<JSFunction> function, TNode<FeedbackVector> feedback_vector) { in MaybeTailCallOptimizedCodeSlot() [all …]
|
D | growable-fixed-array-gen.cc | 12 void GrowableFixedArray::Push(TNode<Object> const value) { in Push() 13 TNode<IntPtrT> const length = var_length_.value(); in Push() 14 TNode<IntPtrT> const capacity = var_capacity_.value(); in Push() 29 TNode<FixedArray> const array = var_array_.value(); in Push() 36 TNode<JSArray> GrowableFixedArray::ToJSArray(TNode<Context> const context) { in ToJSArray() 39 TNode<Context> const native_context = LoadNativeContext(context); in ToJSArray() 40 TNode<Map> const array_map = LoadJSArrayElementsMap(kind, native_context); in ToJSArray() 46 TNode<IntPtrT> const length = var_length_.value(); in ToJSArray() 47 TNode<IntPtrT> const capacity = var_capacity_.value(); in ToJSArray() 58 TNode<Smi> const result_length = SmiTag(length()); in ToJSArray() [all …]
|
D | builtins-call-gen.cc | 65 TNode<Object> target, SloppyTNode<Object> new_target, in CallOrConstructWithArrayLike() 66 TNode<Object> arguments_list, TNode<Context> context) { in CallOrConstructWithArrayLike() 115 TNode<Map> arguments_list_map = LoadMap(CAST(arguments_list)); in CallOrConstructWithArrayLike() 116 TNode<Context> native_context = LoadNativeContext(context); in CallOrConstructWithArrayLike() 119 TNode<Map> sloppy_arguments_map = CAST( in CallOrConstructWithArrayLike() 122 TNode<Map> strict_arguments_map = CAST( in CallOrConstructWithArrayLike() 147 TNode<Int32T> kind = LoadMapElementsKind(arguments_list_map); in CallOrConstructWithArrayLike() 165 TNode<JSArgumentsObject> js_arguments = CAST(arguments_list); in CallOrConstructWithArrayLike() 167 TNode<Object> length = in CallOrConstructWithArrayLike() 169 TNode<FixedArrayBase> elements = LoadElements(js_arguments); in CallOrConstructWithArrayLike() [all …]
|
D | builtins-call-gen.h | 18 void CallOrConstructWithArrayLike(TNode<Object> target, 20 TNode<Object> arguments_list, 21 TNode<Context> context); 22 void CallOrConstructDoubleVarargs(TNode<Object> target, 24 TNode<FixedDoubleArray> elements, 25 TNode<Int32T> length, 26 TNode<Int32T> args_count, 27 TNode<Context> context, TNode<Int32T> kind); 28 void CallOrConstructWithSpread(TNode<Object> target, TNode<Object> new_target, 29 TNode<Object> spread, TNode<Int32T> args_count, [all …]
|
D | builtins-string-gen.h | 24 TNode<IntPtrT> length, Label* if_equal, 31 TNode<IntPtrT> length, Label* if_equal, 56 TNode<Smi> ToSmiBetweenZeroAnd(SloppyTNode<Context> context, 60 typedef std::function<TNode<Object>( 61 TNode<String> receiver, TNode<IntPtrT> length, TNode<IntPtrT> index)> 64 void GenerateStringAt(const char* method_name, TNode<Context> context, 65 Node* receiver, TNode<Object> maybe_position, 66 TNode<Object> default_return, 69 TNode<Int32T> LoadSurrogatePairAt(SloppyTNode<String> string, 77 TNode<Smi> IndexOfDollarChar(Node* const context, Node* const string); [all …]
|
D | builtins-internal-gen.cc | 21 using TNode = compiler::TNode<T>; typedef 79 TNode<IntPtrT> length = SmiToIntPtr(Parameter(Descriptor::kLength)); in TF_BUILTIN() 80 TNode<IntPtrT> mapped_count = in TF_BUILTIN() 104 TNode<FixedArray> result = CAST(AllocateFixedArray(kind, length)); in TF_BUILTIN() 109 TNode<IntPtrT> number_of_holes = IntPtrMin(mapped_count, length); in TF_BUILTIN() 119 TNode<IntPtrT> index = var_index.value(); in TF_BUILTIN() 134 TNode<IntPtrT> offset = IntPtrAdd(length, IntPtrConstant(1)); in TF_BUILTIN() 142 TNode<IntPtrT> index = var_index.value(); in TF_BUILTIN() 148 TNode<Object> value = in TF_BUILTIN() 180 TNode<Context> context = CAST(Parameter(Descriptor::kContext)); in TF_BUILTIN() [all …]
|
D | builtins-array-gen.cc | 206 TNode<JSTypedArray> original_array = CAST(o()); in TypedArrayMapResultGenerator() 207 TNode<Smi> length = CAST(len_); in TypedArrayMapResultGenerator() 211 TNode<JSTypedArray> a = typedarray_asm.SpeciesCreateByLength( in TypedArrayMapResultGenerator() 249 TNode<Int32T> kind = LoadElementsKind(a()); in FastMapProcessor() 384 TNode<FixedArray> array, TNode<Smi> smi_length) { in FillFixedArrayWithSmiZero() 387 TNode<IntPtrT> length = SmiToIntPtr(smi_length); in FillFixedArrayWithSmiZero() 388 TNode<WordT> byte_length = TimesPointerSize(length); in FillFixedArrayWithSmiZero() 393 TNode<IntPtrT> backing_store = IntPtrAdd( in FillFixedArrayWithSmiZero() 397 TNode<ExternalReference> memset = in FillFixedArrayWithSmiZero() 416 TNode<Context> context, TNode<Object> receiver, Node* callbackfn, in InitIteratingArrayBuiltinBody() [all …]
|
D | builtins-object-gen.cc | 23 using TNode = CodeStubAssembler::TNode<T>; typedef 32 void AddToDictionaryIf(TNode<BoolT> condition, 33 TNode<NameDictionary> name_dictionary, 34 Handle<Name> name, TNode<Object> value, 47 TNode<Word32T> IsStringWrapperElementsKind(TNode<Map> map); 50 TNode<Uint32T> EnsureOnlyHasSimpleProperties(TNode<Map> map, 51 TNode<Int32T> instance_type, 54 void ObjectAssignFast(TNode<Context> context, TNode<JSReceiver> to, 55 TNode<Object> from, Label* slow); 67 TNode<BoolT> IsPropertyEnumerable(TNode<Uint32T> details); [all …]
|
D | builtins-string-gen.cc | 19 using TNode = compiler::TNode<T>; typedef 133 TNode<IntPtrT> lhs_length = LoadStringLengthAsWord(left); in GenerateStringEqual() 134 TNode<IntPtrT> rhs_length = LoadStringLengthAsWord(right); in GenerateStringEqual() 168 Node* rhs_instance_type, TNode<IntPtrT> length, Label* if_equal, in StringEqual_Core() 247 Node* rhs_instance_type, MachineType rhs_type, TNode<IntPtrT> length, in StringEqual_Loop() 351 TNode<String> string = CAST(Parameter(Descriptor::kString)); in TF_BUILTIN() 352 TNode<Smi> from = CAST(Parameter(Descriptor::kFrom)); in TF_BUILTIN() 353 TNode<Smi> to = CAST(Parameter(Descriptor::kTo)); in TF_BUILTIN() 358 TNode<Context> context, in GenerateStringAt() 360 TNode<Object> maybe_position, in GenerateStringAt() [all …]
|
D | growable-fixed-array-gen.h | 14 using TNode = compiler::TNode<T>; variable 29 TNode<IntPtrT> length() const { return var_length_.value(); } in length() 35 void Push(TNode<Object> const value); 37 TNode<JSArray> ToJSArray(TNode<Context> const context); 40 TNode<IntPtrT> NewCapacity(TNode<IntPtrT> current_capacity); 44 TNode<FixedArray> ResizeFixedArray(TNode<IntPtrT> const element_count, 45 TNode<IntPtrT> const new_capacity);
|
D | builtins-intl-gen.cc | 21 using TNode = compiler::TNode<T>; typedef 28 void ListFormatCommon(TNode<Context> context, TNode<Int32T> argc, 32 TNode<JSArray> AllocateEmptyJSArray(TNode<Context> context); 44 TNode<Smi> const length = LoadStringLengthAsSmi(string); in TF_BUILTIN() 71 TNode<IntPtrT> const end_address = in TF_BUILTIN() 146 void IntlBuiltinsAssembler::ListFormatCommon(TNode<Context> context, in ListFormatCommon() 147 TNode<Int32T> argc, in ListFormatCommon() 155 TNode<Object> receiver = args.GetReceiver(); in ListFormatCommon() 161 TNode<JSListFormat> list_format = CAST(receiver); in ListFormatCommon() 164 TNode<Object> list = args.GetOptionalArgumentValue(0); in ListFormatCommon() [all …]
|
D | builtins-lazy-gen.h | 20 void GenerateTailCallToJSCode(TNode<Code> code, TNode<JSFunction> function); 23 TNode<JSFunction> function); 24 void TailCallRuntimeIfMarkerEquals(TNode<Smi> marker, 27 TNode<JSFunction> function); 29 void MaybeTailCallOptimizedCodeSlot(TNode<JSFunction> function, 30 TNode<FeedbackVector> feedback_vector); 31 void CompileLazy(TNode<JSFunction> function);
|
/external/v8/src/ |
D | code-stub-assembler.h | 99 compiler::TNode<JSReceiver> object; 102 compiler::TNode<Object> next; 231 using TNode = compiler::TNode<T>; variable 236 using LazyNode = std::function<TNode<T>()>; 272 TNode<IntPtrT> ParameterToIntPtr(Node* value, ParameterMode mode) { in ParameterToIntPtr() 286 TNode<Smi> ParameterToTagged(Node* value, ParameterMode mode) { in ParameterToTagged() 296 TNode<Smi> TaggedToSmi(TNode<Object> value, Label* fail) { in TaggedToSmi() 301 TNode<Number> TaggedToNumber(TNode<Object> value, Label* fail) { in TaggedToNumber() 306 TNode<HeapObject> TaggedToHeapObject(TNode<Object> value, Label* fail) { in TaggedToHeapObject() 311 TNode<JSArray> HeapObjectToJSArray(TNode<HeapObject> heap_object, in HeapObjectToJSArray() [all …]
|
D | code-stub-assembler.cc | 20 using TNode = compiler::TNode<T>; typedef 163 void CodeStubAssembler::FastCheck(TNode<BoolT> condition) { in FastCheck() 171 Node* CodeStubAssembler::SelectImpl(TNode<BoolT> condition, in SelectImpl() 194 TNode<Int32T> CodeStubAssembler::SelectInt32Constant( in SelectInt32Constant() 200 TNode<IntPtrT> CodeStubAssembler::SelectIntPtrConstant( in SelectIntPtrConstant() 206 TNode<Oddball> CodeStubAssembler::SelectBooleanConstant( in SelectBooleanConstant() 211 TNode<Smi> CodeStubAssembler::SelectSmiConstant(SloppyTNode<BoolT> condition, in SelectSmiConstant() 218 TNode<Object> CodeStubAssembler::NoContextConstant() { in NoContextConstant() 223 compiler::TNode<std::remove_reference<decltype( \ 234 compiler::TNode<std::remove_reference<decltype( \ [all …]
|
/external/v8/src/compiler/ |
D | code-assembler.h | 386 class TNode { 392 TNode(const TNode<U>& other) : node_(other) {} 393 TNode() : node_(nullptr) {} 395 TNode operator=(TNode other) { 403 static TNode UncheckedCast(compiler::Node* node) { return TNode(node); } 406 explicit TNode(compiler::Node* node) : node_(node) {} 417 class SloppyTNode : public TNode<T> { 420 : TNode<T>(node) {} 423 SloppyTNode(const TNode<U>& other) // NOLINT(runtime/explicit) 424 : TNode<T>(other) {} [all …]
|
/external/v8/src/ic/ |
D | keyed-store-generic.h | 17 using TNode = compiler::TNode<T>; 23 TNode<Context> context, TNode<JSReceiver> receiver, 24 TNode<BoolT> is_simple_receiver, TNode<Name> name, 25 TNode<Object> value, LanguageMode language_mode); 30 TNode<Context> context, TNode<Object> receiver, 31 TNode<Object> key, TNode<Object> value,
|
D | keyed-store-generic.cc | 21 using TNode = compiler::TNode<T>; typedef 34 void SetProperty(TNode<Context> context, TNode<JSReceiver> receiver, 35 TNode<BoolT> is_simple_receiver, TNode<Name> unique_name, 36 TNode<Object> value, LanguageMode language_mode); 42 void SetProperty(TNode<Context> context, TNode<Object> receiver, 43 TNode<Object> key, TNode<Object> value, 56 void KeyedStoreGeneric(TNode<Context> context, TNode<Object> receiver, 57 TNode<Object> key, TNode<Object> value, 58 Maybe<LanguageMode> language_mode, TNode<Smi> slot, 59 TNode<FeedbackVector> vector); [all …]
|