#include "circt/Dialect/Arc/ArcOps.h"
#include "circt/Dialect/Arc/ArcPasses.h"
#include "circt/Dialect/Comb/CombDialect.h"
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/LLHD/IR/LLHDOps.h"
#include "circt/Dialect/Seq/SeqOps.h"
#include "circt/Dialect/Sim/SimOps.h"
#include "circt/Support/BackedgeBuilder.h"
#include "mlir/Analysis/TopologicalSortUtils.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/LLVMIR/LLVMAttrs.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/IR/IRMapping.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/Pass/Pass.h"
#include "llvm/ADT/TypeSwitch.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 |
|
|
static scf::IfOp | createOrReuseIf (OpBuilder &builder, Value condition, bool withElse) |
| Create a new scf.if operation with the given builder, or reuse a previous scf.if if the builder's insertion point is located right after it. More...
|
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "arc-lower-state" |
◆ GEN_PASS_DEF_LOWERSTATEPASS
#define GEN_PASS_DEF_LOWERSTATEPASS |
◆ createOrReuseIf()
static scf::IfOp createOrReuseIf |
( |
OpBuilder & |
builder, |
|
|
Value |
condition, |
|
|
bool |
withElse |
|
) |
| |
|
static |
Create a new scf.if
operation with the given builder, or reuse a previous scf.if
if the builder's insertion point is located right after it.
Definition at line 399 of file LowerState.cpp.