Lines Matching refs:hasSSE2
296 if (Subtarget.hasSSE2()) { in X86TargetLowering()
314 if (!Subtarget.hasSSE2()) { in X86TargetLowering()
591 if (!Subtarget.useSoftFloat() && Subtarget.hasSSE2()) { in X86TargetLowering()
1000 if (!Subtarget.useSoftFloat() && Subtarget.hasSSE2()) { in X86TargetLowering()
2667 if (Subtarget.hasSSE2() && (Subtarget.getPreferVectorWidth() >= 128)) in getOptimalMemOpType()
2675 Op.size() >= 8 && !Subtarget.is64Bit() && Subtarget.hasSSE2()) { in getOptimalMemOpType()
2697 return Subtarget.hasSSE2(); in isSafeMemOpType()
3139 } else if (!Subtarget.hasSSE2() && in LowerReturn()
3171 if (!Subtarget.hasSSE2()) in LowerReturn()
3471 } else if (!Subtarget.hasSSE2() && in LowerCallResult()
3973 else if (Subtarget.hasSSE2()) in forwardMustTailParameters()
5842 return !Subtarget.hasSSE2() || VT == MVT::f80; in ShouldShrinkFPConstant()
5846 return (VT == MVT::f64 && Subtarget.hasSSE2()) || in isScalarFPTypeInSSEReg()
5925 return Subtarget.hasSSE2(); in hasAndNot()
6339 if (!Subtarget.hasSSE2() && VT.is128BitVector()) { in getZeroVector()
6623 assert(Subtarget.hasSSE2() && "Target assumed to support at least SSE2"); in SplitOpsAndApply()
8821 assert(((VT == MVT::v8i16 && Subtarget.hasSSE2()) || in LowerBuildVectorAsInsert()
9392 if (!Subtarget.hasSSE2() && VT == MVT::v4f32) in EltsFromConsecutiveLoads()
10716 if (Subtarget.hasSSE2() && ISD::isBuildVectorAllOnes(Op.getNode())) { in materializeVectorConstant()
15178 if (!Subtarget.hasSSE2()) { in lowerV4F32Shuffle()
15222 if (!Subtarget.hasSSE2()) { in lowerV4F32Shuffle()
20048 assert(Subtarget.hasSSE2() && "SSE2 required for PINSRW"); in LowerINSERT_VECTOR_ELT()
20751 if (!Subtarget.hasSSE2() || FromVT != MVT::v4i32) in useVectorCast()
20829 if (!Subtarget.hasSSE2() || (VT != MVT::f32 && VT != MVT::f64) || in lowerFPToIntToFP()
20970 if (VT == MVT::v4i32 && Subtarget.hasSSE2() && IsSigned) in isLegalConversion()
21062 if (SrcVT == MVT::i64 && Subtarget.hasSSE2() && !Subtarget.is64Bit()) in LowerSINT_TO_FP()
21540 if (SrcVT == MVT::i64 && DstVT == MVT::f64 && Subtarget.hasSSE2() && in LowerUINT_TO_FP()
21545 if (SrcVT == MVT::i32 && Subtarget.hasSSE2() && DstVT != MVT::f80 && in LowerUINT_TO_FP()
21951 if (!Subtarget.hasSSE2()) in truncateVectorWithPACK()
23527 if (!Subtarget.hasSSE2() || !Op->hasOneUse()) in MatchVectorAllZeroTest()
23849 (VT == MVT::v4f32 && Subtarget.hasSSE2() && !Reciprocal) || in getSqrtEstimate()
24222 if (!Subtarget.hasSSE2()) in LowerVSETCCWithSUBUS()
24599 assert(Subtarget.hasSSE2() && "Don't know how to lower!"); in LowerVSETCC()
24662 assert(Subtarget.hasSSE2() && !FlipSigns && "Don't know how to lower!"); in LowerVSETCC()
25433 if (!(VT.is128BitVector() && Subtarget.hasSSE2()) && in LowerEXTEND_VECTOR_INREG()
25713 if (Subtarget.hasSSE2()) { in LowerStore()
29078 assert(Subtarget.hasSSE2() && !Subtarget.hasSSE41() && in LowerMUL()
29249 assert((VT == MVT::v4i32 && Subtarget.hasSSE2()) || in LowerMULH()
29612 bool LShift = (VT.is128BitVector() && Subtarget.hasSSE2()) || in supportedVectorShiftWithImm()
29915 assert(Subtarget.hasSSE2() && "Only custom lower when we have SSE2!"); in LowerShift()
31259 assert(Subtarget.hasSSE2() && "Requires at least SSE2!"); in LowerBITCAST()
31745 MVT StVT = Subtarget.hasSSE2() ? MVT::v2i64 : MVT::v4f32; in LowerATOMIC_STORE()
32482 assert(Subtarget.hasSSE2() && "Requires at least SSE2!"); in ReplaceNodeResults()
32826 assert(Subtarget.hasSSE2() && "Requires at least SSE2!"); in ReplaceNodeResults()
33056 assert(Subtarget.hasSSE2() && "Requires at least SSE2!"); in ReplaceNodeResults()
33250 MVT LdVT = Subtarget.hasSSE2() ? MVT::v2i64 : MVT::v4f32; in ReplaceNodeResults()
33255 if (Subtarget.hasSSE2()) { in ReplaceNodeResults()
33325 assert(Subtarget.hasSSE2() && "Requires at least SSE2!"); in ReplaceNodeResults()
33344 assert(Subtarget.hasSSE2() && "Requires SSE2"); in ReplaceNodeResults()
33402 if (Subtarget.hasSSE2()) { in ReplaceNodeResults()
34051 } else if (Subtarget.hasSSE2() && in shouldSinkOperands()
37270 SrcVT = DstVT = !Subtarget.hasSSE2() ? MVT::v4f32 : MaskVT; in matchUnaryShuffle()
37311 if (((MaskEltSize == 32) || (MaskEltSize == 64 && Subtarget.hasSSE2()) || in matchUnaryShuffle()
37319 SrcVT = DstVT = !Subtarget.hasSSE2() ? MVT::v4f32 : MaskVT; in matchUnaryShuffle()
37467 ((MaskVT.is128BitVector() && Subtarget.hasSSE2()) || in matchUnaryPermuteShuffle()
37502 ((MaskVT.is128BitVector() && Subtarget.hasSSE2()) || in matchUnaryPermuteShuffle()
37548 Shuffle = Subtarget.hasSSE2() ? X86ISD::UNPCKL : X86ISD::MOVLHPS; in matchBinaryShuffle()
37549 SrcVT = DstVT = Subtarget.hasSSE2() ? MVT::v2f64 : MVT::v4f32; in matchBinaryShuffle()
37555 Shuffle = Subtarget.hasSSE2() ? X86ISD::UNPCKH : X86ISD::MOVHLPS; in matchBinaryShuffle()
37556 SrcVT = DstVT = Subtarget.hasSSE2() ? MVT::v2f64 : MVT::v4f32; in matchBinaryShuffle()
37560 Subtarget.hasSSE2() && (AllowFloatDomain || !Subtarget.hasSSE41())) { in matchBinaryShuffle()
37582 if (((MaskVT == MVT::v8i16 || MaskVT == MVT::v16i8) && Subtarget.hasSSE2()) || in matchBinaryShuffle()
37594 (MaskVT.is128BitVector() && Subtarget.hasSSE2()) || in matchBinaryShuffle()
37788 ((MaskVT.is128BitVector() && Subtarget.hasSSE2()) || in matchBinaryPermuteShuffle()
38149 bool AllowIntDomain = (!FloatDomain || (Depth >= 3)) && Subtarget.hasSSE2() && in combineX86ShuffleChain()
42279 if (Subtarget.hasSSE1() && !Subtarget.hasSSE2()) { in combineBitcastvxi1()
42310 if (!Subtarget.hasSSE2() || (Subtarget.hasAVX512() && !PreferMovMsk)) in combineBitcastvxi1()
42875 (Subtarget.hasSSE2() && VT == MVT::f64) || in combineBitcast()
42877 (Subtarget.hasSSE2() && VT.isInteger() && VT.isVector() && in combineBitcast()
43112 if (!Subtarget.hasSSE2()) in combinePredicateReduction()
43322 if (!Subtarget.hasSSE2()) in combineBasicSADPattern()
43506 ((Idx == 0 && Subtarget.hasSSE2()) || Subtarget.hasSSE41())) { in combineExtractWithShuffle()
43511 if ((VecVT == MVT::v8i16 && Subtarget.hasSSE2()) || in combineExtractWithShuffle()
43699 if (!Subtarget.hasSSE2()) in combineArithReduction()
44070 if (!Subtarget.hasSSE2() || Subtarget.hasAVX512()) in combineToExtendBoolVectorInReg()
44606 (Subtarget.hasSSE2() || in combineSelect()
45778 (FalseOp.getValueType() == MVT::f64 && !Subtarget.hasSSE2()) || in combineCMov()
46052 if (!Subtarget.hasSSE2()) in reduceVMULWidth()
46209 if (!Subtarget.hasSSE2()) in combineMulToPMADDWD()
46321 if (!Subtarget.hasSSE2()) in combineMulToPMULDQ()
46519 if (!Subtarget.hasSSE2()) in combineShiftToPMULH()
47225 if (Subtarget.hasSSE2() && isAndOrOfSetCCs(SDValue(N, 0U), opcode)) { in combineCompareEqual()
47494 (Subtarget.hasSSE2() && N00Type == MVT::f64) || in convertIntLogicToFPLogic()
47870 if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() && VT == MVT::v4i32) { in combineAnd()
48189 if (!((VT.is128BitVector() && Subtarget.hasSSE2()) || in combineLogicBlendIntoPBLENDV()
48398 if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() && VT == MVT::v4i32) { in combineOr()
48583 case MVT::v2i64: if (!Subtarget.hasSSE2()) return SDValue(); break; in foldVectorXorShiftIntoCmp()
48710 if (!Subtarget.hasSSE2() || !VT.isVector()) in combineTruncateWithSat()
48830 if (!Subtarget.hasSSE2()) in detectAVGPattern()
49457 if (VT.is128BitVector() && Subtarget.hasSSE2()) { in combineStore()
49575 !Subtarget.useSoftFloat() && !NoImplicitFloatOps && Subtarget.hasSSE2(); in combineStore()
50195 if (!Subtarget.hasSSE2() || Subtarget.hasAVX512()) in combineVectorTruncation()
50233 if (!Subtarget.hasSSE2()) in combineVectorSignBitsTruncation()
50328 if (!Subtarget.hasSSE2()) in combinePMULH()
50853 if (!VT.isVector() || !Subtarget.hasSSE2()) in lowerX86FPLogicOp()
50900 if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() && VT == MVT::v4i32) { in combineXor()
51017 (VT == MVT::f64 && Subtarget.hasSSE2()) || in combineFAndFNotToFAndn()
51018 (VT == MVT::v4f32 && Subtarget.hasSSE1() && !Subtarget.hasSSE2()))) in combineFAndFNotToFAndn()
51121 (Subtarget.hasSSE2() && VT == MVT::f64) || in combineFMinNumFMaxNum()
51968 ((OpSize == 128 && Subtarget.hasSSE2()) || in combineVectorSizedSetCCEquality()
52201 if (Subtarget.hasSSE1() && !Subtarget.hasSSE2() && VT == MVT::v4i32 && in combineSetCC()
52243 if (Subtarget.hasSSE2() && Src.getOpcode() == ISD::BITCAST && in combineMOVMSK()
53294 if (!Subtarget.hasSSE2()) in matchPMADDWD()
53391 if (!Subtarget.hasSSE2()) in matchPMADDWD_2()
55633 if (!Subtarget.hasSSE2()) in getSingleConstraintMatchWeight()