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