Home
last modified time | relevance | path

Searched refs:getNumScatterDims (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/polly/unittests/Isl/
DIslTest.cpp654 TEST(ISLTools, getNumScatterDims) { in TEST() argument
659 EXPECT_EQ(0u, getNumScatterDims(UMAP("{ [] -> [] }"))); in TEST()
660 EXPECT_EQ(1u, getNumScatterDims(UMAP("{ [] -> [i] }"))); in TEST()
661 EXPECT_EQ(2u, getNumScatterDims(UMAP("{ [] -> [i,j] }"))); in TEST()
662 EXPECT_EQ(3u, getNumScatterDims(UMAP("{ [] -> [i,j,k] }"))); in TEST()
665 EXPECT_EQ(0u, getNumScatterDims(UMAP("{ A[] -> []; [] -> []}"))); in TEST()
666 EXPECT_EQ(1u, getNumScatterDims(UMAP("{ A[] -> []; [] -> [i] }"))); in TEST()
667 EXPECT_EQ(2u, getNumScatterDims(UMAP("{ A[] -> [i]; [] -> [i,j] }"))); in TEST()
668 EXPECT_EQ(3u, getNumScatterDims(UMAP("{ A[] -> [i]; [] -> [i,j,k] }"))); in TEST()
/external/llvm-project/polly/include/polly/Support/
DISLTools.h164 unsigned getNumScatterDims(const isl::union_map &Schedule);
/external/llvm-project/polly/lib/Support/
DISLTools.cpp160 unsigned polly::getNumScatterDims(const isl::union_map &Schedule) { in getNumScatterDims() function in polly
175 unsigned Dims = getNumScatterDims(Schedule); in getScatterSpace()