Searched refs:NumSubElts (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 122 int NumSubElts = SubVTy->getNumElements(); in getExtractSubvectorOverhead() local 124 (Index + NumSubElts) <= in getExtractSubvectorOverhead() 132 for (int i = 0; i != NumSubElts; ++i) { in getExtractSubvectorOverhead() 147 int NumSubElts = SubVTy->getNumElements(); in getInsertSubvectorOverhead() local 149 (Index + NumSubElts) <= in getInsertSubvectorOverhead() 157 for (int i = 0; i != NumSubElts; ++i) { in getInsertSubvectorOverhead() 1174 unsigned NumSubElts = NumElts / Factor; variable 1244 for (unsigned i = 0; i < NumSubElts; i++) 1250 for (unsigned i = 0; i < NumSubElts; i++) 1266 for (unsigned i = 0; i < NumSubElts; i++) [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 827 if (DemandedElts.extractBits(NumSubElts, Idx) == 0) in SimplifyMultipleUseDemandedBits() 1105 unsigned NumSubElts = SubVT.getVectorNumElements(); in SimplifyDemandedBits() local 1108 DemandedElts.extractBits(NumSubElts, i * NumSubElts); in SimplifyDemandedBits() 2570 unsigned NumSubElts = SubVT.getVectorNumElements(); in SimplifyDemandedVectorElts() local 2573 APInt SubElts = DemandedElts.extractBits(NumSubElts, i * NumSubElts); in SimplifyDemandedVectorElts() 2578 KnownUndef.insertBits(SubUndef, i * NumSubElts); in SimplifyDemandedVectorElts() 2579 KnownZero.insertBits(SubZero, i * NumSubElts); in SimplifyDemandedVectorElts() 7806 unsigned NumSubElts) { in clampDynamicVectorIndex() argument 7817 if (IdxCst->getZExtValue() + (NumSubElts - 1) < NElts) in clampDynamicVectorIndex() 7826 if (isPowerOf2_32(NElts) && NumSubElts == 1) { in clampDynamicVectorIndex() [all …]
|
| H A D | SelectionDAG.cpp | 2878 unsigned NumSubElts = Sub.getValueType().getVectorNumElements(); in computeKnownBits() local 2879 APInt DemandedSubElts = DemandedElts.extractBits(NumSubElts, Idx); in computeKnownBits() 2881 DemandedSrcElts.insertBits(APInt::getNullValue(NumSubElts), Idx); in computeKnownBits() 4126 unsigned NumSubElts = Sub.getValueType().getVectorNumElements(); in ComputeNumSignBits() local 4127 APInt DemandedSubElts = DemandedElts.extractBits(NumSubElts, Idx); in ComputeNumSignBits() 4129 DemandedSrcElts.insertBits(APInt::getNullValue(NumSubElts), Idx); in ComputeNumSignBits() 9920 auto PartialReduction = [&](SDValue Op, unsigned NumSubElts) { in matchBinOpReduction() argument 9925 EVT SubVT = EVT::getVectorVT(*getContext(), OpSVT, NumSubElts); in matchBinOpReduction()
|
| H A D | DAGCombiner.cpp | 21892 int NumSubElts = NumElts * Split; in XformToShuffleWithZero() local 21896 for (int i = 0; i != NumSubElts; ++i) { in XformToShuffleWithZero() 21903 Indices.push_back(i + NumSubElts); in XformToShuffleWithZero() 21924 Indices.push_back(i + NumSubElts); in XformToShuffleWithZero() 21931 EVT ClearVT = EVT::getVectorVT(*DAG.getContext(), ClearSVT, NumSubElts); in XformToShuffleWithZero()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 1073 int NumSubElts = SubLT.second.getVectorNumElements(); in getShuffleCost() local 1074 if ((Index % NumSubElts) == 0 && (NumElts % NumSubElts) == 0) in getShuffleCost() 1083 if (NumSubElts > OrigSubElts && (Index % OrigSubElts) == 0 && in getShuffleCost() 1084 (NumSubElts % OrigSubElts) == 0 && in getShuffleCost() 1089 assert(NumElts >= NumSubElts && NumElts > OrigSubElts && in getShuffleCost() 1095 int ExtractIndex = alignDown((Index % NumElts), NumSubElts); in getShuffleCost() 1120 int NumSubElts = SubLT.second.getVectorNumElements(); in getShuffleCost() local 1121 if ((Index % NumSubElts) == 0 && (NumElts % NumSubElts) == 0) in getShuffleCost()
|
| H A D | X86InstCombineIntrinsic.cpp | 264 for (unsigned i = 0, NumSubElts = 64 / BitWidth; i != NumSubElts; ++i) { in simplifyX86immShift() local 265 unsigned SubEltIdx = (NumSubElts - 1) - i; in simplifyX86immShift()
|
| H A D | X86ISelLowering.cpp | 6719 APInt UndefSubElts(NumSubElts, 0); in getTargetConstantBitsFromNode() 6789 if ((BaseIdx + NumSubElts) != NumSrcElts) in getTargetConstantBitsFromNode() 7641 if (SubMask.size() != NumSubElts) { in getFauxShuffleMask() 7651 NumSubElts = SubMask.size(); in getFauxShuffleMask() 7666 int InputIdx = M / NumSubElts; in getFauxShuffleMask() 8080 uint64_t SubIdx = Index / NumSubElts; in getShuffleScalarElt() 8081 uint64_t SubElt = Index % NumSubElts; in getShuffleScalarElt() 12522 for (int j = 0; j != NumSubElts; ++j) { in matchShuffleAsBitRotate() 12526 if (!isInRange(M, i, i + NumSubElts)) in matchShuffleAsBitRotate() 12528 int Offset = (NumSubElts - (M - (i + j))) % NumSubElts; in matchShuffleAsBitRotate() [all …]
|