13 #ifndef CIRCT_SUPPORT_UTILS_H
14 #define CIRCT_SUPPORT_UTILS_H
17 #include "mlir/IR/Operation.h"
18 #include "mlir/IR/Value.h"
26 return op->isAncestor(value.getParentBlock()->getParentOp());
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
bool isAncestorOfValueOwner(Operation *op, Value value)
Return true if a Value is created "underneath" an operation.