CIRCT 21.0.0git
Loading...
Searching...
No Matches
DebugAnalysis.h
Go to the documentation of this file.
1//===- DebugAnalysis.h ----------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef CIRCT_ANALYSIS_DEBUGANALYSIS_H
10#define CIRCT_ANALYSIS_DEBUGANALYSIS_H
11
12#include "circt/Support/LLVM.h"
13#include "mlir/IR/Value.h"
14#include "llvm/ADT/DenseSet.h"
15
16namespace mlir {
17class Operation;
18class OpOperand;
19} // namespace mlir
20
21namespace circt {
22
23/// Identify operations and values that are only used for debug info.
25 DebugAnalysis(Operation *op);
26
27 DenseSet<Operation *> debugOps;
28 DenseSet<Value> debugValues;
29 DenseSet<OpOperand *> debugOperands;
30};
31
32} // namespace circt
33
34#endif // CIRCT_ANALYSIS_DEBUGANALYSIS_H
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Identify operations and values that are only used for debug info.
DenseSet< OpOperand * > debugOperands
DenseSet< Operation * > debugOps
DenseSet< Value > debugValues