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

References

tools/polly/unittests/Isl/IslTest.cpp
  726   EXPECT_EQ(SET("{ [1] }"), shiftDim(SET("{ [0] }"), 0, 1));
  726   EXPECT_EQ(SET("{ [1] }"), shiftDim(SET("{ [0] }"), 0, 1));
  727   EXPECT_EQ(USET("{ [1] }"), shiftDim(USET("{ [0] }"), 0, 1));
  727   EXPECT_EQ(USET("{ [1] }"), shiftDim(USET("{ [0] }"), 0, 1));
  730   EXPECT_EQ(USET("{ [0,0,1] }"), shiftDim(USET("{ [0,0,0] }"), -1, 1));
  730   EXPECT_EQ(USET("{ [0,0,1] }"), shiftDim(USET("{ [0,0,0] }"), -1, 1));
  731   EXPECT_EQ(USET("{ [0,1,0] }"), shiftDim(USET("{ [0,0,0] }"), -2, 1));
  731   EXPECT_EQ(USET("{ [0,1,0] }"), shiftDim(USET("{ [0,0,0] }"), -2, 1));
  732   EXPECT_EQ(USET("{ [1,0,0] }"), shiftDim(USET("{ [0,0,0] }"), -3, 1));
  732   EXPECT_EQ(USET("{ [1,0,0] }"), shiftDim(USET("{ [0,0,0] }"), -3, 1));
  735   EXPECT_EQ(USET("[n] -> { [n+1] }"), shiftDim(USET("[n] -> { [n] }"), 0, 1));
  735   EXPECT_EQ(USET("[n] -> { [n+1] }"), shiftDim(USET("[n] -> { [n] }"), 0, 1));
  738   EXPECT_EQ(MAP("{ [1] -> [] }"),
  739             shiftDim(MAP("{ [0] -> [] }"), isl::dim::in, 0, 1));
  740   EXPECT_EQ(UMAP("{ [1] -> [] }"),
  741             shiftDim(UMAP("{ [0] -> [] }"), isl::dim::in, 0, 1));
  742   EXPECT_EQ(MAP("{ [] -> [1] }"),
  743             shiftDim(MAP("{ [] -> [0] }"), isl::dim::out, 0, 1));
  744   EXPECT_EQ(UMAP("{ [] -> [1] }"),
  745             shiftDim(UMAP("{ [] -> [0] }"), isl::dim::out, 0, 1));