CIRCT  19.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.

Namespaces

 circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 

Functions

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 
)
static

Definition at line 20 of file StripDebugInfoWithPred.cpp.