We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de67999 commit 395196eCopy full SHA for 395196e
mlir/include/mlir/Transforms/Inliner.h
@@ -27,10 +27,12 @@ class InlinerConfig {
27
public:
28
using DefaultPipelineTy = std::function<void(OpPassManager &)>;
29
using OpPipelinesTy = llvm::StringMap<OpPassManager>;
30
- using CloneCallbackTy =
31
- std::function<void(OpBuilder &builder, Region *src, Block *inlineBlock,
+ using CloneCallbackSigTy =
+ void(*)(OpBuilder &builder, Region *src, Block *inlineBlock,
32
Block *postInsertBlock, IRMapping &mapper,
33
- bool shouldCloneInlinedRegion)>;
+ bool shouldCloneInlinedRegion);
34
+ using CloneCallbackTy =
35
+ std::function<CloneCallbackSigTy>;
36
37
InlinerConfig() = default;
38
InlinerConfig(DefaultPipelineTy defaultPipeline,
0 commit comments