CIRCT  18.0.0git
Namespaces | Functions
StripDebugInfoWithPred.cpp File Reference
#include "PassDetail.h"
#include "circt/Transforms/Passes.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/Threading.h"
#include "mlir/Pass/Pass.h"
#include "llvm/ADT/SmallVector.h"
Include dependency graph for StripDebugInfoWithPred.cpp:

Go to the source code of this file.


 This file defines an intermediate representation for circuits acting as an abstraction for constraints defined over an SMT's solver context.


template<typename OpOrBlockArgument >
static void updateLocIfChanged (OpOrBlockArgument *op, Location newLoc)
std::unique_ptr< mlir::Pass > circt::createStripDebugInfoWithPredPass (const std::function< bool(mlir::Location)> &pred)
 Creates a pass to strip debug information from a function. More...

Function Documentation

◆ updateLocIfChanged()

template<typename OpOrBlockArgument >
static void updateLocIfChanged ( OpOrBlockArgument *  op,
Location  newLoc 

Definition at line 20 of file StripDebugInfoWithPred.cpp.