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

References

lib/Transforms/Vectorize/LoopVectorize.cpp
 7271     User->getOperand(0)->printAsOperand(O);
 7323         Value *Cond = State.get(User->getOperand(In), Part);
 7340   VPValue *Mask = User->getOperand(User->getNumOperands() - 1);
 7381     VPValue *BlockInMask = User->getOperand(0);
 7435   VPValue *Mask = User->getOperand(User->getNumOperands() - 1);
lib/Transforms/Vectorize/VPlan.cpp
  297     Value *A = State.get(getOperand(0), Part);
  298     Value *B = State.get(getOperand(1), Part);
  306     Value *A = State.get(getOperand(0), Part);
  312     Value *IV = State.get(getOperand(0), Part);
  313     Value *TC = State.get(getOperand(1), Part);
  319     Value *Cond = State.get(getOperand(0), Part);
  320     Value *Op1 = State.get(getOperand(1), Part);
  321     Value *Op2 = State.get(getOperand(2), Part);
  682       User->getOperand(I)->printAsOperand(O);
  708     User->getOperand(0)->printAsOperand(O);
  718       if (User->getOperand(I) == this)
lib/Transforms/Vectorize/VPlan.h
  921       O << *User->getOperand(0);
lib/Transforms/Vectorize/VPlanSLP.cpp
  165     Operands.push_back(U->getOperand(OperandIndex));
  235       Score += getLAScore(cast<VPUser>(V1)->getOperand(I),
  236                           cast<VPUser>(V2)->getOperand(J), MaxLevel - 1, IAI);
  440         CombinedOperands.push_back(cast<VPInstruction>(V)->getOperand(0));
unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
   61   EXPECT_EQ(Phi, Idx->getOperand(1));
   66   EXPECT_EQ(Idx, Load->getOperand(0));
   71   EXPECT_EQ(Load, Add->getOperand(0));
   76   EXPECT_EQ(Add, Store->getOperand(0));
   77   EXPECT_EQ(Idx, Store->getOperand(1));
   82   EXPECT_EQ(Phi, IndvarAdd->getOperand(0));
   87   EXPECT_EQ(IndvarAdd, ICmp->getOperand(0));
unittests/Transforms/Vectorize/VPlanPredicatorTest.cpp
   97   EXPECT_EQ(InnerAnd->getOperand(0), CBV1);
   98   EXPECT_EQ(InnerAnd->getOperand(1), CBV2);
  200   EXPECT_EQ(And->getOperand(0), OuterCBV);
  201   EXPECT_EQ(And->getOperand(1), InnerCBV);
  203   EXPECT_EQ(Not->getOperand(0), InnerCBV);
  205   EXPECT_EQ(NotAnd->getOperand(0), OuterCBV);
  206   EXPECT_EQ(NotAnd->getOperand(1), Not);
  217   VPInstruction *OrOp0Inst = cast<VPInstruction>(Or->getOperand(0));
  218   VPInstruction *OrOp1Inst = cast<VPInstruction>(Or->getOperand(1));
unittests/Transforms/Vectorize/VPlanSlpTest.cpp
  113   auto *CombinedAdd = cast<VPInstruction>(CombinedStore->getOperand(0));
  116   auto *CombinedLoadA = cast<VPInstruction>(CombinedAdd->getOperand(0));
  117   auto *CombinedLoadB = cast<VPInstruction>(CombinedAdd->getOperand(1));
  182   auto *CombinedAdd = cast<VPInstruction>(CombinedStore->getOperand(0));
  185   auto *CombinedLoadA = cast<VPInstruction>(CombinedAdd->getOperand(0));
  186   auto *CombinedLoadB = cast<VPInstruction>(CombinedAdd->getOperand(1));
  192   EXPECT_EQ(GetA, CombinedLoadA->getOperand(0));
  193   EXPECT_EQ(GetB, CombinedLoadB->getOperand(0));
  247   auto *CombinedAdd = cast<VPInstruction>(CombinedStore->getOperand(0));
  250   auto *CombinedLoadA = cast<VPInstruction>(CombinedAdd->getOperand(0));
  251   EXPECT_EQ(CombinedLoadA, CombinedAdd->getOperand(1));
  317       cast<VPInstruction>(CombinedStore->getOperand(0));
  321       cast<VPInstruction>(CombinedAdd->getOperand(0));
  323       cast<VPInstruction>(CombinedAdd->getOperand(1));
  327       cast<VPInstruction>(CombinedMulAB->getOperand(0));
  331   EXPECT_EQ(LoadvA0->getOperand(0), CombinedLoadA->getOperand(0));
  331   EXPECT_EQ(LoadvA0->getOperand(0), CombinedLoadA->getOperand(0));
  332   EXPECT_EQ(LoadvA1->getOperand(0), CombinedLoadA->getOperand(1));
  332   EXPECT_EQ(LoadvA1->getOperand(0), CombinedLoadA->getOperand(1));
  335       cast<VPInstruction>(CombinedMulAB->getOperand(1));
  339   EXPECT_EQ(LoadvB0->getOperand(0), CombinedLoadB->getOperand(0));
  339   EXPECT_EQ(LoadvB0->getOperand(0), CombinedLoadB->getOperand(0));
  340   EXPECT_EQ(LoadvB1->getOperand(0), CombinedLoadB->getOperand(1));
  340   EXPECT_EQ(LoadvB1->getOperand(0), CombinedLoadB->getOperand(1));
  345       cast<VPInstruction>(CombinedMulCD->getOperand(0));
  349   EXPECT_EQ(LoadvC0->getOperand(0), CombinedLoadC->getOperand(0));
  349   EXPECT_EQ(LoadvC0->getOperand(0), CombinedLoadC->getOperand(0));
  350   EXPECT_EQ(LoadvC1->getOperand(0), CombinedLoadC->getOperand(1));
  350   EXPECT_EQ(LoadvC1->getOperand(0), CombinedLoadC->getOperand(1));
  353       cast<VPInstruction>(CombinedMulCD->getOperand(1));
  357   EXPECT_EQ(LoadvD0->getOperand(0), CombinedLoadD->getOperand(0));
  357   EXPECT_EQ(LoadvD0->getOperand(0), CombinedLoadD->getOperand(0));
  358   EXPECT_EQ(LoadvD1->getOperand(0), CombinedLoadD->getOperand(1));
  358   EXPECT_EQ(LoadvD1->getOperand(0), CombinedLoadD->getOperand(1));