#include "mlir/IR/OperationSupport.h"
#include "../../test/lib/Dialect/Test/TestDialect.h"
#include "../../test/lib/Dialect/Test/TestOps.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinTypes.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/Support/FormatVariadic.h"
#include "gtest/gtest.h"
usingnamespacemlir;
usingnamespacemlir::detail;
static Operation *createOp(MLIRContext *context,
ArrayRef<Value> operands = std::nullopt,
ArrayRef<Type> resultTypes = std::nullopt,
unsigned int numRegions = 0) { … }
namespace {
TEST(OperandStorageTest, NonResizable) { … }
TEST(OperandStorageTest, Resizable) { … }
TEST(OperandStorageTest, RangeReplace) { … }
TEST(OperandStorageTest, MutableRange) { … }
TEST(OperandStorageTest, RangeErase) { … }
TEST(OperationOrderTest, OrderIsAlwaysValid) { … }
TEST(OperationFormatPrintTest, CanUseVariadicFormat) { … }
TEST(NamedAttrListTest, TestAppendAssign) { … }
TEST(OperandStorageTest, PopulateDefaultAttrs) { … }
TEST(OperationEquivalenceTest, HashWorksWithFlags) { … }
}