67 references to LoadUnsafe
System.Linq (3)
System\Linq\MaxMin.cs (3)
104Vector512<T> best = Vector512.LoadUnsafe(ref current); 109best = TMinMax.Compare(best, Vector512.LoadUnsafe(ref current)); 112best = TMinMax.Compare(best, Vector512.LoadUnsafe(ref lastVectorStart));
System.Numerics.Tensors (15)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (3)
519Vector512<T> beg = transform.Invoke(Vector512.LoadUnsafe(ref xRef)); 1690Vector512<T> beg = TBinaryOperator.Invoke(Vector512.LoadUnsafe(ref xRef), 1691Vector512.LoadUnsafe(ref yRef));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (3)
644Vector512<T> beg = TBinaryOperator.Invoke(Vector512.LoadUnsafe(ref xRef), 645Vector512.LoadUnsafe(ref yRef)); 1970Vector512<T> beg = TBinaryOperator.Invoke(TTransformOperator.Invoke(Vector512.LoadUnsafe(ref xRef)),
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IStatefulUnaryOperator.cs (1)
547Vector512<T> beg = op.Invoke(Vector512.LoadUnsafe(ref xRef));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (6)
694Vector512<T> beg = TTernaryOperator.Invoke(Vector512.LoadUnsafe(ref xRef), 695Vector512.LoadUnsafe(ref yRef), 696Vector512.LoadUnsafe(ref zRef)); 2163Vector512<T> beg = TTernaryOperator.Invoke(Vector512.LoadUnsafe(ref xRef), 2164Vector512.LoadUnsafe(ref yRef), 3640Vector512<T> beg = TTernaryOperator.Invoke(Vector512.LoadUnsafe(ref xRef),
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (1)
587Vector512<TOutput> beg = TUnaryOperator.Invoke(Vector512.LoadUnsafe(ref xRef));
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (1)
177Vector512<T> result = Vector512.LoadUnsafe(ref xRef);
System.Private.CoreLib (49)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
2356public static unsafe Vector512<T> Load<T>(T* source) => LoadUnsafe(ref *source); 2421internal static Vector512<ushort> LoadUnsafe(ref char source) => LoadUnsafe(ref Unsafe.As<char, ushort>(ref source));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
728static Vector512<T> ISimdVector<Vector512<T>, T>.LoadUnsafe(ref readonly T source) => Vector512.LoadUnsafe(in source);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Char.cs (2)
902Vector512<ushort> tempFirst = Vector512.LoadUnsafe(ref first); 903Vector512<ushort> tempLast = Vector512.LoadUnsafe(ref last);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Packed.cs (15)
164Vector512<short> source0 = Vector512.LoadUnsafe(ref currentSearchSpace); 187Vector512<short> source0 = Vector512.LoadUnsafe(ref firstVector); 188Vector512<short> source1 = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 363Vector512<short> source0 = Vector512.LoadUnsafe(ref currentSearchSpace); 386Vector512<short> source0 = Vector512.LoadUnsafe(ref firstVector); 387Vector512<short> source1 = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 573Vector512<short> source0 = Vector512.LoadUnsafe(ref currentSearchSpace); 597Vector512<short> source0 = Vector512.LoadUnsafe(ref firstVector); 598Vector512<short> source1 = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 789Vector512<short> source0 = Vector512.LoadUnsafe(ref currentSearchSpace); 813Vector512<short> source0 = Vector512.LoadUnsafe(ref firstVector); 814Vector512<short> source1 = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 988Vector512<short> source0 = Vector512.LoadUnsafe(ref currentSearchSpace); 1011Vector512<short> source0 = Vector512.LoadUnsafe(ref firstVector); 1012Vector512<short> source1 = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (21)
1377current = Vector512.LoadUnsafe(ref currentSearchSpace); 1391current = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 1568current = Vector512.LoadUnsafe(ref currentSearchSpace); 1582current = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 1793current = Vector512.LoadUnsafe(ref currentSearchSpace); 1808current = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 2000current = Vector512.LoadUnsafe(ref currentSearchSpace); 2015current = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 2156current = Vector512.LoadUnsafe(ref currentSearchSpace); 2172current = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 2320current = Vector512.LoadUnsafe(ref currentSearchSpace); 2336current = Vector512.LoadUnsafe(ref oneVectorAwayFromEnd); 2653current = Vector512.LoadUnsafe(ref searchSpace); 2838current = Vector512.LoadUnsafe(ref searchSpace); 2988current = Vector512.LoadUnsafe(ref searchSpace); 3247current = Vector512.LoadUnsafe(ref searchSpace); 3583inRangeVector = TNegator.NegateIfNeeded(Vector512.LessThanOrEqual(Vector512.LoadUnsafe(ref current) - lowVector, rangeVector)); 3594inRangeVector = TNegator.NegateIfNeeded(Vector512.LessThanOrEqual(Vector512.LoadUnsafe(ref oneVectorAwayFromEnd) - lowVector, rangeVector)); 3735inRangeVector = TNegator.NegateIfNeeded(Vector512.LessThanOrEqual(Vector512.LoadUnsafe(ref searchSpace) - lowVector, rangeVector)); 3791count += BitOperations.PopCount(Vector512.Equals(Vector512.LoadUnsafe(ref current), targetVector).ExtractMostSignificantBits()); 3796ulong mask = Vector512.Equals(Vector512.LoadUnsafe(ref oneVectorAwayFromEnd), targetVector).ExtractMostSignificantBits();
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Equality.cs (7)
253rightValues = Vector512.LoadUnsafe(ref currentRightSearchSpace); 283rightValues = Vector512.LoadUnsafe(ref oneVectorAwayFromRightEnd); 476public static Vector512<T> Load512(ref T ptr) => Vector512.LoadUnsafe(ref ptr); 496Vector512<T> leftValues = Vector512.LoadUnsafe(ref left); 497Vector512<T> rightValues = Vector512.LoadUnsafe(ref right); 583Vector512<byte> leftNotWidened = Vector512.LoadUnsafe(ref utf8); 590Vector512<ushort> right = Vector512.LoadUnsafe(ref utf16);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (1)
1962Vector512<ushort> utf16VectorFirst = Vector512.LoadUnsafe(ref utf16Buffer);