reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/Instructions.h
 2081     return !changesLength() && isSingleSourceMask(getMask());
unittests/IR/InstructionsTest.cpp
  821   EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(Identity)); // identity is always single source
  829   EXPECT_FALSE(ShuffleVectorInst::isSingleSourceMask(Select));
  837   EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(Reverse)); // reverse is always single source
  845   EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(SingleSource));
  853   EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ZeroEltSplat)); // 0-splat is always single source
  861   EXPECT_FALSE(ShuffleVectorInst::isSingleSourceMask(Transpose));
  875   EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ConstantVector::get({C7, C5, CU, C7})));
  876   EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ConstantVector::get({C3, C0, CU, C3})));