Home
last modified time | relevance | path

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

/external/llvm-project/mlir/unittests/Analysis/
DAffineStructuresTest.cpp23 Optional<SmallVector<int64_t, 8>> maybeSample = fac.findIntegerSample(); in checkSample() local
25 EXPECT_FALSE(maybeSample.hasValue()); in checkSample()
26 if (maybeSample.hasValue()) { in checkSample()
27 for (auto x : *maybeSample) in checkSample()
32 ASSERT_TRUE(maybeSample.hasValue()); in checkSample()
33 EXPECT_TRUE(fac.containsPoint(*maybeSample)); in checkSample()
/external/llvm-project/mlir/unittests/Analysis/Presburger/
DSimplexTest.cpp185 auto maybeSample = simplexFromConstraints(2, in TEST() local
195 EXPECT_TRUE(maybeSample.hasValue()); in TEST()
196 EXPECT_THAT(*maybeSample, testing::ElementsAre(0, 2)); in TEST()
/external/llvm-project/mlir/lib/Analysis/Presburger/
DSimplex.cpp1029 if (auto maybeSample = getSamplePointIfIntegral()) in findIntegerSample() local
1030 return maybeSample; in findIntegerSample()
1050 if (auto maybeSample = getSamplePointIfIntegral()) in findIntegerSample() local
1051 return *maybeSample; in findIntegerSample()