#include "mlir/Dialect/LLVMIR/Transforms/RequestCWrappers.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Pass/Pass.h"
namespace mlir {
namespace LLVM {
#define GEN_PASS_DEF_LLVMREQUESTCWRAPPERS
#include "mlir/Dialect/LLVMIR/Transforms/Passes.h.inc"
}
}
usingnamespacemlir;
namespace {
class RequestCWrappersPass
: public LLVM::impl::LLVMRequestCWrappersBase<RequestCWrappersPass> { … };
}
std::unique_ptr<Pass> mlir::LLVM::createRequestCWrappersPass() { … }