Home
last modified time | relevance | path

Searched refs:hasAVX (Results 1 – 25 of 37) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenFastISel.inc48 if ((Subtarget->hasSSSE3() && !Subtarget->hasAVX())) {
51 if ((Subtarget->hasAVX()) && (!Subtarget->hasVLX() || !Subtarget->hasBWI())) {
84 if ((Subtarget->hasSSSE3() && !Subtarget->hasAVX())) {
87 if ((Subtarget->hasAVX()) && (!Subtarget->hasVLX() || !Subtarget->hasBWI())) {
120 if ((Subtarget->hasSSSE3() && !Subtarget->hasAVX())) {
123 if ((Subtarget->hasAVX()) && (!Subtarget->hasVLX())) {
346 if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
349 if ((Subtarget->hasAVX() && !Subtarget->hasAVX512())) {
359 if ((Subtarget->hasSSE2() && !Subtarget->hasAVX())) {
362 if ((Subtarget->hasAVX() && !Subtarget->hasAVX512())) {
[all …]
DX86GenCallingConv.inc919 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
1189 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
1253 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
1566 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
1703 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
1991 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
2462 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
3167 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
3743 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
3957 if (static_cast<const X86Subtarget&>(State.getMachineFunction().getSubtarget()).hasAVX()) {
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp59 if (ST->hasAVX()) return 256; in getRegisterBitWidth()
82 if (ST->hasAVX()) in getMaxInterleaveFactor()
302 (ST->hasAVX() && !ST->hasAVX2())) in getArithmeticInstrCost()
388 if (ST->hasAVX() && !ST->hasAVX2()) { in getArithmeticInstrCost()
457 if (ST->hasAVX()) in getShuffleCost()
821 if (ST->hasSSE2() && !ST->hasAVX()) { in getCastInstrCost()
853 if (ST->hasAVX()) { in getCastInstrCost()
931 if (ST->hasAVX()) in getCmpSelInstrCost()
1020 if (ST->hasAVX()) in getIntrinsicInstrCost()
1245 if (ST->hasAVX()) in getReductionCost()
[all …]
DX86Subtarget.h388 bool hasAVX() const { return X86SSELevel >= AVX; } in hasAVX() function
391 bool hasFp256() const { return hasAVX(); } in hasFp256()
DX86VZeroUpper.cpp260 if (!ST.hasAVX() || ST.hasAVX512() || ST.hasFastPartialYMMWrite()) in runOnMachineFunction()
DX86RegisterInfo.cpp246 bool HasAVX = Subtarget.hasAVX(); in getCalleeSavedRegs()
345 bool HasAVX = Subtarget.hasAVX(); in getCallPreservedMask()
DX86FastISel.cpp352 bool HasAVX = Subtarget->hasAVX(); in X86FastEmitLoad()
506 bool HasAVX = Subtarget->hasAVX(); in X86FastEmitStore()
1329 bool HasAVX = Subtarget->hasAVX(); in X86ChooseCmpOpcode()
2125 if (Subtarget->hasAVX()) { in X86FastEmitSSESelect()
2274 if (!Subtarget->hasAVX()) in X86SelectSIToFP()
2324 if (Subtarget->hasAVX()) in X86SelectFPExtOrFPTrunc()
2335 unsigned Opc = Subtarget->hasAVX() ? X86::VCVTSS2SDrr : X86::CVTSS2SDrr; in X86SelectFPExt()
2346 unsigned Opc = Subtarget->hasAVX() ? X86::VCVTSD2SSrr : X86::CVTSD2SSrr; in X86SelectFPTrunc()
2657 bool HasAVX = Subtarget->hasAVX(); in fastLowerIntrinsicCall()
2853 bool HasAVX = Subtarget->hasAVX(); in fastLowerIntrinsicCall()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp137 if (ST->hasAVX() && PreferVectorWidth >= 256) in getRegisterBitWidth()
166 if (ST->hasAVX()) in getMaxInterleaveFactor()
436 if (ISD == ISD::SDIV && LT.second == MVT::v8i32 && ST->hasAVX()) in getArithmeticInstrCost()
438 if (ISD == ISD::SREM && LT.second == MVT::v8i32 && ST->hasAVX()) in getArithmeticInstrCost()
664 ((VT == MVT::v16i16 || VT == MVT::v8i32) && ST->hasAVX())) in getArithmeticInstrCost()
747 if (ST->hasAVX()) in getArithmeticInstrCost()
1181 if (ST->hasAVX()) in getShuffleCost()
1639 if (ST->hasSSE2() && !ST->hasAVX()) { in getCastInstrCost()
1682 if (ST->hasAVX()) { in getCastInstrCost()
1861 if (ST->hasAVX()) in getCmpSelInstrCost()
[all …]
DX86VZeroUpper.cpp282 if (!ST.hasAVX() || !ST.insertVZEROUPPER()) in runOnMachineFunction()
DX86RegisterInfo.cpp286 bool HasAVX = Subtarget.hasAVX(); in getCalleeSavedRegs()
413 bool HasAVX = Subtarget.hasAVX(); in getCallPreservedMask()
DX86FastISel.cpp322 bool HasAVX = Subtarget->hasAVX(); in X86FastEmitLoad()
489 bool HasAVX = Subtarget->hasAVX(); in X86FastEmitStore()
1341 bool HasAVX = Subtarget->hasAVX(); in X86ChooseCmpOpcode()
2176 if (CC > 7 && !Subtarget->hasAVX()) in X86FastEmitSSESelect()
2231 } else if (Subtarget->hasAVX()) { in X86FastEmitSSESelect()
2413 if (!Subtarget->hasAVX() || (!IsSigned && !HasAVX512)) in X86SelectIntToFP()
2475 bool HasAVX = Subtarget->hasAVX(); in X86SelectFPExtOrFPTrunc()
2509 : Subtarget->hasAVX() ? X86::VCVTSS2SDrr : X86::CVTSS2SDrr; in X86SelectFPExt()
2523 : Subtarget->hasAVX() ? X86::VCVTSD2SSrr : X86::CVTSD2SSrr; in X86SelectFPTrunc()
2823 Subtarget->hasAVX() ? 1 : in fastLowerIntrinsicCall()
[all …]
DX86CallingConv.td116 CCIfSubtarget<"hasAVX()", CCAssignToReg<RC.YMM>>>,
192 CCIfSubtarget<"hasAVX()", CCAssignToReg<RC.YMM>>>,
552 CCIfSubtarget<"hasAVX()",
686 CCIfSubtarget<"hasAVX()",
760 CCIfSubtarget<"hasAVX()",
779 CCIfSubtarget<"hasAVX()",
DX86Subtarget.h590 bool hasAVX() const { return X86SSELevel >= AVX; } in hasAVX() function
DX86LegalizerInfo.cpp370 if (!Subtarget.hasAVX()) in setLegalizerInfoAVX()
DX86ISelDAGToDAG.cpp5206 unsigned ROpc = Subtarget->hasAVX() ? X86::VPCMPISTRMrr : X86::PCMPISTRMrr; in Select()
5207 unsigned MOpc = Subtarget->hasAVX() ? X86::VPCMPISTRMrm : X86::PCMPISTRMrm; in Select()
5212 unsigned ROpc = Subtarget->hasAVX() ? X86::VPCMPISTRIrr : X86::PCMPISTRIrr; in Select()
5213 unsigned MOpc = Subtarget->hasAVX() ? X86::VPCMPISTRIrm : X86::PCMPISTRIrm; in Select()
5241 unsigned ROpc = Subtarget->hasAVX() ? X86::VPCMPESTRMrr : X86::PCMPESTRMrr; in Select()
5242 unsigned MOpc = Subtarget->hasAVX() ? X86::VPCMPESTRMrm : X86::PCMPESTRMrm; in Select()
5248 unsigned ROpc = Subtarget->hasAVX() ? X86::VPCMPESTRIrr : X86::PCMPESTRIrr; in Select()
5249 unsigned MOpc = Subtarget->hasAVX() ? X86::VPCMPESTRIrm : X86::PCMPESTRIrm; in Select()
DX86InstructionSelector.cpp399 bool HasAVX = STI.hasAVX(); in getLoadStoreOp()
1167 bool HasAVX = STI.hasAVX(); in selectExtract()
1300 bool HasAVX = STI.hasAVX(); in selectInsert()
/external/llvm-project/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp137 if (ST->hasAVX() && PreferVectorWidth >= 256) in getRegisterBitWidth()
166 if (ST->hasAVX()) in getMaxInterleaveFactor()
480 if (ISD == ISD::SDIV && LT.second == MVT::v8i32 && ST->hasAVX()) in getArithmeticInstrCost()
482 if (ISD == ISD::SREM && LT.second == MVT::v8i32 && ST->hasAVX()) in getArithmeticInstrCost()
731 ((VT == MVT::v16i16 || VT == MVT::v8i32) && ST->hasAVX())) in getArithmeticInstrCost()
820 if (ST->hasAVX()) in getArithmeticInstrCost()
1306 if (ST->hasAVX()) in getShuffleCost()
2010 if (ST->hasSSE2() && !ST->hasAVX()) { in getCastInstrCost()
2064 if (ST->hasAVX()) { in getCastInstrCost()
2257 if (ST->hasAVX()) in getCmpSelInstrCost()
[all …]
DX86VZeroUpper.cpp290 if (!ST.hasAVX() || !ST.insertVZEROUPPER()) in runOnMachineFunction()
DX86FastISel.cpp321 bool HasAVX = Subtarget->hasAVX(); in X86FastEmitLoad()
488 bool HasAVX = Subtarget->hasAVX(); in X86FastEmitStore()
1357 bool HasAVX = Subtarget->hasAVX(); in X86ChooseCmpOpcode()
2192 if (CC > 7 && !Subtarget->hasAVX()) in X86FastEmitSSESelect()
2247 } else if (Subtarget->hasAVX()) { in X86FastEmitSSESelect()
2429 if (!Subtarget->hasAVX() || (!IsSigned && !HasAVX512)) in X86SelectIntToFP()
2491 bool HasAVX = Subtarget->hasAVX(); in X86SelectFPExtOrFPTrunc()
2525 : Subtarget->hasAVX() ? X86::VCVTSS2SDrr : X86::CVTSS2SDrr; in X86SelectFPExt()
2539 : Subtarget->hasAVX() ? X86::VCVTSD2SSrr : X86::CVTSD2SSrr; in X86SelectFPTrunc()
2843 Subtarget->hasAVX() ? 1 : in fastLowerIntrinsicCall()
[all …]
DX86RegisterInfo.cpp281 bool HasAVX = Subtarget.hasAVX(); in getCalleeSavedRegs()
408 bool HasAVX = Subtarget.hasAVX(); in getCallPreservedMask()
DX86CallingConv.td116 CCIfSubtarget<"hasAVX()", CCAssignToReg<RC.YMM>>>,
192 CCIfSubtarget<"hasAVX()", CCAssignToReg<RC.YMM>>>,
558 CCIfSubtarget<"hasAVX()",
692 CCIfSubtarget<"hasAVX()",
766 CCIfSubtarget<"hasAVX()",
785 CCIfSubtarget<"hasAVX()",
DX86Subtarget.h626 bool hasAVX() const { return X86SSELevel >= AVX; } in hasAVX() function
DX86LegalizerInfo.cpp365 if (!Subtarget.hasAVX()) in setLegalizerInfoAVX()
DX86InstructionSelector.cpp400 bool HasAVX = STI.hasAVX(); in getLoadStoreOp()
1122 bool HasAVX = STI.hasAVX(); in selectExtract()
1255 bool HasAVX = STI.hasAVX(); in selectInsert()
DX86InterleavedAccess.cpp140 if (!Subtarget.hasAVX() || (Factor != 4 && Factor != 3)) in isSupported()

12