CIRCT
24.0.0git
Loading...
Searching...
No Matches
lib
Dialect
Probe
ProbeOps.cpp
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
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
#include "
circt/Dialect/Probe/ProbeOps.h
"
10
11
using namespace
circt
;
12
using namespace
probe;
13
14
#define GET_OP_CLASSES
15
#include "circt/Dialect/Probe/Probe.cpp.inc"
16
17
OpFoldResult ReadOp::fold(FoldAdaptor) {
18
auto
send = getInput().getDefiningOp<SendOp>();
19
if
(!send)
20
return
{};
21
return
send.getInput();
22
}
ProbeOps.h
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
Generated on
for CIRCT by
1.15.0