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

Declarations

include/llvm/IR/Instructions.h
 2111   bool isIdentityWithExtract() const;

References

lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  854       !(Shuf->isIdentityWithExtract() || Shuf->isIdentityWithPadding()))
 1688   if (!match(Shuf.getOperand(1), m_Undef()) || !Shuf.isIdentityWithExtract())
 1719   if (!Shuf.isIdentityWithExtract() || !isa<UndefValue>(Op1))
unittests/IR/InstructionsTest.cpp
  893   EXPECT_FALSE(Id1->isIdentityWithExtract());
  902   EXPECT_TRUE(Id2->isIdentityWithExtract());
  911   EXPECT_TRUE(Id3->isIdentityWithExtract());
  920   EXPECT_FALSE(Id4->isIdentityWithExtract());
  929   EXPECT_FALSE(Id5->isIdentityWithExtract());
  938   EXPECT_FALSE(Id6->isIdentityWithExtract());
  947   EXPECT_FALSE(Id7->isIdentityWithExtract());
  956   EXPECT_FALSE(Id8->isIdentityWithExtract());
  965   EXPECT_FALSE(Id9->isIdentityWithExtract());
  974   EXPECT_FALSE(Id10->isIdentityWithExtract());
  983   EXPECT_FALSE(Id11->isIdentityWithExtract());
  993   EXPECT_FALSE(Id12->isIdentityWithExtract());