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

Declarations

include/llvm/Analysis/VectorUtils.h
  195 bool isSplatValue(const Value *V, unsigned Depth = 0);

References

lib/Analysis/VectorUtils.cpp
  355     return isSplatValue(X, Depth) && isSplatValue(Y, Depth);
  355     return isSplatValue(X, Depth) && isSplatValue(Y, Depth);
  359     return isSplatValue(X, Depth) && isSplatValue(Y, Depth) &&
  359     return isSplatValue(X, Depth) && isSplatValue(Y, Depth) &&
  360            isSplatValue(Z, Depth);
lib/CodeGen/CodeGenPrepare.cpp
 5918   if (!isSplatValue(TVal) || !isSplatValue(FVal))
 5918   if (!isSplatValue(TVal) || !isSplatValue(FVal))
unittests/Analysis/VectorUtilsTest.cpp
   81   EXPECT_TRUE(isSplatValue(UndefVec));
   84   EXPECT_FALSE(isSplatValue(UndefScalar));
   87   EXPECT_FALSE(isSplatValue(ScalarC));
   91   EXPECT_FALSE(isSplatValue(NonSplatC));
   94   EXPECT_TRUE(isSplatValue(SplatC));
   98   EXPECT_FALSE(isSplatValue(SplatWithUndefC));
  107   EXPECT_TRUE(isSplatValue(A));
  116   EXPECT_TRUE(isSplatValue(A));
  125   EXPECT_FALSE(isSplatValue(A));
  136   EXPECT_FALSE(isSplatValue(A));
  147   EXPECT_TRUE(isSplatValue(A));
  157   EXPECT_TRUE(isSplatValue(A));
  168   EXPECT_FALSE(isSplatValue(A));
  179   EXPECT_FALSE(isSplatValue(A));
  191   EXPECT_TRUE(isSplatValue(A));
  202   EXPECT_TRUE(isSplatValue(A));
  213   EXPECT_FALSE(isSplatValue(A));
  224   EXPECT_FALSE(isSplatValue(A));
  235   EXPECT_FALSE(isSplatValue(A));
  248   EXPECT_TRUE(isSplatValue(A));