//===- StructBuilder.h - Helper for building LLVM structs -------*- 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 // //===----------------------------------------------------------------------===// // // Provides a convenience API for emitting IR that inspects or constructs values // of LLVM dialect structure types. // //===----------------------------------------------------------------------===// #ifndef MLIR_CONVERSION_LLVMCOMMON_STRUCTBUILDER_H #define MLIR_CONVERSION_LLVMCOMMON_STRUCTBUILDER_H #include "mlir/IR/Types.h" #include "mlir/IR/Value.h" namespace mlir { class OpBuilder; /// Helper class to produce LLVM dialect operations extracting or inserting /// values to a struct. class StructBuilder { … }; } // namespace mlir #endif // MLIR_CONVERSION_LLVMCOMMON_STRUCTBUILDER_H