reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/X86/X86GenCallingConv.inc
  436         if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasSSE2()) {
  601       if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasSSE2()) {
 1467       if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasSSE2()) {
 2887     if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasSSE2()) {
 2924     if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasSSE2()) {
 2936     if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasSSE2()) {
gen/lib/Target/X86/X86GenDAGISel.inc
253359   case 3: return (Subtarget->hasSSE2() && !Subtarget->hasAVX());
253360   case 4: return (Subtarget->hasSSE2());
253380   case 24: return (!Subtarget->hasSSE2());
253389   case 33: return (!Subtarget->hasSSE2()) && (Subtarget->hasCMov());
253395   case 39: return (Subtarget->hasMMX()) && (Subtarget->hasSSE2());
253447   case 91: return (!Subtarget->is64Bit()) && (Subtarget->hasSSE2() && !Subtarget->hasAVX());
253449   case 93: return (Subtarget->is64Bit()) && (Subtarget->hasSSE2() && !Subtarget->hasAVX());
253533   case 177: return (MF->getFunction().hasOptSize()) && (Subtarget->hasSSE2() && !Subtarget->hasAVX());
253535   case 179: return (Subtarget->hasSSE2()) && (!Subtarget->hasAVX512());
253544   case 188: return (Subtarget->hasGFNI()) && (Subtarget->hasSSE2() && !Subtarget->hasAVX());
253553   case 197: return (MF->getFunction().hasOptSize() || !Subtarget->hasSSE41()) && (Subtarget->hasSSE2() && !Subtarget->hasAVX());
gen/lib/Target/X86/X86GenFastISel.inc
  346   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
  359   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
  389   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
  402   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
  412   if ((Subtarget->hasMMX()) && (Subtarget->hasSSE2())) {
  434   if ((Subtarget->hasMMX()) && (Subtarget->hasSSE2())) {
  856   if ((!Subtarget->hasSSE2())) {
  891   if ((!Subtarget->hasSSE2())) {
  926   if ((!Subtarget->hasSSE2())) {
  952   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
  993   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 1069   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 1082   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 1185   if ((!Subtarget->hasSSE2())) {
 1223   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 1226   if ((!Subtarget->hasSSE2())) {
 1280   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 1331   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 1361   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 1812   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 1834   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 1852   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 2668   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 2738   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 3067   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 3080   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 3167   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 3199   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 3269   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 3635   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 3648   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 4219   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 4240   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 4261   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 4303   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 5235   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 5277   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 5839   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 5854   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6019   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6055   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6091   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6127   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6247   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6286   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6322   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6364   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6449   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6455   if ((!Subtarget->hasSSE2())) {
 6509   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6580   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6586   if ((!Subtarget->hasSSE2())) {
 6640   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6711   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6717   if ((!Subtarget->hasSSE2())) {
 6771   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6842   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6848   if ((!Subtarget->hasSSE2())) {
 6902   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 6980   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7100   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7147   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7254   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7293   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7329   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7371   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7616   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7652   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7754   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 7909   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8060   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8096   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8170   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8206   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8242   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8278   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8338   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8374   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8424   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8579   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8734   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8770   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8880   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8919   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8955   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 8997   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9118   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9157   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9193   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9235   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9294   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9330   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9507   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9513   if ((!Subtarget->hasSSE2()) && (Subtarget->hasCMov())) {
 9564   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9908   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
 9959   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
10026   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
10077   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
10144   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
10240   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
10291   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
10358   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
10409   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
10476   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
10706   if ((Subtarget->hasGFNI()) && (Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11050   if ((MF->getFunction().hasOptSize() || !Subtarget->hasSSE41()) && (Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11183   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11219   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11269   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11352   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11373   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11394   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11452   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11473   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11494   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11602   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
11649   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12101   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12126   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12162   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12198   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12237   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12312   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12374   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12410   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12446   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12485   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12560   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
12848   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
13029   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
13044   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
13059   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
13195   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
13210   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
13349   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
13364   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
13379   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
14074   if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
gen/lib/Target/X86/X86GenGlobalISel.inc
  169   if (Subtarget->hasSSE2())
  171   if (Subtarget->hasSSE2() && !Subtarget->hasAVX())
  321   if (!Subtarget->hasSSE2())
lib/Target/X86/X86FastISel.cpp
   64     X86ScalarSSEf64 = Subtarget->hasSSE2();
  486   bool HasSSE2 = Subtarget->hasSSE2();
 1342   bool X86ScalarSSEf64 = Subtarget->hasSSE2();
 2156         (Subtarget->hasSSE2() && RetVT == MVT::f64)))
 2999       if (!Subtarget->hasSSE2())
 3656     if (!Subtarget->hasSSE2())
lib/Target/X86/X86ISelDAGToDAG.cpp
  915       if (Subtarget->hasSSE2()) {
lib/Target/X86/X86ISelLowering.cpp
  111   X86ScalarSSEf64 = Subtarget.hasSSE2();
  831   if (!Subtarget.useSoftFloat() && Subtarget.hasSSE2()) {
 2107       if (Subtarget.hasSSE2() && (Subtarget.getPreferVectorWidth() >= 128))
 2115                !Subtarget.is64Bit() && Subtarget.hasSSE2()) {
 2531                (Subtarget.is64Bit() && !Subtarget.hasSSE2())) {
 2562           if (!Subtarget.hasSSE2())
 2854                (Is64Bit && !Subtarget.hasSSE2())) {
 3452     else if (Subtarget.hasSSE2())
 5083   return Subtarget.hasSSE2();
 5443   if (!Subtarget.hasSSE2() && VT.is128BitVector()) {
 5612   assert(Subtarget.hasSSE2() && "Target assumed to support at least SSE2");
 7416   assert(((VT == MVT::v8i16 && Subtarget.hasSSE2()) ||
 9268   if (Subtarget.hasSSE2() && ISD::isBuildVectorAllOnes(Op.getNode())) {
13210     if (!Subtarget.hasSSE2()) {
13254   if (!Subtarget.hasSSE2()) {
17627       assert(Subtarget.hasSSE2() && "SSE2 required for PINSRW");
18359       if (!Subtarget.hasSSE2() || FromVT != MVT::v4i32)
19192   if (!Subtarget.hasSSE2())
20246       (VT == MVT::v4f32 && Subtarget.hasSSE2() && !Reciprocal) ||
20577   if (!Subtarget.hasSSE2())
20861       assert(Subtarget.hasSSE2() && "Don't know how to lower!");
20902       assert(Subtarget.hasSSE2() && !FlipSigns && "Don't know how to lower!");
21214       ((Subtarget.hasSSE2() && VT == MVT::f64) ||
21606   if (!(VT.is128BitVector() && Subtarget.hasSSE2()) &&
21881   if (Subtarget.hasSSE2()) {
25088     assert(Subtarget.hasSSE2() && !Subtarget.hasSSE41() &&
25177     assert((VT == MVT::v4i32 && Subtarget.hasSSE2()) ||
25450   bool LShift = (VT.is128BitVector() && Subtarget.hasSSE2()) ||
25775   assert(Subtarget.hasSSE2() && "Only custom lower when we have SSE2!");
26455       !Subtarget.useSoftFloat() && !NoImplicitFloatOps && Subtarget.hasSSE2())
26474       (Subtarget.hasSSE2() || Subtarget.hasX87()))
26802   assert(Subtarget.hasSSE2() && "Requires at least SSE2!");
27221         Subtarget.hasSSE2()) {
27870     assert(Subtarget.hasSSE2() && "Requires at least SSE2!");
28159       assert(Subtarget.hasSSE2() && "Requires at least SSE2!");
28216     assert(Subtarget.hasSSE2() && "Requires at least SSE2!");
28368       if (Subtarget.hasSSE2()) {
28437     assert(Subtarget.hasSSE2() && "Requires at least SSE2!");
28523     if (Subtarget.hasSSE2()) {
31826     SrcVT = DstVT = !Subtarget.hasSSE2() ? MVT::v4f32 : MaskVT;
31869   if (((MaskEltSize == 32) || (MaskEltSize == 64 && Subtarget.hasSSE2())) &&
31873     SrcVT = DstVT = !Subtarget.hasSSE2() ? MVT::v4f32 : MaskVT;
32049   if (AllowIntDomain && ((MaskVT.is128BitVector() && Subtarget.hasSSE2()) ||
32077       Shuffle = Subtarget.hasSSE2() ? X86ISD::UNPCKL : X86ISD::MOVLHPS;
32078       SrcVT = DstVT = Subtarget.hasSSE2() ? MVT::v2f64 : MVT::v4f32;
32083       Shuffle = Subtarget.hasSSE2() ? X86ISD::UNPCKH : X86ISD::MOVHLPS;
32084       SrcVT = DstVT = Subtarget.hasSSE2() ? MVT::v2f64 : MVT::v4f32;
32087     if (isTargetShuffleEquivalent(Mask, {0, 3}) && Subtarget.hasSSE2() &&
32103   if (((MaskVT == MVT::v8i16 || MaskVT == MVT::v16i8) && Subtarget.hasSSE2()) ||
32115       (MaskVT.is128BitVector() && Subtarget.hasSSE2()) ||
32201       ((MaskVT.is128BitVector() && Subtarget.hasSSE2()) ||
32409   bool AllowIntDomain = (!FloatDomain || (Depth >= 3)) && Subtarget.hasSSE2() &&
35232   if (!Subtarget.hasSSE2() || (Subtarget.hasAVX512() && !IsTruncated))
35478     if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() && SrcVT == MVT::v4i1 &&
35667         (Subtarget.hasSSE2() && VT == MVT::f64)))
35826   if (!Subtarget.hasSSE2())
35955   if (!Subtarget.hasSSE2())
36144       ((SrcIdx == 0 && Subtarget.hasSSE2()) || Subtarget.hasSSE41())) {
36151   if ((SrcVT == MVT::v8i16 && Subtarget.hasSSE2()) ||
36270   if (!Subtarget.hasSSE2())
36838       (Subtarget.hasSSE2() ||
37092       Subtarget.hasSSE2() && VT.getVectorNumElements() >= 2 &&
37161       Subtarget.hasSSE2() && VT.getVectorNumElements() >= 2 &&
37866   if (!Subtarget.hasSSE2())
38020   if (!Subtarget.hasSSE2())
38068   if (!Subtarget.hasSSE2())
38656   if (Subtarget.hasSSE2() && isAndOrOfSetCCs(SDValue(N, 0U), opcode)) {
38867         (Subtarget.hasSSE2() && N00Type == MVT::f64)))
39175   if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() && VT == MVT::v4i32) {
39443   if (!((VT.is128BitVector() && Subtarget.hasSSE2()) ||
39598   if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() && VT == MVT::v4i32) {
39836   case MVT::v4i32: if (!Subtarget.hasSSE2()) return SDValue(); break;
39964   if (!Subtarget.hasSSE2() || !VT.isVector())
40085   if (!Subtarget.hasSSE2())
40593     if (VT.is128BitVector() && Subtarget.hasSSE2()) {
40665       !Subtarget.useSoftFloat() && !NoImplicitFloatOps && Subtarget.hasSSE2();
41077   if (!Subtarget.hasSSE2() || Subtarget.hasAVX2())
41112   if (!Subtarget.hasSSE2())
41176   if (!Subtarget.hasSSE2())
41690   if (!VT.isVector() || !Subtarget.hasSSE2())
41734   if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() &&
41819         (VT == MVT::f64 && Subtarget.hasSSE2()) ||
41820         (VT == MVT::v4f32 && Subtarget.hasSSE1() && !Subtarget.hasSSE2())))
41921         (Subtarget.hasSSE2() && VT == MVT::f64) ||
42330   if (!Subtarget.hasSSE2() || Subtarget.hasAVX512())
42690   if ((OpSize == 128 && Subtarget.hasSSE2()) ||
42889   if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() && VT == MVT::v4i32 &&
42919   if (Subtarget.hasSSE2() && Src.getOpcode() == ISD::BITCAST &&
43693   if (!Subtarget.hasSSE2())
43756   if (!Subtarget.hasSSE2())
43843   if (!Subtarget.hasSSE2())
43944   if (!Subtarget.hasSSE2())
44130   if (!(Subtarget.hasSSE2() && (EltVT == MVT::i8 || EltVT == MVT::i16)) &&
45488         if (!Subtarget.hasSSE2())
45576     if (Subtarget.hasSSE2())
45877       if (!Subtarget.hasSSE2()) break;
lib/Target/X86/X86InstrInfo.cpp
 1788     assert(Subtarget.hasSSE2() && "Commuting MOVHLP/UNPCKHPD requires SSE2!");
 2051     if (Subtarget.hasSSE2())
lib/Target/X86/X86LegalizerInfo.cpp
  314   if (!Subtarget.hasSSE2())
lib/Target/X86/X86Subtarget.h
  756   bool hasMFence() const { return hasSSE2() || is64Bit(); }
lib/Target/X86/X86TargetTransformInfo.cpp
  342       ST->hasSSE2() && !ST->hasXOP()) {
  433       ST->hasSSE2()) {
  477   if (ST->hasSSE2() &&
  644   if (ST->hasSSE2() &&
  662     if (((VT == MVT::v8i16 || VT == MVT::v4i32) && ST->hasSSE2()) ||
  843   if (ST->hasSSE2())
 1253   if (ST->hasSSE2())
 1630   if (ST->hasSSE2() && !ST->hasAVX()) {
 1685   if (ST->hasSSE2()) {
 1730             (ST->hasSSE2() && MTy.getScalarSizeInBits() < 32)) {
 1864   if (ST->hasSSE2())
 2242     if (ST->hasSSE2())
 2602       if (ST->hasSSE2())
 2610       if (ST->hasSSE2())
 2625     if (ST->hasSSE2())
 2633     if (ST->hasSSE2())
 2675     if (ST->hasSSE2())
 2872     if (ST->hasSSE2())
 2901     if (ST->hasSSE2())
 3448     if (PreferredWidth >= 128 && ST->hasSSE2()) Options.LoadSizes.push_back(16);