16 #define GEN_PASS_DEF_LLVMREQUESTCWRAPPERSPASS
17 #include "mlir/Dialect/LLVMIR/Transforms/Passes.h.inc"
24 class RequestCWrappersPass
25 :
public LLVM::impl::LLVMRequestCWrappersPassBase<RequestCWrappersPass> {
27 void runOnOperation()
override {
28 getOperation()->setAttr(LLVM::LLVMDialect::getEmitCWrapperAttrName(),
static MLIRContext * getContext(OpFoldResult val)
Include the generated interface declarations.
auto get(MLIRContext *context, Ts &&...params)
Helper method that injects context only if needed, this helps unify some of the attribute constructio...