src/coreclr/src/jit/lsraxarch.cpp
void LinearScan::SetContainsAVXFlags(unsigned sizeOfSIMDVector /* = 0*/)
{
    if (compiler->canUseVexEncoding())
    {
        compiler->compExactlyDependsOn(InstructionSet_AVX);
        compiler->GetEmitter()->SetContainsAVX(true);
        if (sizeOfSIMDVector == 32)
        {
            compiler->GetEmitter()->SetContains256bitAVX(true);
        }
    }
}
//------------------------------------------------------------------------------
// SetContainsAVXFlags: Set ContainsAVX flag when it is floating type, set
// Contains256bitAVX flag when SIMD vector size is 32 bytes
//
// Arguments:
//    isFloatingPointType   - true if it is floating point type
//    sizeOfSIMDVector      - SIMD Vector size
//
Set ContainsAVX flag when it is floating type, set
Contains256bitAVX flag when SIMD vector size is 32 bytes

isFloatingPointType   - true if it is floating point type
sizeOfSIMDVector      - SIMD Vector size
Set ContainsAVX flag when it is floating type set Contains256bitAVX flag when SIMD vector size is 32 bytes isFloatingPointType - true if it is floating point type sizeOfSIMDVector - SIMD Vector size
void LinearScan::SetContainsAVXFlags(unsigned sizeOfSIMDVector )
{
    if (compiler->canUseVexEncoding())
    {
        compiler->compExactlyDependsOn(InstructionSet_AVX);
        compiler->GetEmitter()->SetContainsAVX(true);
        if (sizeOfSIMDVector == 32)
        {
            compiler->GetEmitter()->SetContains256bitAVX(true);
        }
    }
}
void LinearScan :: SetContainsAVXFlags ( unsigned sizeOfSIMDVector ) { if ( compiler -> canUseVexEncoding ( ) ) { compiler -> compExactlyDependsOn ( InstructionSet_AVX ) ; compiler -> GetEmitter ( ) -> SetContainsAVX ( true ) ; if ( sizeOfSIMDVector == 32 ) { compiler -> GetEmitter ( ) -> SetContains256bitAVX ( true ) ; } } }
SetContainsAVXFlags: Set ContainsAVX flag when it is floating type, set
Contains256bitAVX flag when SIMD vector size is 32 bytes
SetContainsAVXFlags : Set ContainsAVX flag when it is floating type set Contains256bitAVX flag when SIMD vector size is 32 bytes
/* = 0*/