CIRCT 22.0.0git
Loading...
Searching...
No Matches
Macros | Functions
Synth.h File Reference
#include "circt-c/Support/InstanceGraph.h"
#include "mlir-c/IR.h"
Include dependency graph for Synth.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFINE_C_API_STRUCT(name, storage)
 

Functions

MLIR_CAPI_EXPORTED void registerSynthesisPipeline (void)
 
 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (Synth, synth)
 
MLIR_CAPI_EXPORTED void registerSynthPasses (void)
 
 DEFINE_C_API_STRUCT (SynthLongestPathObject, void)
 
 DEFINE_C_API_STRUCT (SynthLongestPathHistory, void)
 
 DEFINE_C_API_STRUCT (SynthLongestPathDataflowPath, void)
 
 DEFINE_C_API_STRUCT (SynthLongestPathAnalysis, void)
 
 DEFINE_C_API_STRUCT (SynthLongestPathCollection, void)
 
MLIR_CAPI_EXPORTED SynthLongestPathAnalysis synthLongestPathAnalysisCreate (MlirOperation module, bool collectDebugInfo, bool keepOnlyMaxDelayPaths, bool lazyComputation, MlirStringRef topModuleName)
 
MLIR_CAPI_EXPORTED void synthLongestPathAnalysisDestroy (SynthLongestPathAnalysis analysis)
 
MLIR_CAPI_EXPORTED SynthLongestPathCollection synthLongestPathAnalysisGetPaths (SynthLongestPathAnalysis analysis, MlirValue value, int64_t bitPos, bool elaboratePaths)
 
MLIR_CAPI_EXPORTED SynthLongestPathCollection synthLongestPathAnalysisGetInternalPaths (SynthLongestPathAnalysis analysis, MlirStringRef moduleName, bool elaboratePaths)
 
MLIR_CAPI_EXPORTED SynthLongestPathCollection synthLongestPathAnalysisGetPathsFromInputPortsToInternal (SynthLongestPathAnalysis analysis, MlirStringRef moduleName)
 
MLIR_CAPI_EXPORTED SynthLongestPathCollection synthLongestPathAnalysisGetPathsFromInternalToOutputPorts (SynthLongestPathAnalysis analysis, MlirStringRef moduleName)
 
MLIR_CAPI_EXPORTED bool synthLongestPathCollectionIsNull (SynthLongestPathCollection collection)
 
MLIR_CAPI_EXPORTED void synthLongestPathCollectionDestroy (SynthLongestPathCollection collection)
 
MLIR_CAPI_EXPORTED size_t synthLongestPathCollectionGetSize (SynthLongestPathCollection collection)
 
MLIR_CAPI_EXPORTED SynthLongestPathDataflowPath synthLongestPathCollectionGetDataflowPath (SynthLongestPathCollection collection, size_t pathIndex)
 
MLIR_CAPI_EXPORTED void synthLongestPathCollectionMerge (SynthLongestPathCollection dest, SynthLongestPathCollection src)
 
MLIR_CAPI_EXPORTED int64_t synthLongestPathDataflowPathGetDelay (SynthLongestPathDataflowPath dataflowPath)
 
MLIR_CAPI_EXPORTED SynthLongestPathObject synthLongestPathDataflowPathGetStartPoint (SynthLongestPathDataflowPath dataflowPath)
 
MLIR_CAPI_EXPORTED SynthLongestPathObject synthLongestPathDataflowPathGetEndPoint (SynthLongestPathDataflowPath dataflowPath)
 
MLIR_CAPI_EXPORTED SynthLongestPathHistory synthLongestPathDataflowPathGetHistory (SynthLongestPathDataflowPath dataflowPath)
 
MLIR_CAPI_EXPORTED MlirOperation synthLongestPathDataflowPathGetRoot (SynthLongestPathDataflowPath dataflowPath)
 
MLIR_CAPI_EXPORTED bool synthLongestPathHistoryIsEmpty (SynthLongestPathHistory history)
 
