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

References

lib/Transforms/Vectorize/VPlan.cpp
  296   if (Instruction::isBinaryOp(getOpcode())) {
  299     Value *V = Builder.CreateBinOp((Instruction::BinaryOps)getOpcode(), A, B);
  304   switch (getOpcode()) {
  347   switch (getOpcode()) {
  361     O << Instruction::getOpcodeName(getOpcode());
lib/Transforms/Vectorize/VPlanSLP.cpp
  126       if (VPI->getOpcode() == Instruction::Load &&
  172       cast<VPInstruction>(Values[0])->getOpcode());
  180   switch (VPI->getOpcode()) {
  197   unsigned Opcode = cast<VPInstruction>(Values[0])->getOpcode();
  199         return cast<VPInstruction>(V)->getOpcode() != Opcode;
  209   if (A->getOpcode() != B->getOpcode())
  209   if (A->getOpcode() != B->getOpcode())
  212   if (A->getOpcode() != Instruction::Load &&
  213       A->getOpcode() != Instruction::Store)
  309     if (cast<VPInstruction>(Operands.second[0])->getOpcode() ==
unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
   56   EXPECT_EQ(Instruction::PHI, Phi->getOpcode());
   59   EXPECT_EQ(Instruction::GetElementPtr, Idx->getOpcode());
   64   EXPECT_EQ(Instruction::Load, Load->getOpcode());
   69   EXPECT_EQ(Instruction::Add, Add->getOpcode());
   74   EXPECT_EQ(Instruction::Store, Store->getOpcode());
   80   EXPECT_EQ(Instruction::Add, IndvarAdd->getOpcode());
   85   EXPECT_EQ(Instruction::ICmp, ICmp->getOpcode());
unittests/Transforms/Vectorize/VPlanPredicatorTest.cpp
   96   EXPECT_EQ(InnerAnd->getOpcode(), Instruction::And);
  196   EXPECT_EQ(And->getOpcode(), Instruction::And);
  197   EXPECT_EQ(NotAnd->getOpcode(), Instruction::And);
  198   EXPECT_EQ(Not->getOpcode(), VPInstruction::Not);
  212   EXPECT_EQ(Or->getOpcode(), Instruction::Or);
unittests/Transforms/Vectorize/VPlanSlpTest.cpp
  111   EXPECT_EQ(VPInstruction::SLPStore, CombinedStore->getOpcode());
  114   EXPECT_EQ(Instruction::Add, CombinedAdd->getOpcode());
  118   EXPECT_EQ(VPInstruction::SLPLoad, CombinedLoadA->getOpcode());
  119   EXPECT_EQ(VPInstruction::SLPLoad, CombinedLoadB->getOpcode());
  180   EXPECT_EQ(VPInstruction::SLPStore, CombinedStore->getOpcode());
  183   EXPECT_EQ(Instruction::Add, CombinedAdd->getOpcode());
  187   EXPECT_EQ(VPInstruction::SLPLoad, CombinedLoadA->getOpcode());
  188   EXPECT_EQ(VPInstruction::SLPLoad, CombinedLoadB->getOpcode());
  245   EXPECT_EQ(VPInstruction::SLPStore, CombinedStore->getOpcode());
  248   EXPECT_EQ(Instruction::Add, CombinedAdd->getOpcode());
  252   EXPECT_EQ(VPInstruction::SLPLoad, CombinedLoadA->getOpcode());
  314   EXPECT_EQ(CombinedStore->getOpcode(), VPInstruction::SLPStore);
  318   EXPECT_EQ(CombinedAdd->getOpcode(), Instruction::Add);
  324   EXPECT_EQ(CombinedMulAB->getOpcode(), Instruction::Mul);
  328   EXPECT_EQ(VPInstruction::SLPLoad, CombinedLoadA->getOpcode());
  336   EXPECT_EQ(VPInstruction::SLPLoad, CombinedLoadB->getOpcode());
  342   EXPECT_EQ(CombinedMulCD->getOpcode(), Instruction::Mul);
  346   EXPECT_EQ(VPInstruction::SLPLoad, CombinedLoadC->getOpcode());
  354   EXPECT_EQ(VPInstruction::SLPLoad, CombinedLoadD->getOpcode());