Home
last modified time | relevance | path

Searched refs:hasAVX2 (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Subtarget.h200 bool hasAVX2() const { return X86SSELevel >= AVX2; } in hasAVX2() function
202 bool hasInt256() const { return hasAVX2(); } in hasInt256()
H A DX86InstrPredicates.td69 def HasAVX2 : Predicate<"Subtarget->hasAVX2()">;
70 def HasAVX1Only : Predicate<"Subtarget->hasAVX() && !Subtarget->hasAVX2()">;
76 def UseAVX2 : Predicate<"Subtarget->hasAVX2() && !Subtarget->hasAVX512()">;
H A DX86TargetTransformInfo.cpp488 if (Op2Info.isUniform() && Op2Info.isConstant() && ST->hasAVX2()) in getArithmeticInstrCost()
626 if (Op2Info.isConstant() && ST->hasAVX2()) in getArithmeticInstrCost()
763 if (ST->hasAVX2() && Op2Info.isUniform()) in getArithmeticInstrCost()
1012 if (ST->hasAVX2() && !(ST->hasXOP() && LT.second == MVT::v4i32)) { in getArithmeticInstrCost()
1187 if (ST->hasAVX2()) in getArithmeticInstrCost()
1557 (ST->hasAVX2() || in getShuffleCost()
1951 if (ST->hasAVX2()) in getShuffleCost()
3024 if (ST->hasAVX2()) { in getCastInstrCost()
3099 if (ST->hasAVX2()) in getCastInstrCost()
3186 !((ST->hasXOP() && (!ST->hasAVX2() || MTy.is128BitVector())) || in getCmpSelInstrCost()
[all …]
H A DX86PreTileConfig.cpp389 } else if (ST.hasAVX2()) { in runOnMachineFunction()
H A DX86PartialReduction.cpp273 } else if (ST->hasAVX2() && NumElts >= 32) { in trySADReplacement()
H A DX86FixupInstTuning.cpp278 return ST->hasAVX2() ? ProcessVPERMILPSmi(X86::VPSHUFDYmi) : false; in processInstruction()
H A DX86LegalizerInfo.cpp
H A DX86FastPreTileConfig.cpp172 } else if (ST->hasAVX2()) { in InitializeTileConfigStackSpace()
H A DX86FixupVectorConstants.cpp337 bool HasAVX2 = ST->hasAVX2(); in processInstruction()
H A DX86ISelLowering.cpp3358 if (Subtarget.hasAVX2()) in shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd()
4230 } else if (Subtarget.hasAVX2()) { in SplitOpsAndApply()
7113 if (!Subtarget.hasAVX2() && ScalarSize < 32) in EltsFromConsecutiveLoads()
7157 if (!Subtarget.hasAVX2() && in EltsFromConsecutiveLoads()
7358 (SplatBitSize < 32 && Subtarget.hasAVX2())) { in lowerBuildVectorAsBroadcast()
7432 if (ConstSplatVal && (Subtarget.hasAVX2() || OptForSize)) { in lowerBuildVectorAsBroadcast()
7442 (CVT == MVT::f16 && Subtarget.hasAVX2()) || in lowerBuildVectorAsBroadcast()
7443 (OptForSize && (ScalarSize == 64 || Subtarget.hasAVX2()))) { in lowerBuildVectorAsBroadcast()
8249 ((VT == MVT::v16i16 || VT == MVT::v8i32) && Subtarget.hasAVX2())) { in LowerToHorizontalOp()
8621 if (Subtarget.hasAVX2()) in createVariablePermute()
[all …]
H A DX86SpeculativeLoadHardening.cpp1660 assert(Subtarget->hasAVX2() && "AVX2-specific register classes!"); in hardenLoadAddr()
H A DX86InstrInfo.cpp8946 if (!Is256 || Subtarget.hasAVX2()) in getExecutionDomainCustom()
9073 if (Subtarget.hasAVX2()) { in setExecutionDomainCustom()
9213 validDomains = Subtarget.hasAVX2() ? 0xe : 0x6; in getExecutionDomain()
9219 if (!Subtarget.hasAVX2()) in getExecutionDomain()
9251 assert((Subtarget.hasAVX2() || Domain < 3) && in setExecutionDomain()
9261 assert(Subtarget.hasAVX2() && in setExecutionDomain()
H A DX86ISelLoweringCall.cpp396 if (!!(Flags & MachineMemOperand::MOLoad) && Subtarget.hasAVX2()) in allowsMemoryAccess()
H A DX86FastISel.cpp323 bool HasAVX2 = Subtarget->hasAVX2(); in X86FastEmitLoad()
H A DX86ISelDAGToDAG.cpp546 return Subtarget->hasAVX2(); in useNonTemporalLoad()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86LegalizerInfo.cpp40 bool HasAVX2 = Subtarget.hasAVX2(); in X86LegalizerInfo()