14 #include "mlir/IR/Block.h"
15 #include "mlir/IR/Value.h"
17 using namespace circt;
20 if (
auto *op =
value.getDefiningOp())
22 return cast<BlockArgument>(
value).getOwner()->getParentOp();
Operation * getDefiningOp() const
Get the operation which defines this field.
Value value
A pointer to the value which created this.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.