31 references to Create
System.Private.CoreLib (31)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (1)
799Vector64<T> vector = Vector64.Create(value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (27)
93public static bool All<T>(Vector64<T> vector, T value) => vector == Create(value); 135public static bool Any<T>(Vector64<T> vector, T value) => EqualsAny(vector, Create(value)); 753public static int Count<T>(Vector64<T> vector, T value) => BitOperations.PopCount(Equals(vector, Create(value)).ExtractMostSignificantBits()); 801public static Vector64<byte> Create(byte value) => Create<byte>(value); 807public static Vector64<double> Create(double value) => Create<double>(value); 814public static Vector64<short> Create(short value) => Create<short>(value); 821public static Vector64<int> Create(int value) => Create<int>(value); 827public static Vector64<long> Create(long value) => Create<long>(value); 833public static Vector64<nint> Create(nint value) => Create<nint>(value); 840public static Vector64<nuint> Create(nuint value) => Create<nuint>(value); 848public static Vector64<sbyte> Create(sbyte value) => Create<sbyte>(value); 854public static Vector64<float> Create(float value) => Create<float>(value); 862public static Vector64<ushort> Create(ushort value) => Create<ushort>(value); 870public static Vector64<uint> Create(uint value) => Create<uint>(value); 877public static Vector64<ulong> Create(ulong value) => Create<ulong>(value); 1270public static Vector64<T> CreateSequence<T>(T start, T step) => (Vector64<T>.Indices * step) + Create(start); 1777int result = BitOperations.TrailingZeroCount(Equals(vector, Create(value)).ExtractMostSignificantBits()); 1827return ~IsZero(AndNot(Create<uint>(float.PositiveInfinityBits), vector.AsUInt32())).As<uint, T>(); 1831return ~IsZero(AndNot(Create<ulong>(double.PositiveInfinityBits), vector.AsUInt64())).As<ulong, T>(); 1922return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 1926return LessThan(Abs(vector).AsUInt64() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>(); 1997return LessThan(Abs(vector).AsUInt32() - Vector64<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 2001return LessThan(Abs(vector).AsUInt64() - Vector64<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>(); 2019public static int LastIndexOf<T>(Vector64<T> vector, T value) => 31 - BitOperations.LeadingZeroCount(Equals(vector, Create(value)).ExtractMostSignificantBits()); 2857public static bool None<T>(Vector64<T> vector, T value) => !EqualsAny(vector, Create(value));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (3)
41get => Vector64.Create(Scalar<T>.AllBitsSet); 104get => Vector64.Create(Scalar<T>.One); 616static Vector64<T> ISimdVector<Vector64<T>, T>.Create(T value) => Vector64.Create(value);