Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp2042 unsigned SrcElts = cast<FixedVectorType>(SrcTy)->getNumElements(); in optimizeVectorResizeWithIntegerBitCasts() local
2045 assert(SrcElts != DestElts && "Element counts should be different."); in optimizeVectorResizeWithIntegerBitCasts()
2055 ShuffleMaskStorage.resize(SrcElts); in optimizeVectorResizeWithIntegerBitCasts()
2058 if (SrcElts > DestElts) { in optimizeVectorResizeWithIntegerBitCasts()
2078 uint32_t NullElt = SrcElts; in optimizeVectorResizeWithIntegerBitCasts()
2082 unsigned DeltaElts = DestElts - SrcElts; in optimizeVectorResizeWithIntegerBitCasts()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1886 unsigned SrcElts = SrcTy->getNumElements(); in optimizeVectorResizeWithIntegerBitCasts() local
1889 assert(SrcElts != DestElts && "Element counts should be different."); in optimizeVectorResizeWithIntegerBitCasts()
1899 ShuffleMaskStorage.resize(SrcElts); in optimizeVectorResizeWithIntegerBitCasts()
1902 if (SrcElts > DestElts) { in optimizeVectorResizeWithIntegerBitCasts()
1922 uint32_t NullElt = SrcElts; in optimizeVectorResizeWithIntegerBitCasts()
1926 unsigned DeltaElts = DestElts - SrcElts; in optimizeVectorResizeWithIntegerBitCasts()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1601 unsigned SrcElts = SrcTy->getNumElements(); in optimizeVectorResize() local
1602 for (unsigned i = 0, e = SrcElts; i != e; ++i) in optimizeVectorResize()
1606 for (unsigned i = 0, e = DestTy->getNumElements()-SrcElts; i != e; ++i) in optimizeVectorResize()
1607 ShuffleMask.push_back(SrcElts); in optimizeVectorResize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp965 APInt SrcElts = APInt::getAllOnesValue(NumSrcElts); in SimplifyDemandedBits() local
969 SrcElts = DemandedElts.zextOrSelf(NumSrcElts).shl(Idx); in SimplifyDemandedBits()
971 if (SimplifyDemandedBits(Src, DemandedBits, SrcElts, Known, TLO, Depth + 1)) in SimplifyDemandedBits()
2366 APInt SrcElts = DemandedElts.zextOrSelf(NumSrcElts).shl(Idx); in SimplifyDemandedVectorElts() local
2368 if (SimplifyDemandedVectorElts(Src, SrcElts, SrcUndef, SrcZero, TLO, in SimplifyDemandedVectorElts()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp30271 unsigned SrcElts = in ReplaceNodeResults() local
30274 MVT VecInVT = MVT::getVectorVT(SrcVT.getSimpleVT(), SrcElts); in ReplaceNodeResults()
30276 if (NumElts != SrcElts) { in ReplaceNodeResults()
37004 unsigned SrcElts = SrcVT.getVectorNumElements(); in combineTargetShuffle() local
37006 C1 != SrcElts || C2 != SrcElts) in combineTargetShuffle()
37850 APInt SrcElts = DemandedElts.zextOrTrunc(SrcVT.getVectorNumElements()); in SimplifyDemandedVectorEltsForTargetNode() local
37851 if (SimplifyDemandedVectorElts(Src, SrcElts, SrcUndef, SrcZero, TLO, in SimplifyDemandedVectorEltsForTargetNode()
37962 APInt SrcElts = APInt::getOneBitSet(SrcVT.getVectorNumElements(), 0); in SimplifyDemandedVectorEltsForTargetNode() local
37963 if (SimplifyDemandedVectorElts(Src, SrcElts, SrcUndef, SrcZero, TLO, in SimplifyDemandedVectorEltsForTargetNode()
37969 Src, SrcElts, TLO.DAG, Depth + 1)) in SimplifyDemandedVectorEltsForTargetNode()
[all …]
/external/clang/lib/Sema/
DSemaChecking.cpp3479 unsigned SrcElts = SrcTy->getAs<VectorType>()->getNumElements(); in SemaConvertVectorExpr() local
3481 if (SrcElts != DstElts) in SemaConvertVectorExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp29110 unsigned SrcElts = in ReplaceNodeResults() local
29113 MVT VecInVT = MVT::getVectorVT(SrcVT.getSimpleVT(), SrcElts); in ReplaceNodeResults()
29115 if (NumElts != SrcElts) { in ReplaceNodeResults()
35501 APInt SrcElts = DemandedElts.zextOrTrunc(SrcVT.getVectorNumElements()); in SimplifyDemandedVectorEltsForTargetNode() local
35502 if (SimplifyDemandedVectorElts(Src, SrcElts, SrcUndef, SrcZero, TLO, in SimplifyDemandedVectorEltsForTargetNode()
35606 APInt SrcElts = APInt::getOneBitSet(SrcVT.getVectorNumElements(), 0); in SimplifyDemandedVectorEltsForTargetNode() local
35607 if (SimplifyDemandedVectorElts(Src, SrcElts, SrcUndef, SrcZero, TLO, in SimplifyDemandedVectorEltsForTargetNode()
35792 APInt SrcElts = APInt::getNullValue(NumElts); in SimplifyDemandedVectorEltsForTargetNode() local
35797 SrcElts.setBit(M); in SimplifyDemandedVectorEltsForTargetNode()
35802 if (SimplifyDemandedVectorElts(OpInputs[Src], SrcElts, SrcUndef, SrcZero, in SimplifyDemandedVectorEltsForTargetNode()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp6177 unsigned SrcElts = SrcTy->castAs<VectorType>()->getNumElements(); in SemaConvertVectorExpr() local
6179 if (SrcElts != DstElts) in SemaConvertVectorExpr()