Lines Matching defs:index
29 #include "src/objects/tagged-index.h"
399 // as an index in element offset computation.
1098 TNode<ExternalPointerT> ChangeIndexToExternalPointer(TNode<Uint32T> index);
1416 // Load the constructor function index of a Map (only for primitive maps).
1496 void FixedArrayBoundsCheck(TNode<FixedArrayBase> array, TNode<Smi> index,
1499 void FixedArrayBoundsCheck(TNode<FixedArrayBase> array, TNode<IntPtrT> index,
1502 void FixedArrayBoundsCheck(TNode<FixedArrayBase> array, TNode<UintPtrT> index,
1504 FixedArrayBoundsCheck(array, Signed(index), additional_offset);
1516 TNode<TIndex> index,
1521 TNode<FixedArray> object, TNode<TIndex> index, int additional_offset = 0,
1527 TNode<IntPtrT> index,
1529 return LoadFixedArrayElement(object, index, additional_offset,
1533 TNode<Object> LoadFixedArrayElement(TNode<FixedArray> object, int index,
1535 return LoadFixedArrayElement(object, IntPtrConstant(index),
1540 TNode<Object> UnsafeLoadFixedArrayElement(TNode<FixedArray> object, int index,
1542 return LoadFixedArrayElement(object, IntPtrConstant(index),
1547 TNode<IntPtrT> index);
1556 TNode<IntPtrT> index,
1561 TNode<FixedArray> object, TNode<IntPtrT> index,
1566 TNode<IntPtrT> index,
1571 TNode<FixedDoubleArray> object, TNode<IntPtrT> index,
1577 // it as a tagged value. Assumes that the |index| passed a length
1580 // the given |index| is not found in |elements|.
1582 TNode<FixedArrayBase> elements, TNode<IntPtrT> index,
1593 TNode<IntPtrT> index,
1604 TNode<UintPtrT> index,
1607 TNode<RawPtrT> data_pointer, TNode<UintPtrT> index,
1715 TNode<FixedArray> object, int index, TNode<Object> value,
1718 return StoreFixedArrayElement(object, IntPtrConstant(index), value,
1722 void StoreFixedArrayElement(TNode<FixedArray> object, int index,
1725 return StoreFixedArrayElement(object, IntPtrConstant(index),
1732 TNode<FixedArray> array, TNode<TIndex> index, TNode<Object> value,
1740 "Only Smi, UintPtrT or IntPtrT index is allowed");
1742 FixedArrayBoundsCheck(array, index, additional_offset);
1744 StoreFixedArrayOrPropertyArrayElement(array, index, value, barrier_mode,
1749 void StoreFixedArrayElement(TNode<FixedArray> array, TNode<TIndex> index,
1754 StoreFixedArrayElement(array, index, TNode<Object>{value},
1761 TNode<FixedArray> object, int index, TNode<Object> value,
1763 return StoreFixedArrayElement(object, IntPtrConstant(index), value,
1767 void UnsafeStoreFixedArrayElement(TNode<FixedArray> object, int index,
1769 return StoreFixedArrayElement(object, IntPtrConstant(index), value,
1775 TNode<FixedArray> array, TNode<IntPtrT> index, TNode<Object> value,
1778 return StoreFixedArrayElement(array, index, value, barrier_mode,
1783 TNode<IntPtrT> index, TNode<Smi> value,
1785 return StoreFixedArrayElement(array, index, value,
1791 TNode<IntPtrT> index, TNode<Object> value) {
1792 StoreFixedArrayOrPropertyArrayElement(array, index, value,
1798 TNode<FixedDoubleArray> object, TNode<TIndex> index,
1803 TNode<IntPtrT> index);
1815 TNode<IntPtrT> index,
1822 StoreFixedArrayOrPropertyArrayElement(array, index, value,
1835 TNode<FixedArrayBase> elements, TNode<BInt> index,
2236 // * |first| is the starting element index to copy from, if nullptr is passed
2237 // then index zero is used by default.
2272 // * |first| is the starting element index to copy from.
2306 // * |first| is the starting element index to copy from.
2342 // (NOTE: not index!), does a hole check if |if_hole| is provided and
2705 // True iff {number} is a positive number and a valid array index in the range
2753 TNode<Uint16T> StringCharCodeAt(TNode<String> string, TNode<UintPtrT> index);
3000 // even if |key| is an array index. |if_keyisunique| will never
3024 // - |if_index| if the string is an array index like "123"; |var_index|
3025 // will contain the intptr representation of that index.
3030 // - |if_bailout| for unsupported cases (e.g. uncachable array index).
3037 // Calculates array index for given dictionary entry and entry field.
3138 // control goes to {if_found} and {var_name_index} contains an index of the
3170 TNode<Object> value, TNode<IntPtrT> index,
3202 // a unique name (Symbol or InternalizedString) that is not an array index.
3285 // DescriptorArray and an index of the descriptor's name respectively.
3288 // contain a dictionary and an index of the key field of the found entry.
3324 // special index. If we are not sure that the given string is not a special
3325 // index with a simple check, return False. Note that "False" return value
3326 // does not mean that the name_string is a special index in the current
3340 // is an Int32 index.
3446 TNode<TIndex> index, TNode<TValue> value);
3496 using FastLoopBody = std::function<void(TNode<TIndex> index)>;
3722 void CheckJSTypedArrayIndex(TNode<UintPtrT> index,
3733 TNode<IntPtrT> ElementOffsetFromIndex(TNode<TIndex> index, ElementsKind kind,
3798 TNode<IntPtrT> index);
3957 // Converts [Descriptor/Transition]Array entry number to a fixed array index.
4056 TNode<SwissNameDictionary> dict, TNode<IntPtrT> index, int field_index);
4061 TNode<IntPtrT> index);
4211 TNode<IntPtrT> index,
4228 TNode<UnionT<FixedArray, PropertyArray>> array, TNode<TIndex> index,
4234 TNode<TIndex> index, TNode<BigInt> value);
4238 TNode<TIndex> index, TNode<Word32T> value);
4248 TNode<TIndex> index, TNode<TValue> value);
4252 TNode<TIndex> index, TNode<Object> value);
4256 TNode<TIndex> index, TNode<Float64T> value);
4307 // Computes address of the index'th argument.
4308 TNode<RawPtrT> AtIndexPtr(TNode<IntPtrT> index) const;
4310 // |index| is zero-based and does not include the receiver
4311 TNode<Object> AtIndex(TNode<IntPtrT> index) const;
4312 TNode<Object> AtIndex(int index) const;
4323 TNode<Object> GetOptionalArgumentValue(TNode<IntPtrT> index,
4325 TNode<Object> GetOptionalArgumentValue(TNode<IntPtrT> index) {
4326 return GetOptionalArgumentValue(index, assembler_->UndefinedConstant());
4328 TNode<Object> GetOptionalArgumentValue(int index) {
4329 return GetOptionalArgumentValue(assembler_->IntPtrConstant(index));
4412 // A tuple describing a relevant property. It contains the descriptor index of