llvm/mlir/unittests/IR/OperationSupportTest.cpp

//===- OperationSupportTest.cpp - Operation support unit tests ------------===//
//
// 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 "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) {}

} // namespace