Home
last modified time | relevance | path

Searched refs:hasSSE2 (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Subtarget.h194 bool hasSSE2() const { return X86SSELevel >= SSE2; } in hasSSE2() function
271 bool hasCLFLUSH() const { return hasSSE2() || is64Bit(); } in hasCLFLUSH()
276 bool hasMFence() const { return hasSSE2() || is64Bit(); } in hasMFence()
H A DX86InstrPredicates.td55 def HasSSE2 : Predicate<"Subtarget->hasSSE2()">;
56 def UseSSE2 : Predicate<"Subtarget->hasSSE2() && !Subtarget->hasAVX()">;
154 def FPStackf64 : Predicate<"!Subtarget->hasSSE2()">;
H A DX86PartialReduction.cpp106 if (!ST->hasSSE2()) in tryMAddReplacement()
217 if (!ST->hasSSE2()) in trySADReplacement()
H A DX86FastISel.cpp150 return (VT == MVT::f64 && Subtarget->hasSSE2()) || in isScalarFPTypeInSSEReg()
299 if (VT == MVT::f64 && !Subtarget->hasSSE2()) in isTypeLegal()
320 bool HasSSE2 = Subtarget->hasSSE2(); in X86FastEmitLoad()
482 bool HasSSE2 = Subtarget->hasSSE2(); in X86FastEmitStore()
1362 bool HasSSE2 = Subtarget->hasSSE2(); in X86ChooseCmpOpcode()
2160 (Subtarget->hasSSE2() && RetVT == MVT::f64))) in X86FastEmitSSESelect()
2487 if (Subtarget->hasSSE2() && I->getType()->isDoubleTy() && in X86SelectFPExt()
2501 if (Subtarget->hasSSE2() && I->getType()->isFloatTy() && in X86SelectFPTrunc()
2977 if (!Subtarget->hasSSE2()) in fastLowerIntrinsicCall()
3693 if (!Subtarget->hasSSE2()) in fastSelectInstruction()
[all …]
H A DX86ISelLoweringCall.cpp302 if (Subtarget.hasSSE2() && (Subtarget.getPreferVectorWidth() >= 128)) in getOptimalMemOpType()
310 Op.size() >= 8 && !Subtarget.is64Bit() && Subtarget.hasSSE2()) { in getOptimalMemOpType()
332 return Subtarget.hasSSE2(); in isSafeMemOpType()
392 if (!!(Flags & MachineMemOperand::MOStore) && Subtarget.hasSSE2()) in allowsMemoryAccess()
792 } else if (!Subtarget.hasSSE2() && in LowerReturn()
824 if (!Subtarget.hasSSE2()) in LowerReturn()
1127 } else if (!Subtarget.hasSSE2() && in LowerCallResult()
1625 else if (Subtarget.hasSSE2()) in forwardMustTailParameters()
H A DX86TargetTransformInfo.cpp561 if (Op2Info.isUniform() && Op2Info.isConstant() && ST->hasSSE2() && in getArithmeticInstrCost()
681 if (Op2Info.isConstant() && ST->hasSSE2()) in getArithmeticInstrCost()
826 if (ST->hasSSE2() && Op2Info.isUniform() && in getArithmeticInstrCost()
1071 if (((VT == MVT::v8i16 || VT == MVT::v4i32) && ST->hasSSE2()) || in getArithmeticInstrCost()
1419 if (ST->hasSSE2()) in getArithmeticInstrCost()
1667 if (ST->hasSSE2()) in getShuffleCost()
2138 if (ST->hasSSE2()) { in getShuffleCost()
3045 if (ST->hasSSE2()) { in getCastInstrCost()
3117 if (ST->hasSSE2()) in getCastInstrCost()
3218 (ST->hasSSE2() && MTy.getScalarSizeInBits() < 32)) { in getCmpSelInstrCost()
[all …]
H A DX86CallingConv.td305 CCIfInReg<CCIfSubtarget<"hasSSE2()",
321 CCIfType<[f32], CCIfSubtarget<"hasSSE2()", CCAssignToReg<[XMM0,XMM1,XMM2]>>>,
322 CCIfType<[f64], CCIfSubtarget<"hasSSE2()", CCAssignToReg<[XMM0,XMM1,XMM2]>>>,
578 CCIfSubtarget<"hasSSE2()",
841 CCIfSubtarget<"hasSSE2()",
992 CCIfSubtarget<"hasSSE2()",
H A DX86PreTileConfig.cpp397 assert(ST.hasSSE2() && "AMX should assume SSE2 enabled"); in runOnMachineFunction()
H A DX86LegalizerInfo.cpp
H A DX86FastPreTileConfig.cpp181 assert(ST->hasSSE2() && "AMX should assume SSE2 enabled"); in InitializeTileConfigStackSpace()
H A DX86ISelLowering.cpp327 if (Subtarget.hasSSE2()) { in X86TargetLowering()
345 if (!Subtarget.hasSSE2()) { in X86TargetLowering()
636 if (!Subtarget.useSoftFloat() && Subtarget.hasSSE2()) { in X86TargetLowering()
1069 if (!Subtarget.useSoftFloat() && Subtarget.hasSSE2()) { in X86TargetLowering()
3251 return !Subtarget.hasSSE2() || VT == MVT::f80; in ShouldShrinkFPConstant()
3255 return (VT == MVT::f64 && Subtarget.hasSSE2()) || in isScalarFPTypeInSSEReg()
3334 return Subtarget.hasSSE2(); in hasAndNot()
3875 if (!Subtarget.hasSSE2() && VT.is128BitVector()) { in getZeroVector()
4222 assert(Subtarget.hasSSE2() && "Target assumed to support at least SSE2"); in SplitOpsAndApply()
6505 assert(((VT == MVT::v8i16 && Subtarget.hasSSE2()) || in LowerBuildVectorAsInsert()
[all …]
H A DX86InstrInfo.cpp2614 assert(Subtarget.hasSSE2() && "Commuting MOVHLP/UNPCKHPD requires SSE2!"); in commuteInstructionImpl()
2894 if (Subtarget.hasSSE2()) in findCommutedOpIndices()
H A DX86ISelDAGToDAG.cpp1277 if (Subtarget->hasSSE2()) { in PreprocessISelDAG()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86RegisterBankInfo.cpp172 bool HasSSE2 = ST->hasSSE2(); in getPartialMappingIdx()
H A DX86LegalizerInfo.cpp37 bool HasSSE2 = Subtarget.hasSSE2(); in X86LegalizerInfo()