20 references to IsVectorizationSupported
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (5)
103
if (!
IsVectorizationSupported
|| values.Length > 16)
213
if (
IsVectorizationSupported
)
240
if (
IsVectorizationSupported
)
849
if (!
IsVectorizationSupported
|| searchSpaceLength < sizeof(ulong))
979
if (!
IsVectorizationSupported
|| searchSpaceLength < sizeof(ulong))
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (2)
323
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&&
355
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&&
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticWithAsciiCharSearchValues.cs (5)
22
Debug.Assert(IndexOfAnyAsciiSearcher.
IsVectorizationSupported
);
44
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& span.Length >= Vector128<short>.Count && char.IsAscii(span[0]))
105
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& span.Length >= Vector128<short>.Count && char.IsAscii(span[0]))
141
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& span.Length >= Vector128<short>.Count && char.IsAscii(span[^1]))
194
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& span.Length >= Vector128<short>.Count && char.IsAscii(span[^1]))
src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValues.cs (4)
65
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& maxInclusive < 128)
137
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& PackedSpanHelpers.PackedIndexOfIsSupported &&
162
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& maxInclusive < 128)
179
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& minInclusive < 128)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasick.cs (3)
33
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& _startingAsciiChars.Bitmap != default)
90
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& typeof(TFastScanVariant) == typeof(IndexOfAnyAsciiFastScan))
195
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
&& typeof(TFastScanVariant) == typeof(IndexOfAnyAsciiFastScan))
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasickBuilder.cs (1)
51
if (IndexOfAnyAsciiSearcher.
IsVectorizationSupported
)