Home
last modified time | relevance | path

Searched refs:NumElemsPerConcat (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp13349 unsigned NumElemsPerConcat = ConcatVT.getVectorNumElements(); in partitionShuffleOfConcats() local
13350 unsigned NumConcats = NumElts / NumElemsPerConcat; in partitionShuffleOfConcats()
13355 if (NumElemsPerConcat * 2 == NumElts && N1.isUndef() && in partitionShuffleOfConcats()
13356 std::all_of(SVN->getMask().begin() + NumElemsPerConcat, in partitionShuffleOfConcats()
13359 makeArrayRef(SVN->getMask().begin(), NumElemsPerConcat)); in partitionShuffleOfConcats()
13368 unsigned Begin = I * NumElemsPerConcat; in partitionShuffleOfConcats()
13370 for (unsigned J = Begin; J != Begin + NumElemsPerConcat; ++J) { in partitionShuffleOfConcats()
13378 if (SVN->getMaskElt(Begin) % NumElemsPerConcat != 0) in partitionShuffleOfConcats()
13381 for (unsigned J = 1; J != NumElemsPerConcat; ++J) in partitionShuffleOfConcats()
13385 unsigned FirstElt = SVN->getMaskElt(Begin) / NumElemsPerConcat; in partitionShuffleOfConcats()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp16540 unsigned NumElemsPerConcat = ConcatVT.getVectorNumElements(); in partitionShuffleOfConcats() local
16541 unsigned NumConcats = NumElts / NumElemsPerConcat; in partitionShuffleOfConcats()
16546 if (NumElemsPerConcat * 2 == NumElts && N1.isUndef() && in partitionShuffleOfConcats()
16547 std::all_of(SVN->getMask().begin() + NumElemsPerConcat, in partitionShuffleOfConcats()
16550 makeArrayRef(SVN->getMask().begin(), NumElemsPerConcat)); in partitionShuffleOfConcats()
16559 unsigned Begin = I * NumElemsPerConcat; in partitionShuffleOfConcats()
16561 for (unsigned J = Begin; J != Begin + NumElemsPerConcat; ++J) { in partitionShuffleOfConcats()
16569 if (SVN->getMaskElt(Begin) % NumElemsPerConcat != 0) in partitionShuffleOfConcats()
16572 for (unsigned J = 1; J != NumElemsPerConcat; ++J) in partitionShuffleOfConcats()
16576 unsigned FirstElt = SVN->getMaskElt(Begin) / NumElemsPerConcat; in partitionShuffleOfConcats()