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

References

unittests/Analysis/VectorFunctionABITest.cpp
  127   EXPECT_EQ(Parameters.size(), (unsigned)9);
  128   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::Vector, 0}));
  129   EXPECT_EQ(Parameters[1], VFParameter({1, VFParamKind::OMP_LinearPos, 2}));
  130   EXPECT_EQ(Parameters[2], VFParameter({2, VFParamKind::OMP_LinearValPos, 27}));
  131   EXPECT_EQ(Parameters[3], VFParameter({3, VFParamKind::OMP_LinearUValPos, 4}));
  132   EXPECT_EQ(Parameters[4], VFParameter({4, VFParamKind::OMP_LinearRefPos, 5}));
  133   EXPECT_EQ(Parameters[5], VFParameter({5, VFParamKind::OMP_Linear, 1}));
  134   EXPECT_EQ(Parameters[6], VFParameter({6, VFParamKind::OMP_LinearVal, 10}));
  135   EXPECT_EQ(Parameters[7], VFParameter({7, VFParamKind::OMP_LinearUVal, 100}));
  136   EXPECT_EQ(Parameters[8], VFParameter({8, VFParamKind::OMP_LinearRef, 1000}));
  147   EXPECT_EQ(Parameters.size(), (unsigned)1);
  148   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::Vector, 0}));
  159   EXPECT_EQ(Parameters.size(), (unsigned)4);
  160   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::OMP_Linear, -1}));
  161   EXPECT_EQ(Parameters[1], VFParameter({1, VFParamKind::OMP_LinearVal, -10}));
  162   EXPECT_EQ(Parameters[2], VFParameter({2, VFParamKind::OMP_LinearUVal, -100}));
  163   EXPECT_EQ(Parameters[3], VFParameter({3, VFParamKind::OMP_LinearRef, -1000}));
  210   EXPECT_EQ(Parameters.size(), (unsigned)8);
  211   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::OMP_Linear, 1}));
  212   EXPECT_EQ(Parameters[1], VFParameter({1, VFParamKind::OMP_LinearVal, 1}));
  213   EXPECT_EQ(Parameters[2], VFParameter({2, VFParamKind::OMP_LinearRef, 1}));
  214   EXPECT_EQ(Parameters[3], VFParameter({3, VFParamKind::OMP_LinearUVal, 1}));
  215   EXPECT_EQ(Parameters[4], VFParameter({4, VFParamKind::OMP_Linear, -1}));
  216   EXPECT_EQ(Parameters[5], VFParameter({5, VFParamKind::OMP_LinearVal, -1}));
  217   EXPECT_EQ(Parameters[6], VFParameter({6, VFParamKind::OMP_LinearRef, -1}));
  218   EXPECT_EQ(Parameters[7], VFParameter({7, VFParamKind::OMP_LinearUVal, -1}));
  254   EXPECT_EQ(Parameters.size(), (unsigned)1);
  255   EXPECT_EQ(Parameters[0].Alignment, Align(2));
  276   EXPECT_EQ(Parameters.size(), (unsigned)1);
  277   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::OMP_Uniform, 0}));
  375   EXPECT_EQ(Parameters.size(), (unsigned)2);
  376   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::Vector}));
  377   EXPECT_EQ(Parameters[1], VFParameter({1, VFParamKind::GlobalPredicate}));
  387   EXPECT_EQ(Parameters.size(), (unsigned)2);
  388   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::Vector}));
  389   EXPECT_EQ(Parameters[1], VFParameter({1, VFParamKind::GlobalPredicate}));
  399   EXPECT_EQ(Parameters.size(), (unsigned)2);
  400   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::Vector}));
  401   EXPECT_EQ(Parameters[1], VFParameter({1, VFParamKind::GlobalPredicate}));
  411   EXPECT_EQ(Parameters.size(), (unsigned)2);
  412   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::Vector}));
  413   EXPECT_EQ(Parameters[1], VFParameter({1, VFParamKind::GlobalPredicate}));
  423   EXPECT_EQ(Parameters.size(), (unsigned)2);
  424   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::Vector}));
  425   EXPECT_EQ(Parameters[1], VFParameter({1, VFParamKind::GlobalPredicate}));
  435   EXPECT_EQ(Parameters.size(), (unsigned)2);
  436   EXPECT_EQ(Parameters[0], VFParameter({0, VFParamKind::Vector}));
  437   EXPECT_EQ(Parameters[1], VFParameter({1, VFParamKind::GlobalPredicate}));