MLIR_CAPI_EXPORTED void synthLongestPathHistoryGetHead (SynthLongestPathHistory history, SynthLongestPathObject *object, int64_t *delay, MlirStringRef *comment)
 
MLIR_CAPI_EXPORTED SynthLongestPathHistory synthLongestPathHistoryGetTail (SynthLongestPathHistory history)
 
MLIR_CAPI_EXPORTED IgraphInstancePath synthLongestPathObjectGetInstancePath (SynthLongestPathObject object)
 
MLIR_CAPI_EXPORTED MlirStringRef synthLongestPathObjectName (SynthLongestPathObject object)
 
MLIR_CAPI_EXPORTED size_t synthLongestPathObjectBitPos (SynthLongestPathObject object)
 

Macro Definition Documentation

◆ DEFINE_C_API_STRUCT

#define DEFINE_C_API_STRUCT (   name,
  storage 
)
Value:
struct name { \
storage *ptr; \
}; \
typedef struct name name

Definition at line 24 of file Synth.h.

Function Documentation

◆ DEFINE_C_API_STRUCT() [1/5]

DEFINE_C_API_STRUCT ( SynthLongestPathAnalysis  ,
void   
)

◆ DEFINE_C_API_STRUCT() [2/5]

DEFINE_C_API_STRUCT ( SynthLongestPathCollection  ,
void   
)

◆ DEFINE_C_API_STRUCT() [3/5]

DEFINE_C_API_STRUCT ( SynthLongestPathDataflowPath  ,
void   
)

◆ DEFINE_C_API_STRUCT() [4/5]

DEFINE_C_API_STRUCT ( SynthLongestPathHistory  ,
void   
)

◆ DEFINE_C_API_STRUCT() [5/5]

DEFINE_C_API_STRUCT ( SynthLongestPathObject  ,
void   
)

◆ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION()

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION ( Synth  ,
synth   
)

◆ registerSynthesisPipeline()

MLIR_CAPI_EXPORTED void registerSynthesisPipeline ( void  )

Definition at line 34 of file Synth.cpp.

References circt::synth::registerSynthesisPipeline().

Referenced by registerPasses().

◆ registerSynthPasses()

MLIR_CAPI_EXPORTED void registerSynthPasses ( void  )

Definition at line 38 of file Synth.cpp.

◆ synthLongestPathAnalysisCreate()

MLIR_CAPI_EXPORTED SynthLongestPathAnalysis synthLongestPathAnalysisCreate ( MlirOperation  module,
bool  collectDebugInfo,
bool  keepOnlyMaxDelayPaths,
bool  lazyComputation,
MlirStringRef  topModuleName 
)

Definition at line 82 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathAnalysisDestroy()

MLIR_CAPI_EXPORTED void synthLongestPathAnalysisDestroy ( SynthLongestPathAnalysis  analysis)

Definition at line 99 of file Synth.cpp.

References unwrap().

◆ synthLongestPathAnalysisGetInternalPaths()

MLIR_CAPI_EXPORTED SynthLongestPathCollection synthLongestPathAnalysisGetInternalPaths ( SynthLongestPathAnalysis  analysis,
MlirStringRef  moduleName,
bool  elaboratePaths 
)

Definition at line 119 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathAnalysisGetPaths()

MLIR_CAPI_EXPORTED SynthLongestPathCollection synthLongestPathAnalysisGetPaths ( SynthLongestPathAnalysis  analysis,
MlirValue  value,
int64_t  bitPos,
bool  elaboratePaths 
)

Definition at line 104 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathAnalysisGetPathsFromInputPortsToInternal()

MLIR_CAPI_EXPORTED SynthLongestPathCollection synthLongestPathAnalysisGetPathsFromInputPortsToInternal ( SynthLongestPathAnalysis  analysis,
MlirStringRef  moduleName 
)

Definition at line 138 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathAnalysisGetPathsFromInternalToOutputPorts()

MLIR_CAPI_EXPORTED SynthLongestPathCollection synthLongestPathAnalysisGetPathsFromInternalToOutputPorts ( SynthLongestPathAnalysis  analysis,
MlirStringRef  moduleName 
)

