40 references to Create
System.Private.CoreLib (40)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (3)
923Vector64<T> vector = Vector64.Create(value); 1621return Create(Vector64.Create(even), Vector64.Create(odd));
src\runtime\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);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (34)
37get => Create(T.E); 44get => Create(T.Pi); 51get => Create(T.Tau); 63get => Create(T.Epsilon); 70get => Create(T.NaN); 77get => Create(T.NegativeInfinity); 84get => Create(T.NegativeZero); 91get => Create(T.PositiveInfinity); 103get => Create(T.NegativeOne); 177public static bool All<T>(Vector64<T> vector, T value) => vector == Create(value); 219public static bool Any<T>(Vector64<T> vector, T value) => EqualsAny(vector, Create(value)); 862public static int Count<T>(Vector64<T> vector, T value) => CountMatches(Equals(vector, Create(value))); 910public static Vector64<byte> Create(byte value) => Create<byte>(value); 916public static Vector64<double> Create(double value) => Create<double>(value); 923public static Vector64<short> Create(short value) => Create<short>(value); 930public static Vector64<int> Create(int value) => Create<int>(value); 936public static Vector64<long> Create(long value) => Create<long>(value); 942public static Vector64<nint> Create(nint value) => Create<nint>(value); 949public static Vector64<nuint> Create(nuint value) => Create<nuint>(value); 957public static Vector64<sbyte> Create(sbyte value) => Create<sbyte>(value); 963public static Vector64<float> Create(float value) => Create<float>(value); 971public static Vector64<ushort> Create(ushort value) => Create<ushort>(value); 979public static Vector64<uint> Create(uint value) => Create<uint>(value); 986public static Vector64<ulong> Create(ulong value) => Create<ulong>(value); 1379public static Vector64<T> CreateSequence<T>(T start, T step) => (Vector64<T>.Indices * step) + Create(start); 2161public static int IndexOf<T>(Vector64<T> vector, T value) => IndexOfFirstMatch(Equals(vector, Create(value))); 2300return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2304return LessThan(Abs(vector).AsUInt64() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>(); 2371return LessThan(Abs(vector).AsUInt32() - Vector64<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 2375return LessThan(Abs(vector).AsUInt64() - Vector64<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>(); 2393public static int LastIndexOf<T>(Vector64<T> vector, T value) => IndexOfLastMatch(Equals(vector, Create(value))); 3231public static bool None<T>(Vector64<T> vector, T value) => !EqualsAny(vector, Create(value));