//===- Builder.h - Builder classes ------------------------------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// // // Builder wrapper to simplify using TableGen Record for building // operations/types/etc. // //===----------------------------------------------------------------------===// #ifndef MLIR_TABLEGEN_BUILDER_H_ #define MLIR_TABLEGEN_BUILDER_H_ #include "mlir/Support/LLVM.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" namespace llvm { class Init; class Record; class SMLoc; } // namespace llvm namespace mlir { namespace tblgen { /// Wrapper class with helper methods for accessing Builders defined in /// TableGen. class Builder { … }; } // namespace tblgen } // namespace mlir #endif // MLIR_TABLEGEN_BUILDER_H_