//===- AffineExprTest.cpp - unit tests for affine expression API ----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include <cstdint> #include <limits> #include "mlir/IR/AffineExpr.h" #include "mlir/IR/Builders.h" #include "gtest/gtest.h" usingnamespacemlir; // Test creating AffineExprs using the overloaded binary operators. TEST(AffineExprTest, constructFromBinaryOperators) { … } TEST(AffineExprTest, constantFolding) { … } TEST(AffineExprTest, divisionSimplification) { … } TEST(AffineExprTest, modSimplificationRegression) { … } TEST(AffineExprTest, divisorOfNegativeFloorDiv) { … }