Home
last modified time | relevance | path

Searched refs:isSplat (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm/unittests/ADT/
DAPIntTest.cpp987 EXPECT_FALSE(A.isSplat(1)); in TEST()
988 EXPECT_FALSE(A.isSplat(2)); in TEST()
989 EXPECT_FALSE(A.isSplat(4)); in TEST()
990 EXPECT_TRUE(A.isSplat(8)); in TEST()
991 EXPECT_TRUE(A.isSplat(16)); in TEST()
992 EXPECT_TRUE(A.isSplat(32)); in TEST()
995 EXPECT_FALSE(B.isSplat(1)); in TEST()
996 EXPECT_TRUE(B.isSplat(2)); in TEST()
997 EXPECT_TRUE(B.isSplat(4)); in TEST()
998 EXPECT_TRUE(B.isSplat(8)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp1613 EXPECT_FALSE(A.isSplat(1)); in TEST()
1614 EXPECT_FALSE(A.isSplat(2)); in TEST()
1615 EXPECT_FALSE(A.isSplat(4)); in TEST()
1616 EXPECT_TRUE(A.isSplat(8)); in TEST()
1617 EXPECT_TRUE(A.isSplat(16)); in TEST()
1618 EXPECT_TRUE(A.isSplat(32)); in TEST()
1621 EXPECT_FALSE(B.isSplat(1)); in TEST()
1622 EXPECT_TRUE(B.isSplat(2)); in TEST()
1623 EXPECT_TRUE(B.isSplat(4)); in TEST()
1624 EXPECT_TRUE(B.isSplat(8)); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp537 bool isSplat = true; in visitShuffleVectorInst() local
548 isSplat = false; in visitShuffleVectorInst()
556 if (isSplat || NewMask == LHSMask || NewMask == Mask) { in visitShuffleVectorInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp46 if (CV->getElementType()->isFloatingPointTy() && CV->isSplat()) in isNegativeZeroValue()
72 if (CV->getElementType()->isFloatingPointTy() && CV->isSplat()) in isZeroValue()
116 if (CV->isSplat()) { in isAllOnesValue()
142 if (CV->isSplat()) { in isOneValue()
168 if (CV->isSplat()) { in isMinSignedValue()
194 if (CV->isSplat()) { in isNotMinSignedValue()
2734 bool ConstantDataVector::isSplat() const { in isSplat() function in ConstantDataVector
2748 return isSplat() ? getElementAsConstant(0) : nullptr; in getSplatValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1187 bool isSplat = true; in visitShuffleVectorInst() local
1243 isSplat = false; in visitShuffleVectorInst()
1252 if (isSplat || newMask == LHSMask || newMask == RHSMask || newMask == Mask) { in visitShuffleVectorInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1621 bool isSplat = true; in visitShuffleVectorInst() local
1677 isSplat = false; in visitShuffleVectorInst()
1686 if (isSplat || newMask == LHSMask || newMask == RHSMask || newMask == Mask) { in visitShuffleVectorInst()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h1127 bool isSplat() const { return isSplatMask(Mask, getValueType(0)); }
1129 assert(isSplat() && "Cannot get splat index for non-splat!");
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1248 bool isSplat() const { return isSplatMask(Mask, getValueType(0)); }
1250 assert(isSplat() && "Cannot get splat index for non-splat!");
/external/llvm/include/llvm/ADT/
DAPInt.h415 bool isSplat(unsigned SplatSizeInBits) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1462 bool isSplat() const { return isSplatMask(Mask, getValueType(0)); }
1465 assert(isSplat() && "Cannot get splat index for non-splat!");
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h419 bool isSplat(unsigned SplatSizeInBits) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h793 bool isSplat() const;
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp140 static bool isSplat(ArrayRef<Value *> VL) { in isSplat() function
1005 if (allConstant(VL) || isSplat(VL) || !getSameBlock(VL) || !Opcode) { in buildTree_rec()
1545 if (isSplat(VL)) { in getEntryCost()
1767 isSplat(VectorizableTree[1].Scalars))) in isFullyVectorizableTinyTree()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrFragmentsSIMD.td403 return SVOp->isSplat() && SVOp->getSplatIndex() == 0;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h490 bool isSplat(unsigned SplatSizeInBits) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp203 static bool isSplat(ArrayRef<Value *> VL) { in isSplat() function
1296 if (isSplat(Entry->Scalars)) { in getNodeLabel()
1421 if (allConstant(VL) || isSplat(VL) || !allSameBlock(VL) || !S.getOpcode()) { in buildTree_rec()
2078 if (isSplat(VL)) { in getEntryCost()
2430 isSplat(VectorizableTree[1].Scalars))) in isFullyVectorizableTinyTree()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1920 if (!Value.isSplat(8)) in isRepeatedByteSequence()
/external/llvm/lib/Support/
DAPInt.cpp662 bool APInt::isSplat(unsigned SplatSizeInBits) const { in isSplat() function in APInt
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp640 bool APInt::isSplat(unsigned SplatSizeInBits) const { in isSplat() function in APInt
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2221 if (!Value.isSplat(8)) in isRepeatedByteSequence()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp500 bool APInt::isSplat(unsigned SplatSizeInBits) const { in isSplat() function in APInt
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4316 if (VSN->isSplat()) { in lowerVECTOR_SHUFFLE()
4462 if (VSN->isSplat()) { in lowerShift()
/external/llvm/lib/Analysis/
DValueTracking.cpp2557 if (!CI->getValue().isSplat(8)) in isBytewiseValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4605 if (VSN->isSplat()) { in lowerVECTOR_SHUFFLE()
4751 if (VSN->isSplat()) { in lowerShift()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2288 if (SVN->isSplat()) { in LowerVECTOR_SHUFFLE()

12