Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DInstructionsTest.cpp776 EXPECT_FALSE(ShuffleVectorInst::isSelectMask(Identity)); // identity is distinguished from select in TEST()
784 EXPECT_TRUE(ShuffleVectorInst::isSelectMask(Select)); in TEST()
792 EXPECT_FALSE(ShuffleVectorInst::isSelectMask(Reverse)); in TEST()
800 EXPECT_FALSE(ShuffleVectorInst::isSelectMask(SingleSource)); in TEST()
808 EXPECT_FALSE(ShuffleVectorInst::isSelectMask(ZeroEltSplat)); in TEST()
816 EXPECT_FALSE(ShuffleVectorInst::isSelectMask(Transpose)); in TEST()
826 EXPECT_TRUE(ShuffleVectorInst::isSelectMask(ConstantVector::get({C4, C1, C6, CU}))); in TEST()
827 EXPECT_TRUE(ShuffleVectorInst::isSelectMask(ConstantVector::get({CU, C1, C6, C3}))); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstructions.h2517 static bool isSelectMask(ArrayRef<int> Mask);
2518 static bool isSelectMask(const Constant *Mask) {
2522 return isSelectMask(MaskAsInts);
2534 return !changesLength() && isSelectMask(getMask());
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp1757 bool ShuffleVectorInst::isSelectMask(ArrayRef<int> Mask) { in isSelectMask() function in ShuffleVectorInst