/external/v8/src/compiler/ |
D | code-assembler.h | 265 V(Int32AddWithOverflow, PAIR_TYPE(Int32T, BoolT), Int32T, Int32T) \ 267 V(Int32SubWithOverflow, PAIR_TYPE(Int32T, BoolT), Int32T, Int32T) \ 269 V(Int32MulWithOverflow, PAIR_TYPE(Int32T, BoolT), Int32T, Int32T) \ 270 V(Int32Div, Int32T, Int32T, Int32T) \ 271 V(Int32Mod, Int32T, Int32T, Int32T) \ 330 V(TruncateInt64ToInt32, Int32T, Int64T) \ 334 V(ChangeInt32ToFloat64, Float64T, Int32T) \ 335 V(ChangeInt32ToInt64, Int64T, Int32T) \ 340 V(RoundFloat64ToInt32, Int32T, Float64T) \ 341 V(RoundInt32ToFloat32, Float32T, Int32T) \ [all …]
|
/external/v8/src/builtins/ |
D | builtins-string-gen.h | 33 TNode<Int32T> LoadSurrogatePairAt(TNode<String> string, TNode<IntPtrT> length, 37 TNode<String> StringFromSingleUTF16EncodedCodePoint(TNode<Int32T> codepoint); 122 TNode<Int32T> instance_type, 128 TNode<Int32T> instance_type); 132 TNode<Int32T> instance_type, Label* did_deref, 137 TNode<Int32T> left_instance_type, 139 TNode<Int32T> right_instance_type, 142 TNode<Int32T> instance_type, 170 TNode<Int32T> from_instance_type,
|
D | builtins-call-gen.cc | 70 auto argc = UncheckedParameter<Int32T>(Descriptor::kActualArgumentsCount); in TF_BUILTIN() 74 auto slot = UncheckedParameter<Int32T>(Descriptor::kSlot); in TF_BUILTIN() 84 auto argc = UncheckedParameter<Int32T>(Descriptor::kActualArgumentsCount); in TF_BUILTIN() 88 auto slot = UncheckedParameter<Int32T>(Descriptor::kSlot); in TF_BUILTIN() 97 auto argc = UncheckedParameter<Int32T>(Descriptor::kActualArgumentsCount); in TF_BUILTIN() 101 auto slot = UncheckedParameter<Int32T>(Descriptor::kSlot); in TF_BUILTIN() 173 TVARIABLE(Int32T, var_length); in CallOrConstructWithArrayLike() 176 TNode<Int32T> kind = LoadMapElementsKind(arguments_list_map); in CallOrConstructWithArrayLike() 236 TNode<Int32T> args_count = Int32Constant(0); // args already on the stack in CallOrConstructWithArrayLike() 238 TNode<Int32T> length = var_length.value(); in CallOrConstructWithArrayLike() [all …]
|
D | builtins-call-gen.h | 25 TNode<Int32T> length, 26 TNode<Int32T> args_count, 27 TNode<Context> context, TNode<Int32T> kind); 30 TNode<Object> spread, TNode<Int32T> args_count,
|
D | builtins-array-gen.h | 73 TNode<Int32T> argc); 76 TNode<Context> context, TNode<JSFunction> target, TNode<Int32T> argc, 81 TNode<Context> context, TNode<JSFunction> target, TNode<Int32T> argc, 86 TNode<Context> context, TNode<JSFunction> target, TNode<Int32T> argc, 101 TNode<Object> new_target, TNode<Int32T> argc,
|
D | builtins-intl-gen.cc | 25 void ListFormatCommon(TNode<Context> context, TNode<Int32T> argc, 57 const TNode<Int32T> instance_type = to_direct.instance_type(); in TF_BUILTIN() 149 TNode<Int32T> argc, in ListFormatCommon() 187 UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount), in TF_BUILTIN() 194 UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount), in TF_BUILTIN()
|
D | builtins-string-gen.cc | 67 const TNode<Int32T> encoding_mask = Int32Constant(kStringEncodingMask); in DispatchOnStringEncodings() 289 TNode<Int32T> codepoint) { in StringFromSingleUTF16EncodedCodePoint() 323 TNode<Int32T> left_instance_type = LoadInstanceType(left); in AllocateConsString() 324 TNode<Int32T> right_instance_type = LoadInstanceType(right); in AllocateConsString() 330 TNode<Int32T> combined_instance_type = in AllocateConsString() 391 TNode<Int32T> left_instance_type = LoadInstanceType(var_left.value()); in StringAdd() 392 TNode<Int32T> right_instance_type = LoadInstanceType(var_right.value()); in StringAdd() 395 TNode<Int32T> ored_instance_types = in StringAdd() 462 TNode<String> string, TNode<Int32T> instance_type, Label* can_deref, in BranchIfCanDerefIndirectString() 464 TNode<Int32T> representation = in BranchIfCanDerefIndirectString() [all …]
|
D | builtins-internal-gen.cc | 84 UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount); in TF_BUILTIN() 139 TNode<Int32T> mask32 = TruncateIntPtrToInt32(mask); in IsWhite() 142 return Word32Equal(Word32And(Load<Int32T>(cell), mask32), Int32Constant(0)); in IsWhite() 239 CallCFunction2WithCallerSavedRegistersMode<Int32T, IntPtrT, IntPtrT>( in InsertIntoRememberedSetAndGotoSlow() 295 ChangeInt32ToIntPtr(Load<Int32T>(cell_address)); in SetBitInCell() 398 CallCFunction2WithCallerSavedRegistersMode<Int32T, IntPtrT, IntPtrT>( in TF_BUILTIN() 419 CallCFunction3WithCallerSavedRegistersMode<Int32T, IntPtrT, IntPtrT, in TF_BUILTIN() 743 UncheckedParameter<Int32T>(Descriptor::kActualArgumentsCount); in TF_BUILTIN() 745 TVARIABLE(Int32T, pushed_argc, actual_argc); in TF_BUILTIN() 750 TNode<Int32T> formal_count = in TF_BUILTIN() [all …]
|
D | builtins-bigint-gen.h | 66 TNode<Int32T> CppAbsoluteCompare(TNode<BigInt> x, TNode<BigInt> y) { in CppAbsoluteCompare() 70 TNode<Int32T> result = UncheckedCast<Int32T>( in CppAbsoluteCompare()
|
D | builtins-generator-gen.cc | 140 auto argc = UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount); in TF_BUILTIN() 161 auto argc = UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount); in TF_BUILTIN() 177 auto argc = UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount); in TF_BUILTIN() 193 auto argc = UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount); in TF_BUILTIN()
|
D | builtins-typed-array-gen.cc | 94 UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount)); in TF_BUILTIN() 173 TNode<Int32T> kind) { in IsUint8ElementsKind() 179 TNode<Int32T> kind) { in IsBigInt64ElementsKind() 185 TNode<Int32T> elements_kind) { in GetTypedArrayElementSize() 205 TNode<Int32T> elements_kind = LoadMapElementsKind(map); in GetTypedArrayElementsInfo() 224 TNode<Int32T> elements_kind = LoadElementsKind(exemplar); in GetDefaultConstructor() 372 TNode<Int32T> compressed_base = TruncateIntPtrToInt32(full_base); in SetJSTypedArrayOnHeapDataPtr() 482 TNode<Int32T> elements_kind = in TF_BUILTIN()
|
D | builtins-typed-array-gen.h | 33 TNode<BoolT> IsUint8ElementsKind(TNode<Int32T> kind); 36 TNode<BoolT> IsBigInt64ElementsKind(TNode<Int32T> kind); 39 TNode<IntPtrT> GetTypedArrayElementSize(TNode<Int32T> elements_kind);
|
D | builtins-handler-gen.cc | 30 void DispatchByElementsKind(TNode<Int32T> elements_kind, 38 TNode<Int32T> from_kind, TNode<Int32T> to_kind, 83 TNode<Int32T> from_kind, TNode<Int32T> to_kind, in DispatchForElementsKindTransition() 107 TNode<Int32T> combined_elements_kind = in DispatchForElementsKindTransition() 210 TNode<Int32T> elements_kind, const ElementsKindSwitchCase& case_function, in DispatchByElementsKind()
|
D | builtins-lazy-gen.cc | 18 auto argc = UncheckedParameter<Int32T>(Descriptor::kActualArgumentsCount); in GenerateTailCallToJSCode() 87 TNode<Int32T> code_kind_specific_flags = LoadObjectField<Int32T>( in MaybeTailCallOptimizedCodeSlot()
|
D | builtins-array-gen.cc | 173 TNode<Int32T> elements_kind = LoadMapElementsKind(typed_array_map); in GenerateIteratingTypedArrayBuiltinBody() 224 auto argc = UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount); in TF_BUILTIN() 273 TNode<Int32T> elements_kind = LoadElementsKind(array_receiver); in TF_BUILTIN() 324 auto argc = UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount); in TF_BUILTIN() 331 TNode<Int32T> kind; in TF_BUILTIN() 365 TNode<Int32T> kind = LoadElementsKind(array_receiver); in TF_BUILTIN() 409 TNode<Int32T> kind = LoadElementsKind(array_receiver); in TF_BUILTIN() 545 UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount)); in TF_BUILTIN() 660 TNode<Int32T> elements_kind = LoadElementsKind(array); in Generate() 1070 UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount)); in TF_BUILTIN() [all …]
|
D | builtins-regexp-gen.cc | 55 TNode<Int32T> builtin_index = in LoadCodeObjectEntry() 56 LoadObjectField<Int32T>(code, Code::kBuiltinIndexOffset); in LoadCodeObjectEntry() 408 TNode<Int32T> tag = LoadAndUntagToWord32FixedArrayElement( in RegExpExecInternal() 520 TNode<Int32T> arg1 = TruncateIntPtrToInt32(int_last_index); in RegExpExecInternal() 548 TNode<Int32T> arg5 = SmiToInt32(register_count); in RegExpExecInternal() 560 TNode<Int32T> arg7 = Int32Constant(RegExp::CallOrigin::kFromJs); in RegExpExecInternal() 577 TNode<Int32T> result = in RegExpExecInternal() 578 UncheckedCast<Int32T>(CallCFunctionWithoutFunctionDescriptor( in RegExpExecInternal() 646 TNode<Int32T> value = UncheckedCast<Int32T>(Load( in RegExpExecInternal() 1006 const TNode<Int32T> value = Int32Constant(CHAR); \ in FlagsGetter() [all …]
|
D | builtins-constructor-gen.cc | 42 auto argc = UncheckedParameter<Int32T>(Descriptor::kActualArgumentsCount); in TF_BUILTIN() 46 auto slot = UncheckedParameter<Int32T>(Descriptor::kSlot); in TF_BUILTIN() 79 auto slot = UncheckedParameter<Int32T>(Descriptor::kSlot); in TF_BUILTIN() 100 UncheckedParameter<Int32T>(Descriptor::kActualArgumentsCount); in TF_BUILTIN() 110 UncheckedParameter<Int32T>(Descriptor::kActualArgumentsCount); in TF_BUILTIN() 114 auto slot = UncheckedParameter<Int32T>(Descriptor::kSlot); in TF_BUILTIN() 426 TNode<Int32T> kind = LoadElementsKind(allocation_site.value()); in CreateEmptyArrayLiteral()
|
D | builtins-sharedarraybuffer-gen.cc | 28 TNode<Int32T>* out_elements_kind, TNode<RawPtrT>* out_backing_store, 54 TNode<Int32T>* out_elements_kind, TNode<RawPtrT>* out_backing_store, in ValidateIntegerTypedArray() 80 TNode<Int32T> elements_kind = LoadMapElementsKind(map); in ValidateIntegerTypedArray() 174 TNode<Int32T> elements_kind; in TF_BUILTIN() 268 TNode<Int32T> elements_kind; in TF_BUILTIN() 373 TNode<Int32T> elements_kind; in TF_BUILTIN() 505 TNode<Int32T> elements_kind; in TF_BUILTIN() 674 TNode<Int32T> elements_kind; in AtomicBinopBuiltinCommon()
|
D | builtins-async-iterator-gen.cc | 277 UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount)); in TF_BUILTIN() 298 UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount)); in TF_BUILTIN() 331 UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount)); in TF_BUILTIN()
|
/external/v8/src/codegen/ |
D | code-stub-assembler.h | 259 {{SmiFromInt32((csa)->UncheckedParameter<Int32T>( \ 574 TNode<Smi> SmiFromInt32(SloppyTNode<Int32T> value); 577 TNode<Int32T> SmiToInt32(SloppyTNode<Smi> value); 603 TNode<Int32T> TryInt32Mul(TNode<Int32T> a, TNode<Int32T> b, 862 TNode<Int32T> SelectInt32Constant(TNode<BoolT> condition, int true_value, 890 TNode<Int32T> TruncateWordToInt32(SloppyTNode<WordT> value); 891 TNode<Int32T> TruncateIntPtrToInt32(SloppyTNode<IntPtrT> value); 1114 TNode<Int32T> LoadAndUntagToWord32ObjectField(TNode<HeapObject> object, 1221 TNode<Int32T> LoadNumberOfDescriptors(TNode<DescriptorArray> array); 1223 TNode<Int32T> LoadNumberOfOwnDescriptors(TNode<Map> map); [all …]
|
D | code-stub-assembler.cc | 200 TNode<Int32T> CodeStubAssembler::SelectInt32Constant(TNode<BoolT> condition, in SelectInt32Constant() 203 return SelectConstant<Int32T>(condition, Int32Constant(true_value), in SelectInt32Constant() 598 TNode<Int32T> raw = in SmiToTaggedIndex() 606 TNode<Int32T> raw = in NormalizeSmiIndex() 613 TNode<Smi> CodeStubAssembler::SmiFromInt32(SloppyTNode<Int32T> value) { in SmiFromInt32() 667 TNode<Int32T> CodeStubAssembler::SmiToInt32(SloppyTNode<Smi> value) { in SmiToInt32() 707 TNode<Int32T> CodeStubAssembler::TryInt32Mul(TNode<Int32T> a, TNode<Int32T> b, in TryInt32Mul() 709 TNode<PairT<Int32T, BoolT>> pair = Int32MulWithOverflow(a, b); in TryInt32Mul() 723 TNode<PairT<Int32T, BoolT>> pair = Int32AddWithOverflow( in TrySmiAdd() 728 TNode<Int32T> result = Projection<0>(pair); in TrySmiAdd() [all …]
|
D | tnode.h | 45 struct Int32T : Word32T { struct 51 struct Int16T : Int32T { 54 struct Uint16T : Uint32T, Int32T { 101 using TaggedT = Int32T; 282 struct types_have_common_values<Int32T, U> {
|
/external/v8/src/interpreter/ |
D | interpreter-assembler.h | 57 TNode<Int32T> BytecodeOperandImm(int operand_index); 111 TNode<Int32T> formal_parameter_count); 114 TNode<Int32T> formal_parameter_count); 292 void UpdateInterruptBudget(TNode<Int32T> weight, bool backward); 325 TNode<Int32T> BytecodeOperandSignedQuad( 331 TNode<Int32T> BytecodeSignedOperand(
|
D | interpreter-assembler.cc | 269 return ChangeInt32ToIntPtr(Load<Int32T>(base, IntPtrConstant(index))); in LoadAndUntagRegister() 444 TNode<Int32T> shift = Int32Constant(i * kBitsPerByte); in BytecodeOperandReadUnaligned() 507 TNode<Int32T> InterpreterAssembler::BytecodeOperandSignedQuad( in BytecodeOperandSignedQuad() 515 return Load<Int32T>( in BytecodeOperandSignedQuad() 520 return UncheckedCast<Int32T>(BytecodeOperandReadUnaligned( in BytecodeOperandSignedQuad() 525 TNode<Int32T> InterpreterAssembler::BytecodeSignedOperand( in BytecodeSignedOperand() 593 TNode<Int32T> InterpreterAssembler::BytecodeOperandImm(int operand_index) { in BytecodeOperandImm() 746 TNode<Int32T> receiver_count = Int32Constant(1); in CallJSAndDispatch() 815 TNode<Int32T> receiver_count = Int32Constant(1); in CallJSWithSpreadAndDispatch() 1022 void InterpreterAssembler::UpdateInterruptBudget(TNode<Int32T> weight, in UpdateInterruptBudget() [all …]
|
/external/v8/src/ic/ |
D | accessor-assembler.cc | 339 TVARIABLE(Int32T, var_instance_type); in HandleLoadICSmiHandlerCase() 351 TNode<Int32T> result = UncheckedCast<Int32T>( in HandleLoadICSmiHandlerCase() 441 TNode<Int32T> code = StringCharCodeAt(string_holder, index); in HandleLoadICSmiHandlerCase() 1032 TNode<Int32T> handler_word = SmiToInt32(CAST(handler)); in HandleStoreICHandlerCase() 1573 TNode<Int32T> handler_word = SmiToInt32(CAST(smi_handler)); in HandleStoreICProtoHandler() 1939 TVARIABLE(Int32T, var_encoded_hash); in ExtendPropertiesBackingStore() 1950 TNode<Int32T> hash = SmiToInt32(CAST(properties)); in ExtendPropertiesBackingStore() 1951 TNode<Int32T> encoded_hash = in ExtendPropertiesBackingStore() 1962 TNode<Int32T> length_and_hash_int32 = LoadAndUntagToWord32ObjectField( in ExtendPropertiesBackingStore() 2006 TNode<Int32T> new_capacity_int32 = TruncateIntPtrToInt32(new_capacity); in ExtendPropertiesBackingStore() [all …]
|