Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp15559 EVT InVT1 = VecIn1.getValueType(); in createBuildVecShuffle() local
15560 EVT InVT2 = VecIn2.getNode() ? VecIn2.getValueType() : InVT1; in createBuildVecShuffle()
15572 Vec2Offset = InVT1.getVectorNumElements(); in createBuildVecShuffle()
15576 if (InVT1 != VT || InVT2 != VT) { in createBuildVecShuffle()
15577 if ((VT.getSizeInBits() % InVT1.getSizeInBits() == 0) && InVT1 == InVT2) { in createBuildVecShuffle()
15580 unsigned NumConcats = VT.getSizeInBits() / InVT1.getSizeInBits(); in createBuildVecShuffle()
15582 SmallVector<SDValue, 2> ConcatOps(NumConcats, DAG.getUNDEF(InVT1)); in createBuildVecShuffle()
15584 ConcatOps[1] = VecIn2 ? VecIn2 : DAG.getUNDEF(InVT1); in createBuildVecShuffle()
15587 } else if (InVT1.getSizeInBits() == VT.getSizeInBits() * 2) { in createBuildVecShuffle()
15588 if (!TLI.isExtractSubvectorCheap(VT, InVT1, NumElems)) in createBuildVecShuffle()
[all …]