CIRCT  20.0.0git
Namespaces | Macros | Functions
StripDebugInfoWithPred.cpp File Reference
#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 "circt/Transforms/Passes.h.inc"
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.
 

Macros

#define GEN_PASS_DEF_STRIPDEBUGINFOWITHPRED
 

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

Macro Definition Documentation

◆ GEN_PASS_DEF_STRIPDEBUGINFOWITHPRED

#define GEN_PASS_DEF_STRIPDEBUGINFOWITHPRED

Definition at line 17 of file StripDebugInfoWithPred.cpp.

Function Documentation

◆ updateLocIfChanged()

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

Definition at line 23 of file StripDebugInfoWithPred.cpp.