16 lines
329 B
C++
16 lines
329 B
C++
#pragma once
|
|
|
|
#include "mlir/IR/BuiltinAttributes.h"
|
|
#include "mlir/IR/Operation.h"
|
|
#include "mlir/IR/Value.h"
|
|
|
|
namespace onnx_mlir {
|
|
|
|
bool isCompileTimeComputable(mlir::Value value);
|
|
|
|
bool isCompileTimeOp(mlir::Operation* op);
|
|
|
|
mlir::DenseElementsAttr getHostConstDenseElementsAttr(mlir::Value value);
|
|
|
|
} // namespace onnx_mlir
|