#include "circt/Dialect/Arc/ArcOps.h"
#include "circt/Dialect/Arc/ArcPasses.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "llvm/Support/Debug.h"
#include "circt/Dialect/Arc/ArcPasses.h.inc"
Go to the source code of this file.
|
| circt |
| The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
|
|
| circt::arc |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "arc-merge-ifs" |
◆ GEN_PASS_DEF_MERGEIFSPASS
#define GEN_PASS_DEF_MERGEIFSPASS |
◆ getPointerReadByOp()
static Value getPointerReadByOp |
( |
Operation * |
op | ) |
|
|
static |
Return the state/memory value being read by an op.
Definition at line 71 of file MergeIfs.cpp.
◆ getPointerWrittenByOp()
static Value getPointerWrittenByOp |
( |
Operation * |
op | ) |
|
|
static |
Return the state/memory value being written by an op.
Definition at line 62 of file MergeIfs.cpp.
◆ hasSideEffects()
static bool hasSideEffects |
( |
Operation * |
op | ) |
|
|
static |
Check if an operation has side effects, ignoring any nested ops.
This is useful if we're traversing all nested ops anyway, and we are only interested in the current op's side effects.
Definition at line 82 of file MergeIfs.cpp.