Skip to content

Commit 4263bef

Browse files
author
Raghav Malik
committed
Refactored to make inlining available on demand
1 parent 70a92fb commit 4263bef

File tree

2 files changed

+239
-222
lines changed

2 files changed

+239
-222
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#pragma once
2+
3+
#include <llzk/Dialect/Struct/IR/Ops.h>
4+
5+
#include <mlir/IR/SymbolTable.h>
6+
#include <mlir/Support/LogicalResult.h>
7+
8+
mlir::LogicalResult performInlining(
9+
mlir::SymbolTableCollection &tables,
10+
mlir::SmallVector<
11+
std::pair<llzk::component::StructDefOp, mlir::SmallVector<llzk::component::StructDefOp>>>
12+
&plan
13+
);

0 commit comments

Comments
 (0)