16 #define GEN_PASS_DEF_LLVMREQUESTCWRAPPERS
17 #include "mlir/Dialect/LLVMIR/Transforms/Passes.h.inc"
24 class RequestCWrappersPass
25 :
public LLVM::impl::LLVMRequestCWrappersBase<RequestCWrappersPass> {
27 void runOnOperation()
override {
28 getOperation()->setAttr(LLVM::LLVMDialect::getEmitCWrapperAttrName(),
29 UnitAttr::get(&getContext()));
35 return std::make_unique<RequestCWrappersPass>();
std::unique_ptr< Pass > createRequestCWrappersPass()
Include the generated interface declarations.