CIRCT 22.0.0git
|
#include "circt-c/Dialect/Synth.h"
#include "circt-c/Support/InstanceGraph.h"
#include "circt/Dialect/Synth/Analysis/LongestPathAnalysis.h"
#include "circt/Dialect/Synth/SynthDialect.h"
#include "circt/Dialect/Synth/Transforms/SynthPasses.h"
#include "circt/Dialect/Synth/Transforms/SynthesisPipeline.h"
#include "circt/Support/InstanceGraphInterface.h"
#include "mlir-c/BuiltinAttributes.h"
#include "mlir-c/IR.h"
#include "mlir-c/Support.h"
#include "mlir/CAPI/IR.h"
#include "mlir/CAPI/Registration.h"
#include "mlir/CAPI/Support.h"
#include "mlir/Pass/AnalysisManager.h"
#include "llvm/ADT/ImmutableList.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/Support/JSON.h"
#include <memory>
#include <tuple>
Go to the source code of this file.
Classes | |
struct | LongestPathAnalysisWrapper |
Functions | |
void | registerSynthesisPipeline () |
void | registerSynthPasses () |
DEFINE_C_API_PTR_METHODS (SynthLongestPathHistory, llvm::ImmutableListImpl< DebugPoint >) llvm | |
SynthLongestPathObject | wrap (llvm::PointerUnion< Object *, DataflowPath::OutputPort * > object) |
SynthLongestPathObject | wrap (const Object *object) |
SynthLongestPathObject | wrap (const DataflowPath::OutputPort *object) |
SynthLongestPathAnalysis | synthLongestPathAnalysisCreate (MlirOperation module, bool collectDebugInfo, bool keepOnlyMaxDelayPaths, bool lazyComputation, MlirStringRef topModuleName) |
void | synthLongestPathAnalysisDestroy (SynthLongestPathAnalysis analysis) |
SynthLongestPathCollection | synthLongestPathAnalysisGetPaths (SynthLongestPathAnalysis analysis, MlirValue value, int64_t bitPos, bool elaboratePaths) |
SynthLongestPathCollection | synthLongestPathAnalysisGetAllPaths (SynthLongestPathAnalysis analysis, MlirStringRef moduleName, bool elaboratePaths) |
bool | synthLongestPathCollectionIsNull (SynthLongestPathCollection collection) |
void | synthLongestPathCollectionDestroy (SynthLongestPathCollection collection) |
size_t | synthLongestPathCollectionGetSize (SynthLongestPathCollection collection) |
SynthLongestPathDataflowPath | synthLongestPathCollectionGetDataflowPath (SynthLongestPathCollection collection, size_t index) |
void | synthLongestPathCollectionMerge (SynthLongestPathCollection dest, SynthLongestPathCollection src) |
int64_t | synthLongestPathDataflowPathGetDelay (SynthLongestPathDataflowPath path) |
SynthLongestPathObject | synthLongestPathDataflowPathGetStartPoint (SynthLongestPathDataflowPath path) |
SynthLongestPathObject | synthLongestPathDataflowPathGetEndPoint (SynthLongestPathDataflowPath path) |
SynthLongestPathHistory | synthLongestPathDataflowPathGetHistory (SynthLongestPathDataflowPath path) |
MlirOperation | synthLongestPathDataflowPathGetRoot (SynthLongestPathDataflowPath path) |
bool | synthLongestPathHistoryIsEmpty (SynthLongestPathHistory history) |
void | synthLongestPathHistoryGetHead (SynthLongestPathHistory history, SynthLongestPathObject *object, int64_t *delay, MlirStringRef *comment) |
SynthLongestPathHistory | synthLongestPathHistoryGetTail (SynthLongestPathHistory history) |
IgraphInstancePath | synthLongestPathObjectGetInstancePath (SynthLongestPathObject object) |
MlirStringRef | synthLongestPathObjectName (SynthLongestPathObject rawObject) |
size_t | synthLongestPathObjectBitPos (SynthLongestPathObject rawObject) |
DEFINE_C_API_PTR_METHODS | ( | SynthLongestPathHistory | , |
llvm::ImmutableListImpl< DebugPoint > | |||
) |
void registerSynthesisPipeline | ( | void | ) |
Definition at line 34 of file Synth.cpp.
References circt::synth::registerSynthesisPipeline().
Referenced by registerPasses().
SynthLongestPathAnalysis synthLongestPathAnalysisCreate | ( | MlirOperation | module, |
bool | collectDebugInfo, | ||
bool | keepOnlyMaxDelayPaths, | ||
bool | lazyComputation, | ||
MlirStringRef | topModuleName | ||
) |
void synthLongestPathAnalysisDestroy | ( | SynthLongestPathAnalysis | analysis | ) |
SynthLongestPathCollection synthLongestPathAnalysisGetAllPaths | ( | SynthLongestPathAnalysis | analysis, |
MlirStringRef | moduleName, | ||
bool | elaboratePaths | ||
) |
SynthLongestPathCollection synthLongestPathAnalysisGetPaths | ( | SynthLongestPathAnalysis | analysis, |
MlirValue | value, | ||
int64_t | bitPos, | ||
bool | elaboratePaths | ||
) |
void synthLongestPathCollectionDestroy | ( | SynthLongestPathCollection | collection | ) |
SynthLongestPathDataflowPath synthLongestPathCollectionGetDataflowPath | ( | SynthLongestPathCollection | collection, |
size_t | index | ||
) |
size_t synthLongestPathCollectionGetSize | ( | SynthLongestPathCollection | collection | ) |
bool synthLongestPathCollectionIsNull | ( | SynthLongestPathCollection | collection | ) |
void synthLongestPathCollectionMerge | ( | SynthLongestPathCollection | dest, |
SynthLongestPathCollection | src | ||
) |
int64_t synthLongestPathDataflowPathGetDelay | ( | SynthLongestPathDataflowPath | path | ) |
SynthLongestPathObject synthLongestPathDataflowPathGetEndPoint | ( | SynthLongestPathDataflowPath | path | ) |
SynthLongestPathHistory synthLongestPathDataflowPathGetHistory | ( | SynthLongestPathDataflowPath | path | ) |
MlirOperation synthLongestPathDataflowPathGetRoot | ( | SynthLongestPathDataflowPath | path | ) |
SynthLongestPathObject synthLongestPathDataflowPathGetStartPoint | ( | SynthLongestPathDataflowPath | path | ) |
void synthLongestPathHistoryGetHead | ( | SynthLongestPathHistory | history, |
SynthLongestPathObject * | object, | ||
int64_t * | delay, | ||
MlirStringRef * | comment | ||
) |
SynthLongestPathHistory synthLongestPathHistoryGetTail | ( | SynthLongestPathHistory | history | ) |
bool synthLongestPathHistoryIsEmpty | ( | SynthLongestPathHistory | history | ) |
size_t synthLongestPathObjectBitPos | ( | SynthLongestPathObject | rawObject | ) |
IgraphInstancePath synthLongestPathObjectGetInstancePath | ( | SynthLongestPathObject | object | ) |
Definition at line 244 of file Synth.cpp.
References IgraphInstancePath::ptr, IgraphInstancePath::size, and unwrap().
MlirStringRef synthLongestPathObjectName | ( | SynthLongestPathObject | rawObject | ) |
SynthLongestPathObject wrap | ( | const DataflowPath::OutputPort * | object | ) |
SynthLongestPathObject wrap | ( | const Object * | object | ) |
SynthLongestPathObject wrap | ( | llvm::PointerUnion< Object *, DataflowPath::OutputPort * > | object | ) |
Definition at line 61 of file Synth.cpp.
Referenced by synthLongestPathAnalysisCreate(), synthLongestPathAnalysisGetAllPaths(), synthLongestPathAnalysisGetPaths(), synthLongestPathCollectionGetDataflowPath(), synthLongestPathDataflowPathGetEndPoint(), synthLongestPathDataflowPathGetHistory(), synthLongestPathDataflowPathGetRoot(), synthLongestPathDataflowPathGetStartPoint(), synthLongestPathHistoryGetHead(), synthLongestPathHistoryGetTail(), wrap(), and wrap().