/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 1613 Kind = TTI::SK_PermuteSingleSrc; in getShuffleCost() 1660 {TTI::SK_PermuteSingleSrc, MVT::v4i16, 1}, // pshuflw in getShuffleCost() 1661 {TTI::SK_PermuteSingleSrc, MVT::v2i16, 1}, // pshuflw in getShuffleCost() 1662 {TTI::SK_PermuteSingleSrc, MVT::v8i8, 5}, // punpck/pshuflw in getShuffleCost() 1663 {TTI::SK_PermuteSingleSrc, MVT::v4i8, 3}, // punpck/pshuflw in getShuffleCost() 1664 {TTI::SK_PermuteSingleSrc, MVT::v2i8, 1}, // punpck in getShuffleCost() 1676 if (Kind == TTI::SK_PermuteSingleSrc && LT.first != 1) { in getShuffleCost() 1730 Cost += getShuffleCost(TTI::SK_PermuteSingleSrc, SingleOpTy, in getShuffleCost() 1774 {TTI::SK_PermuteSingleSrc, MVT::v64i8, 1}, // vpermb in getShuffleCost() 1775 {TTI::SK_PermuteSingleSrc, MVT::v32i8, 1}, // vpermb in getShuffleCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 269 NewCost += TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, MinVecTy, Mask); in vectorizeLoadInsert() 483 TTI.getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, VecTy); in isExtractExtractCheap() 760 IsUnary ? TargetTransformInfo::SK_PermuteSingleSrc in foldBitcastShuffle() 1093 NewCost += TTI.getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, CmpTy, in foldExtractedCmps() 1441 SK0 = TargetTransformInfo::SK_PermuteSingleSrc; in foldShuffleOfBinops() 1449 SK1 = TargetTransformInfo::SK_PermuteSingleSrc; in foldShuffleOfBinops() 1649 TTI.getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, ShuffleSrcTy, in foldShuffleOfShuffles() 1651 TTI.getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, ShuffleSrcTy, in foldShuffleOfShuffles() 2094 UsesSecondVec ? TTI::SK_PermuteTwoSrc : TTI::SK_PermuteSingleSrc, in foldShuffleFromReductions() 2097 UsesSecondVec ? TTI::SK_PermuteTwoSrc : TTI::SK_PermuteSingleSrc, in foldShuffleFromReductions() [all …]
|
H A D | SLPVectorizer.cpp | 633 : TargetTransformInfo::SK_PermuteSingleSrc; in isFixedVectorShuffle() 4248 *GatherShuffles.front() == TTI::SK_PermuteSingleSrc && in findReusedOrderedScalars() 5147 : TTI->getShuffleCost(TTI::SK_PermuteSingleSrc, Ty, Mask); in getReorderingData() 8400 GatherCost += ::getShuffleCost(TTI, TTI::SK_PermuteSingleSrc, in getBuildVectorCost() 8489 TTI::ShuffleKind ShuffleKind = TTI::SK_PermuteSingleSrc; in computeExtractCost() 8544 if (*ShuffleKinds[Part] != TTI::SK_PermuteSingleSrc || in computeExtractCost() 8552 if (*RegShuffleKind != TTI::SK_PermuteSingleSrc || in computeExtractCost() 8669 return TTI.getShuffleCost(TTI::SK_PermuteSingleSrc, in createShuffleVector() 9304 TTI->getShuffleCost(TTI::SK_PermuteSingleSrc, FinalVecTy, Mask); in getEntryCost() 9538 Cost += TTI->getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, in getEntryCost() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 4108 Cost += getShuffleCost(NumSources <= 1 ? TTI::SK_PermuteSingleSrc in getShuffleCost() 4125 Kind = TTI::SK_PermuteSingleSrc; in getShuffleCost() 4151 (Kind == TTI::SK_PermuteTwoSrc || Kind == TTI::SK_PermuteSingleSrc) && in getShuffleCost() 4162 (Kind == TTI::SK_PermuteTwoSrc || Kind == TTI::SK_PermuteSingleSrc) && in getShuffleCost() 4171 Kind == TTI::SK_Select || Kind == TTI::SK_PermuteSingleSrc || in getShuffleCost() 4210 {TTI::SK_PermuteSingleSrc, MVT::v2i32, 1}, // mov. in getShuffleCost() 4211 {TTI::SK_PermuteSingleSrc, MVT::v4i32, 3}, // perfectshuffle worst case. in getShuffleCost() 4212 {TTI::SK_PermuteSingleSrc, MVT::v2i64, 1}, // mov. in getShuffleCost() 4213 {TTI::SK_PermuteSingleSrc, MVT::v2f32, 1}, // mov. in getShuffleCost() 4214 {TTI::SK_PermuteSingleSrc, MVT::v4f32, 3}, // perfectshuffle worst case. in getShuffleCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 1402 IsUnary ? TTI::SK_PermuteSingleSrc : TTI::SK_PermuteTwoSrc, VecTy, in getInstructionCost() 1411 IsUnary ? TTI::SK_PermuteSingleSrc : TTI::SK_PermuteTwoSrc, in getInstructionCost() 1443 return TargetTTI->getShuffleCost(TTI::SK_PermuteSingleSrc, VecTy, Mask, in getInstructionCost()
|
H A D | TargetTransformInfo.h | 1072 SK_PermuteSingleSrc, ///< Shuffle elements of single source vector with any enumerator
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 373 case TTI::SK_PermuteSingleSrc: { in getShuffleCost() 460 Cost += getShuffleCost(IsSingleVector ? TTI::SK_PermuteSingleSrc in getShuffleCost() 681 getShuffleCost(TTI::ShuffleKind::SK_PermuteSingleSrc, SubVecTy, Mask, in getInterleavedMemoryOpCost() 708 getShuffleCost(TTI::ShuffleKind::SK_PermuteSingleSrc, FVTy, Mask, in getInterleavedMemoryOpCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 983 case TTI::SK_PermuteSingleSrc: in improveShuffleKindFromMask() 1038 case TTI::SK_PermuteSingleSrc: 2512 NumReduxLevels * thisT()->getShuffleCost(TTI::SK_PermuteSingleSrc, Ty, in getTreeReductionCost() 2603 NumReduxLevels * thisT()->getShuffleCost(TTI::SK_PermuteSingleSrc, Ty, in getMinMaxReductionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 1129 case TTI::SK_PermuteSingleSrc: { in getShuffleCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 1225 Kind = TTI::SK_PermuteSingleSrc; in getShuffleCost()
|