1 write to ToUpperMask256
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (1)
178
ToUpperMask256
= Vector256.ConditionalSelect(isAsciiLetter, Vector256.Create(unchecked((ushort)~0x20)), Vector256.Create(ushort.MaxValue));
9 references to ToUpperMask256
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (9)
114
public readonly ulong ToUpperMask64_0 =>
ToUpperMask256
.AsUInt64()[0];
115
public readonly ulong ToUpperMask64_1 =>
ToUpperMask256
.AsUInt64()[1];
116
public readonly uint ToUpperMask32_0 =>
ToUpperMask256
.AsUInt32()[0];
117
public readonly uint ToUpperMask32_1 =>
ToUpperMask256
.AsUInt32()[1];
187
Debug.Assert(
ToUpperMask256
== default);
209
Debug.Assert(
ToUpperMask256
!= default);
217
return (input &
ToUpperMask256
) == Value256;
221
Vector128<ushort> different = (Vector128.LoadUnsafe(ref matchStart) &
ToUpperMask256
.GetLower()) ^ Value256.GetLower();
222
different |= (Vector128.LoadUnsafe(ref Unsafe.AddByteOffset(ref matchStart, SecondReadByteOffset)) &
ToUpperMask256
.GetUpper()) ^ Value256.GetUpper();