Definition at line 156 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathCollectionDestroy()

MLIR_CAPI_EXPORTED void synthLongestPathCollectionDestroy ( SynthLongestPathCollection  collection)

Definition at line 180 of file Synth.cpp.

References unwrap().

◆ synthLongestPathCollectionGetDataflowPath()

MLIR_CAPI_EXPORTED SynthLongestPathDataflowPath synthLongestPathCollectionGetDataflowPath ( SynthLongestPathCollection  collection,
size_t  pathIndex 
)

Definition at line 192 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathCollectionGetSize()

MLIR_CAPI_EXPORTED size_t synthLongestPathCollectionGetSize ( SynthLongestPathCollection  collection)

Definition at line 185 of file Synth.cpp.

References unwrap().

◆ synthLongestPathCollectionIsNull()

MLIR_CAPI_EXPORTED bool synthLongestPathCollectionIsNull ( SynthLongestPathCollection  collection)

Definition at line 176 of file Synth.cpp.

◆ synthLongestPathCollectionMerge()

MLIR_CAPI_EXPORTED void synthLongestPathCollectionMerge ( SynthLongestPathCollection  dest,
SynthLongestPathCollection  src 
)

Definition at line 199 of file Synth.cpp.

References unwrap().

◆ synthLongestPathDataflowPathGetDelay()

MLIR_CAPI_EXPORTED int64_t synthLongestPathDataflowPathGetDelay ( SynthLongestPathDataflowPath  dataflowPath)

Definition at line 211 of file Synth.cpp.

References unwrap().

◆ synthLongestPathDataflowPathGetEndPoint()

MLIR_CAPI_EXPORTED SynthLongestPathObject synthLongestPathDataflowPathGetEndPoint ( SynthLongestPathDataflowPath  dataflowPath)

Definition at line 224 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathDataflowPathGetHistory()

MLIR_CAPI_EXPORTED SynthLongestPathHistory synthLongestPathDataflowPathGetHistory ( SynthLongestPathDataflowPath  dataflowPath)

Definition at line 234 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathDataflowPathGetRoot()

MLIR_CAPI_EXPORTED MlirOperation synthLongestPathDataflowPathGetRoot ( SynthLongestPathDataflowPath  dataflowPath)

Definition at line 241 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathDataflowPathGetStartPoint()

MLIR_CAPI_EXPORTED SynthLongestPathObject synthLongestPathDataflowPathGetStartPoint ( SynthLongestPathDataflowPath  dataflowPath)

Definition at line 217 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathHistoryGetHead()

MLIR_CAPI_EXPORTED void synthLongestPathHistoryGetHead ( SynthLongestPathHistory  history,
SynthLongestPathObject *  object,
int64_t *  delay,
MlirStringRef *  comment 
)

Definition at line 255 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathHistoryGetTail()

MLIR_CAPI_EXPORTED SynthLongestPathHistory synthLongestPathHistoryGetTail ( SynthLongestPathHistory  history)

Definition at line 268 of file Synth.cpp.

References unwrap(), and wrap().

◆ synthLongestPathHistoryIsEmpty()

MLIR_CAPI_EXPORTED bool synthLongestPathHistoryIsEmpty ( SynthLongestPathHistory  history)

Definition at line 250 of file Synth.cpp.

References unwrap().

◆ synthLongestPathObjectBitPos()

MLIR_CAPI_EXPORTED size_t synthLongestPathObjectBitPos ( SynthLongestPathObject  object)

Definition at line 305 of file Synth.cpp.

References unwrap().

◆ synthLongestPathObjectGetInstancePath()

MLIR_CAPI_EXPORTED IgraphInstancePath synthLongestPathObjectGetInstancePath ( SynthLongestPathObject  object)

Definition at line 280 of file Synth.cpp.

References IgraphInstancePath::ptr, IgraphInstancePath::size, and unwrap().

◆ synthLongestPathObjectName()

MLIR_CAPI_EXPORTED MlirStringRef synthLongestPathObjectName ( SynthLongestPathObject  object)

Definition at line 294 of file Synth.cpp.

References unwrap().