Home
last modified time | relevance | path

Searched refs:NumOpElts (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstructions.cpp1969 int NumOpElts = cast<FixedVectorType>(Op<0>()->getType())->getNumElements(); in commute() local
1978 assert(MaskElt >= 0 && MaskElt < 2 * NumOpElts && "Out-of-range mask"); in commute()
1979 MaskElt = (MaskElt < NumOpElts) ? MaskElt + NumOpElts : MaskElt - NumOpElts; in commute()
2106 static bool isSingleSourceMaskImpl(ArrayRef<int> Mask, int NumOpElts) { in isSingleSourceMaskImpl() argument
2113 assert(I >= 0 && I < (NumOpElts * 2) && in isSingleSourceMaskImpl()
2115 UsesLHS |= (I < NumOpElts); in isSingleSourceMaskImpl()
2116 UsesRHS |= (I >= NumOpElts); in isSingleSourceMaskImpl()
2130 static bool isIdentityMaskImpl(ArrayRef<int> Mask, int NumOpElts) { in isIdentityMaskImpl() argument
2131 if (!isSingleSourceMaskImpl(Mask, NumOpElts)) in isIdentityMaskImpl()
2136 if (Mask[i] != i && Mask[i] != (NumOpElts + i)) in isIdentityMaskImpl()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp19631 int NumOpElts = OpVT.getVectorNumElements(); in combineConcatVectorOfExtracts() local
19641 Mask.append((unsigned)NumOpElts, -1); in combineConcatVectorOfExtracts()
19659 Mask.append((unsigned)NumOpElts, -1); in combineConcatVectorOfExtracts()
19680 for (int i = 0; i != NumOpElts; ++i) in combineConcatVectorOfExtracts()
19684 for (int i = 0; i != NumOpElts; ++i) in combineConcatVectorOfExtracts()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2321 unsigned NumOpElts = in LowerOperation() local
2326 DAG.getIntPtrConstant(OpIdx.index() * NumOpElts, DL)); in LowerOperation()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp11486 unsigned NumOpElts = in lowerInterleavedStore() local
11490 auto *IntVecTy = FixedVectorType::get(IntTy, NumOpElts); in lowerInterleavedStore()