MLIR
20.0.0git
|
Go to the source code of this file.
Functions | |
static bool | isResultValueDead (linalg::GenericOp genericOp, OpResult result) |
Return true if the result of an operation genericOp is dead. More... | |
|
static |
Return true
if the result
of an operation genericOp
is dead.
Definition at line 17 of file EraseUnusedOperandsAndResults.cpp.
References mlir::OpResult::getResultNumber(), mlir::Value::hasOneUse(), mlir::Operation::use_empty(), mlir::Value::use_empty(), and mlir::Value::user_begin().