setLegalizerInfo64bit();
setLegalizerInfoSSE1();
setLegalizerInfoSSE2();
- setLegalizerInfoSSE41();
- setLegalizerInfoSSE42();
setLegalizerInfoAVX();
setLegalizerInfoAVX2();
setLegalizerInfoAVX512();
- setLegalizerInfoAVX512DQ();
- setLegalizerInfoAVX512BW();
getActionDefinitionsBuilder(G_INTRINSIC_ROUNDEVEN)
.scalarize(0)
}
}
-void X86LegalizerInfo::setLegalizerInfoSSE41() {
- if (!Subtarget.hasSSE41())
- return;
-}
-
-void X86LegalizerInfo::setLegalizerInfoSSE42() {
- if (!Subtarget.hasSSE42())
- return;
-}
-
void X86LegalizerInfo::setLegalizerInfoAVX() {
if (!Subtarget.hasAVX())
return;
LegacyInfo.setAction({G_EXTRACT, Ty}, LegacyLegalizeActions::Legal);
}
}
-
-void X86LegalizerInfo::setLegalizerInfoAVX512DQ() {
- if (!(Subtarget.hasAVX512() && Subtarget.hasDQI()))
- return;
-}
-
-void X86LegalizerInfo::setLegalizerInfoAVX512BW() {
- if (!(Subtarget.hasAVX512() && Subtarget.hasBWI()))
- return;
-}
void setLegalizerInfo64bit();
void setLegalizerInfoSSE1();
void setLegalizerInfoSSE2();
- void setLegalizerInfoSSE41();
- void setLegalizerInfoSSE42();
void setLegalizerInfoAVX();
void setLegalizerInfoAVX2();
void setLegalizerInfoAVX512();
- void setLegalizerInfoAVX512DQ();
- void setLegalizerInfoAVX512BW();
};
} // namespace llvm
#endif