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

References

unittests/IR/InstructionsTest.cpp
  817   Constant *Identity = ConstantVector::get({C0, CU, C2, C3, C4});
  825   Constant *Select = ConstantVector::get({CU, C1, C5});
  833   Constant *Reverse = ConstantVector::get({C3, C2, C1, CU});
  841   Constant *SingleSource = ConstantVector::get({C2, C2, C0, CU});
  849   Constant *ZeroEltSplat = ConstantVector::get({C0, C0, CU, C0});
  866   EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(ConstantVector::get({CU, C1, CU, C3})));
  866   EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(ConstantVector::get({CU, C1, CU, C3})));
  867   EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(ConstantVector::get({C4, CU, C6, CU})));
  867   EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(ConstantVector::get({C4, CU, C6, CU})));
  869   EXPECT_TRUE(ShuffleVectorInst::isSelectMask(ConstantVector::get({C4, C1, C6, CU})));
  870   EXPECT_TRUE(ShuffleVectorInst::isSelectMask(ConstantVector::get({CU, C1, C6, C3})));
  872   EXPECT_TRUE(ShuffleVectorInst::isReverseMask(ConstantVector::get({C7, C6, CU, C4})));
  873   EXPECT_TRUE(ShuffleVectorInst::isReverseMask(ConstantVector::get({C3, CU, C1, CU})));
  873   EXPECT_TRUE(ShuffleVectorInst::isReverseMask(ConstantVector::get({C3, CU, C1, CU})));
  875   EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ConstantVector::get({C7, C5, CU, C7})));
  876   EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ConstantVector::get({C3, C0, CU, C3})));
  878   EXPECT_TRUE(ShuffleVectorInst::isZeroEltSplatMask(ConstantVector::get({C4, CU, CU, C4})));
  878   EXPECT_TRUE(ShuffleVectorInst::isZeroEltSplatMask(ConstantVector::get({C4, CU, CU, C4})));
  879   EXPECT_TRUE(ShuffleVectorInst::isZeroEltSplatMask(ConstantVector::get({CU, C0, CU, C0})));
  879   EXPECT_TRUE(ShuffleVectorInst::isZeroEltSplatMask(ConstantVector::get({CU, C0, CU, C0})));
  890                                                  ConstantVector::get({C0, C1, CU, CU}));
  890                                                  ConstantVector::get({C0, C1, CU, CU}));
  908                                                  ConstantVector::get({C4, CU, C6}));
  926                                                  ConstantVector::get({CU, C1, C2, C3, CU, CU}));
  926                                                  ConstantVector::get({CU, C1, C2, C3, CU, CU}));
  926                                                  ConstantVector::get({CU, C1, C2, C3, CU, CU}));
  935                                                  ConstantVector::get({C4, C5, C6, CU, CU, CU}));
  935                                                  ConstantVector::get({C4, C5, C6, CU, CU, CU}));
  935                                                  ConstantVector::get({C4, C5, C6, CU, CU, CU}));
  944                                                  ConstantVector::get({C0, C1, C2, C3, CU, C1}));
  953                                                  ConstantVector::get({C4, CU, C2, C3, CU, CU}));
  953                                                  ConstantVector::get({C4, CU, C2, C3, CU, CU}));
  953                                                  ConstantVector::get({C4, CU, C2, C3, CU, CU}));
  962                                                  ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7}));
  962                                                  ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7}));
  962                                                  ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7}));
  971                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6}));
  971                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6}));
  971                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6}));
  980                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7, CU}));
  980                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7, CU}));
  980                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7, CU}));
  980                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7, CU}));
  989   ShuffleVectorInst *Id12 = new ShuffleVectorInst(V0, ConstantVector::get({CU, CU, CU, CU}),
  989   ShuffleVectorInst *Id12 = new ShuffleVectorInst(V0, ConstantVector::get({CU, CU, CU, CU}),
  989   ShuffleVectorInst *Id12 = new ShuffleVectorInst(V0, ConstantVector::get({CU, CU, CU, CU}),
  989   ShuffleVectorInst *Id12 = new ShuffleVectorInst(V0, ConstantVector::get({CU, CU, CU, CU}),
  990                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7}));
  990                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7}));
  990                                                   ConstantVector::get({C0, CU, C2, C3, CU, CU, C6, C7}));