• Home
  • Raw
  • Download

Lines Matching refs:Smi

338   TNode<IntPtrT> ParameterToIntPtr(TNode<Smi> value) { return SmiUntag(value); }  in ParameterToIntPtr()
350 TNode<Smi> ParameterToTagged(TNode<Smi> value) { return value; } in ParameterToTagged()
352 TNode<Smi> ParameterToTagged(TNode<IntPtrT> value) { return SmiTag(value); } in ParameterToTagged()
355 TNode<TIndex> TaggedToParameter(TNode<Smi> value);
357 bool ToParameterConstant(TNode<Smi> node, intptr_t* out) { in ToParameterConstant()
374 TNode<Smi> BIntToSmi(TNode<BInt> source) { return source; } in BIntToSmi()
378 TNode<BInt> SmiToBInt(TNode<Smi> source) { return source; } in SmiToBInt()
383 TNode<Smi> BIntToSmi(TNode<BInt> source) { return SmiFromIntPtr(source); } in BIntToSmi()
385 TNode<BInt> SmiToBInt(TNode<Smi> source) { return SmiToIntPtr(source); } in SmiToBInt()
394 TNode<Smi> TaggedIndexToSmi(TNode<TaggedIndex> value);
395 TNode<TaggedIndex> SmiToTaggedIndex(TNode<Smi> value);
400 TNode<Smi> NormalizeSmiIndex(TNode<Smi> smi_index);
402 TNode<Smi> TaggedToSmi(TNode<Object> value, Label* fail) { in TaggedToSmi()
404 return UncheckedCast<Smi>(value); in TaggedToSmi()
407 TNode<Smi> TaggedToPositiveSmi(TNode<Object> value, Label* fail) { in TaggedToPositiveSmi()
409 return UncheckedCast<Smi>(value); in TaggedToPositiveSmi()
470 TNode<Smi> OpName(TNode<Smi> a, TNode<Smi> b) { return SmiOpName(a, b); } \
487 TNode<BoolT> OpName(TNode<Smi> a, TNode<Smi> b) { return SmiOpName(a, b); } \ in PARAMETER_BINOP()
528 TNode<Smi> NoContextConstant();
555 bool TryGetIntPtrOrSmiConstantValue(TNode<Smi> maybe_constant, int* value);
590 TNode<Smi> SmiTag(TNode<IntPtrT> value);
592 TNode<IntPtrT> SmiUntag(TNode<Smi> value);
595 TNode<Float64T> SmiToFloat64(TNode<Smi> value);
596 TNode<Smi> SmiFromIntPtr(TNode<IntPtrT> value) { return SmiTag(value); } in SmiFromIntPtr()
597 TNode<Smi> SmiFromInt32(TNode<Int32T> value);
598 TNode<Smi> SmiFromUint32(TNode<Uint32T> value);
599 TNode<IntPtrT> SmiToIntPtr(TNode<Smi> value) { return SmiUntag(value); } in SmiToIntPtr()
600 TNode<Int32T> SmiToInt32(TNode<Smi> value);
604 TNode<Smi> SmiOpName(TNode<Smi> a, TNode<Smi> b) { \
629 TNode<Smi> TrySmiAdd(TNode<Smi> a, TNode<Smi> b, Label* if_overflow);
630 TNode<Smi> TrySmiSub(TNode<Smi> a, TNode<Smi> b, Label* if_overflow);
631 TNode<Smi> TrySmiAbs(TNode<Smi> a, Label* if_overflow);
633 TNode<Smi> SmiShl(TNode<Smi> a, int shift) { in SmiShl()
634 TNode<Smi> result = BitcastWordToTaggedSigned( in SmiShl()
644 TNode<Smi> SmiShr(TNode<Smi> a, int shift) { in SmiShr()
645 TNode<Smi> result; in SmiShr()
668 TNode<Smi> SmiSar(TNode<Smi> a, int shift) { in SmiSar()
688 TNode<Smi> WordOrSmiShr(TNode<Smi> a, int shift) { return SmiShr(a, shift); } in WordOrSmiShr()
695 TNode<BoolT> SmiOpName(TNode<Smi> a, TNode<Smi> b) { \
720 TNode<Smi> SmiMax(TNode<Smi> a, TNode<Smi> b);
721 TNode<Smi> SmiMin(TNode<Smi> a, TNode<Smi> b);
723 TNode<Number> SmiMod(TNode<Smi> a, TNode<Smi> b);
725 TNode<Number> SmiMul(TNode<Smi> a, TNode<Smi> b);
728 TNode<Smi> TrySmiDiv(TNode<Smi> dividend, TNode<Smi> divisor, Label* bailout);
735 TNode<Smi> SmiLexicographicCompare(TNode<Smi> x, TNode<Smi> y);
769 TNode<Number> SmiToNumber(TNode<Smi> v) { return v; } in SmiToNumber()
773 TNode<Number> BitwiseSmiOp(TNode<Smi> left32, TNode<Smi> right32,
963 TNode<Smi> SelectSmiConstant(TNode<BoolT> condition, Smi true_value,
964 Smi false_value);
965 TNode<Smi> SelectSmiConstant(TNode<BoolT> condition, int true_value, in SelectSmiConstant()
966 Smi false_value) { in SelectSmiConstant()
967 return SelectSmiConstant(condition, Smi::FromInt(true_value), false_value); in SelectSmiConstant()
969 TNode<Smi> SelectSmiConstant(TNode<BoolT> condition, Smi true_value, in SelectSmiConstant()
971 return SelectSmiConstant(condition, true_value, Smi::FromInt(false_value)); in SelectSmiConstant()
973 TNode<Smi> SelectSmiConstant(TNode<BoolT> condition, int true_value, in SelectSmiConstant()
975 return SelectSmiConstant(condition, Smi::FromInt(true_value), in SelectSmiConstant()
976 Smi::FromInt(false_value)); in SelectSmiConstant()
1026 void BranchIfSmiEqual(TNode<Smi> a, TNode<Smi> b, Label* if_true, in BranchIfSmiEqual()
1031 void BranchIfSmiLessThan(TNode<Smi> a, TNode<Smi> b, Label* if_true, in BranchIfSmiLessThan()
1036 void BranchIfSmiLessThanOrEqual(TNode<Smi> a, TNode<Smi> b, Label* if_true, in BranchIfSmiLessThanOrEqual()
1198 TNode<Smi> LoadBufferSmi(TNode<RawPtrT> buffer, int offset) { in LoadBufferSmi()
1330 if (std::is_same<T, Smi>::value) { in StoreReference()
1385 TNode<Smi> LoadFastJSArrayLength(TNode<JSArray> array);
1387 TNode<Smi> LoadFixedArrayBaseLength(TNode<FixedArrayBase> array);
1391 TNode<Smi> LoadWeakFixedArrayLength(TNode<WeakFixedArray> array);
1448 TNode<Smi> LoadStringLengthAsSmi(TNode<String> string);
1496 void FixedArrayBoundsCheck(TNode<FixedArrayBase> array, TNode<Smi> index,
1672 void StoreObjectField(TNode<HeapObject> object, int offset, TNode<Smi> value);
1674 TNode<Smi> value);
1723 TNode<Smi> value,
1737 static_assert(std::is_same<TIndex, Smi>::value ||
1750 TNode<Smi> value, int additional_offset = 0) {
1751 static_assert(std::is_same<TIndex, Smi>::value ||
1768 TNode<Smi> value) { in UnsafeStoreFixedArrayElement()
1783 TNode<IntPtrT> index, TNode<Smi> value, in UnsafeStoreFixedArrayElement()
1838 TNode<Smi> BuildAppendJSArray(ElementsKind kind, TNode<JSArray> array,
1910 TNode<Smi> offset);
1915 TNode<Smi> offset);
1963 ElementsKind kind, TNode<Map> array_map, TNode<Smi> length,
1972 TNode<Smi> length, base::Optional<TNode<AllocationSite>> allocation_site,
1975 ElementsKind kind, TNode<Map> array_map, TNode<Smi> capacity,
1976 TNode<Smi> length, base::Optional<TNode<AllocationSite>> allocation_site,
1982 ElementsKind kind, TNode<Map> array_map, TNode<Smi> capacity,
1983 TNode<Smi> length,
1990 TNode<Smi> length,
1998 TNode<Map> array_map, TNode<FixedArrayBase> elements, TNode<Smi> length,
2360 TNode<Smi> key, Label* bailout);
2410 TVariable<Smi>* var_feedback);
2414 TVariable<BigInt>* var_maybe_bigint, TVariable<Smi>* var_feedback);
2421 void TryHeapNumberToSmi(TNode<HeapNumber> number, TVariable<Smi>* output,
2423 void TryFloat32ToSmi(TNode<Float32T> number, TVariable<Smi>* output,
2425 void TryFloat64ToSmi(TNode<Float64T> number, TVariable<Smi>* output,
2447 TVariable<Smi>* var_feedback);
2782 TVariable<Smi>* var_type_feedback, Object::Conversion mode,
2949 TNode<BoolT> IsSetSmi(TNode<Smi> smi, int untagged_mask) { in IsSetSmi()
2950 intptr_t mask_word = bit_cast<intptr_t>(Smi::FromInt(untagged_mask)); in IsSetSmi()
3062 TNode<IntPtrT> key_index, TNode<Smi> details);
3078 TNode<Smi> GetNumberOfElements(TNode<Dictionary> dictionary);
3080 TNode<Smi> GetNumberDictionaryNumberOfElements( in GetNumberDictionaryNumberOfElements()
3087 TNode<Smi> num_elements_smi) { in SetNumberOfElements()
3096 TNode<Smi> GetNumberOfDeletedElements(TNode<Dictionary> dictionary) { in GetNumberOfDeletedElements()
3106 TNode<Smi> num_deleted_smi) { in SetNumberOfDeletedElements()
3116 TNode<Smi> GetCapacity(TNode<Dictionary> dictionary) { in GetCapacity()
3125 TNode<Smi> GetNextEnumerationIndex(TNode<Dictionary> dictionary) { in GetNextEnumerationIndex()
3132 TNode<Smi> next_enum_index_smi) { in SetNextEnumerationIndex()
3171 TNode<Smi> enum_index);
3398 void UpdateFeedback(TNode<Smi> feedback,
3401 void UpdateFeedback(TNode<Smi> feedback,
3404 void MaybeUpdateFeedback(TNode<Smi> feedback,
3415 void CombineFeedback(TVariable<Smi>* existing_feedback, int feedback);
3416 void CombineFeedback(TVariable<Smi>* existing_feedback, TNode<Smi> feedback);
3420 void OverwriteFeedback(TVariable<Smi>* existing_feedback, int new_feedback);
3489 TNode<Smi> LoadTransitionInfo(TNode<AllocationSite> allocation_site);
3561 TNode<Context> context, TVariable<Smi>* var_type_feedback = nullptr) {
3569 TVariable<Smi>* var_type_feedback = nullptr);
3621 TVariable<Smi>* var_type_feedback = nullptr) {
3627 TVariable<Smi>* var_type_feedback = nullptr);
3630 TVariable<Smi>* var_type_feedback = nullptr);
3661 TNode<Smi>* cache_length_out,
3742 TNode<CodeT> LoadBuiltin(TNode<Smi> builtin_id);
4032 TNode<Smi> RefillMathRandom(TNode<NativeContext> native_context);
4149 TNode<Map> array_map, TNode<Smi> length,
4171 TNode<String> parent, TNode<Smi> offset);
4182 TNode<Smi> CollectFeedbackForString(TNode<Int32T> instance_type);
4185 TVariable<Smi>* var_type_feedback = nullptr);
4196 TVariable<Smi>* var_feedback);
4206 TVariable<Smi>* var_feedback = nullptr);