This commit is contained in:
@@ -6,6 +6,13 @@
|
||||
|
||||
namespace onnx_mlir {
|
||||
|
||||
struct CompileTimeSource {
|
||||
mlir::Operation* source;
|
||||
size_t chainLength;
|
||||
};
|
||||
|
||||
std::optional<CompileTimeSource> getCompileTimeSource(mlir::Operation* op);
|
||||
|
||||
bool isCompileTimeComputable(mlir::Value value);
|
||||
|
||||
bool isCompileTimeOp(mlir::Operation* op);
|
||||
|
||||
Reference in New Issue
Block a user