#include "mlir/Dialect/EmitC/Transforms/Transforms.h"
#include "mlir/Dialect/EmitC/IR/EmitC.h"
#include "mlir/IR/IRMapping.h"
#include "mlir/IR/PatternMatch.h"
#include "llvm/Support/Debug.h"
namespace mlir {
namespace emitc {
ExpressionOp createExpression(Operation *op, OpBuilder &builder) { … }
}
}
usingnamespacemlir;
usingnamespacemlir::emitc;
namespace {
struct FoldExpressionOp : public OpRewritePattern<ExpressionOp> { … };
}
void mlir::emitc::populateExpressionPatterns(RewritePatternSet &patterns) { … }