/external/v8/test/unittests/compiler/ |
D | change-lowering-unittest.cc | 250 const int element_size_shift = in TARGET_TEST_P() local 254 IsInt32Add(IsWord32Shl(p1, IsInt32Constant(element_size_shift)), in TARGET_TEST_P() 300 const int element_size_shift = in TARGET_TEST_P() local 304 IsInt32Add(IsWord32Shl(p1, IsInt32Constant(element_size_shift)), in TARGET_TEST_P()
|
/external/v8/src/compiler/ |
D | change-lowering.cc | 511 const int element_size_shift = in ComputeIndex() local 513 if (element_size_shift) { in ComputeIndex() 515 jsgraph()->Int32Constant(element_size_shift)); in ComputeIndex()
|
/external/v8/src/crankshaft/arm/ |
D | lithium-codegen-arm.cc | 2898 int element_size_shift = ElementsKindToShiftSize(elements_kind); in DoLoadKeyedExternalArray() local 2900 ? (element_size_shift - kSmiTagSize) : element_size_shift; in DoLoadKeyedExternalArray() 2906 ? Operand(constant_key << element_size_shift) in DoLoadKeyedExternalArray() 2919 element_size_shift, shift_size, base_offset); in DoLoadKeyedExternalArray() 2969 int element_size_shift = ElementsKindToShiftSize(FAST_DOUBLE_ELEMENTS); in DoLoadKeyedFixedDoubleArray() local 2984 ? (element_size_shift - kSmiTagSize) : element_size_shift; in DoLoadKeyedFixedDoubleArray() 3966 int element_size_shift = ElementsKindToShiftSize(elements_kind); in DoStoreKeyedExternalArray() local 3968 ? (element_size_shift - kSmiTagSize) : element_size_shift; in DoStoreKeyedExternalArray() 3977 Operand(constant_key << element_size_shift)); in DoStoreKeyedExternalArray() 3994 element_size_shift, shift_size, in DoStoreKeyedExternalArray() [all …]
|
/external/v8/src/crankshaft/mips/ |
D | lithium-codegen-mips.cc | 2827 int element_size_shift = ElementsKindToShiftSize(elements_kind); in DoLoadKeyedExternalArray() local 2829 ? (element_size_shift - kSmiTagSize) : element_size_shift; in DoLoadKeyedExternalArray() 2835 __ Addu(scratch0(), external_pointer, constant_key << element_size_shift); in DoLoadKeyedExternalArray() 2850 element_size_shift, shift_size, base_offset); in DoLoadKeyedExternalArray() 2900 int element_size_shift = ElementsKindToShiftSize(FAST_DOUBLE_ELEMENTS); in DoLoadKeyedFixedDoubleArray() local 2915 ? (element_size_shift - kSmiTagSize) : element_size_shift; in DoLoadKeyedFixedDoubleArray() 3931 int element_size_shift = ElementsKindToShiftSize(elements_kind); in DoStoreKeyedExternalArray() local 3933 ? (element_size_shift - kSmiTagSize) : element_size_shift; in DoStoreKeyedExternalArray() 3942 Operand(constant_key << element_size_shift)); in DoStoreKeyedExternalArray() 3961 element_size_shift, shift_size, in DoStoreKeyedExternalArray() [all …]
|
/external/v8/src/crankshaft/mips64/ |
D | lithium-codegen-mips64.cc | 2967 int element_size_shift = ElementsKindToShiftSize(elements_kind); in DoLoadKeyedExternalArray() local 2969 ? (element_size_shift - (kSmiTagSize + kSmiShiftSize)) in DoLoadKeyedExternalArray() 2970 : element_size_shift; in DoLoadKeyedExternalArray() 2977 constant_key << element_size_shift); in DoLoadKeyedExternalArray() 3000 element_size_shift, shift_size, base_offset); in DoLoadKeyedExternalArray() 3050 int element_size_shift = ElementsKindToShiftSize(FAST_DOUBLE_ELEMENTS); in DoLoadKeyedFixedDoubleArray() local 3065 ? (element_size_shift - (kSmiTagSize + kSmiShiftSize)) in DoLoadKeyedFixedDoubleArray() 3066 : element_size_shift; in DoLoadKeyedFixedDoubleArray() 4145 int element_size_shift = ElementsKindToShiftSize(elements_kind); in DoStoreKeyedExternalArray() local 4147 ? (element_size_shift - (kSmiTagSize + kSmiShiftSize)) in DoStoreKeyedExternalArray() [all …]
|
/external/v8/src/crankshaft/ppc/ |
D | lithium-codegen-ppc.cc | 3012 int element_size_shift = ElementsKindToShiftSize(elements_kind); in DoShiftI() local 3019 __ Add(scratch0(), external_pointer, constant_key << element_size_shift, in DoShiftI() 3022 __ IndexToArrayOffset(r0, key, element_size_shift, key_is_smi); in DoShiftI() 3034 constant_key, element_size_shift, base_offset); in DoShiftI() 3110 int element_size_shift = ElementsKindToShiftSize(FAST_DOUBLE_ELEMENTS); in DoShiftI() local 3124 __ IndexToArrayOffset(r0, key, element_size_shift, key_is_smi); in DoShiftI() 3236 int element_size_shift, in DoShiftI() argument 3241 return MemOperand(base, (constant_key << element_size_shift) + base_offset); in DoShiftI() 3245 (element_size_shift != (key_is_smi ? kSmiTagSize + kSmiShiftSize : 0)); in DoShiftI() 3252 __ IndexToArrayOffset(scratch, key, element_size_shift, key_is_smi); in DoShiftI() [all …]
|
D | lithium-codegen-ppc.h | 119 int constant_key, int element_size_shift,
|
/external/v8/src/crankshaft/arm64/ |
D | lithium-codegen-arm64.cc | 3103 int element_size_shift = ElementsKindToShiftSize(elements_kind); in PrepareKeyedExternalArrayOperand() local 3106 int key_offset = constant_key << element_size_shift; in PrepareKeyedExternalArrayOperand() 3111 __ Add(scratch, base, Operand::UntagSmiAndScale(key, element_size_shift)); in PrepareKeyedExternalArrayOperand() 3116 return MemOperand(base, key, SXTW, element_size_shift); in PrepareKeyedExternalArrayOperand() 3121 return MemOperand(scratch, key, SXTW, element_size_shift); in PrepareKeyedExternalArrayOperand() 3213 int element_size_shift = ElementsKindToShiftSize(elements_kind); in PrepareKeyedArrayOperand() local 3220 __ Add(base, elements, Operand::UntagSmiAndScale(key, element_size_shift)); in PrepareKeyedArrayOperand() 3231 DCHECK((element_size_shift >= 0) && (element_size_shift <= 4)); in PrepareKeyedArrayOperand() 3235 __ Add(base, elements, Operand(key, SXTW, element_size_shift)); in PrepareKeyedArrayOperand() 3239 return MemOperand(base, key, SXTW, element_size_shift); in PrepareKeyedArrayOperand()
|
/external/v8/test/cctest/compiler/ |
D | test-simplified-lowering.cc | 1313 const int element_size_shift = in CheckElementAccessArithmetic() local 1315 if (element_size_shift) { in CheckElementAccessArithmetic() 1318 CHECK(shl.right().Is(element_size_shift)); in CheckElementAccessArithmetic()
|