15#ifndef CIRCT_ANALYSIS_OPCOUNT_ANALYSIS_H
16#define CIRCT_ANALYSIS_OPCOUNT_ANALYSIS_H
19#include "mlir/IR/Operation.h"
20#include "llvm/ADT/DenseMap.h"
size_t getOpCount(OperationName opName)
Get the frequency of operations of a specific name.
DenseMap< size_t, size_t > getOperandCountMap(OperationName opName)
Get a map from number of operands to corresponding frequency for the given operation.
DenseMap< OperationName, DenseMap< size_t, size_t > > operandCounts
DenseMap< OperationName, size_t > opCounts
SmallVector< OperationName > getFoundOpNames()
Get the names of all distinct operations found by the analysis.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.