CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::synth::LongestPathCollection Class Reference

#include <LongestPathAnalysis.h>

Collaboration diagram for circt::synth::LongestPathCollection:

Public Member Functions

 LongestPathCollection (MLIRContext *ctx)
const DataflowPath & getPath (unsigned index) const
MLIRContext * getContext () const
void sortInDescendingOrder ()
void dropNonCriticalPaths (bool perEndPoint=true)
void merge (const LongestPathCollection &other)

Public Attributes

llvm::SmallVector< DataflowPath, 64 > paths

Private Attributes

MLIRContext * ctx

Detailed Description

Definition at line 338 of file LongestPathAnalysis.h.

Constructor & Destructor Documentation

◆ LongestPathCollection()

circt::synth::LongestPathCollection::LongestPathCollection ( MLIRContext * ctx)
inline

Definition at line 340 of file LongestPathAnalysis.h.

References ctx.

Referenced by merge().

Member Function Documentation

◆ dropNonCriticalPaths()

void LongestPathCollection::dropNonCriticalPaths ( bool perEndPoint = true)

Definition at line 2047 of file LongestPathAnalysis.cpp.

References paths.

◆ getContext()

MLIRContext * circt::synth::LongestPathCollection::getContext ( ) const
inline

Definition at line 342 of file LongestPathAnalysis.h.

References ctx.

◆ getPath()

const DataflowPath & circt::synth::LongestPathCollection::getPath ( unsigned index) const
inline

Definition at line 341 of file LongestPathAnalysis.h.

References paths.

◆ merge()

void LongestPathCollection::merge ( const LongestPathCollection & other)

Definition at line 2067 of file LongestPathAnalysis.cpp.

References LongestPathCollection(), paths, and sortInDescendingOrder().

◆ sortInDescendingOrder()

void LongestPathCollection::sortInDescendingOrder ( )

Definition at line 2041 of file LongestPathAnalysis.cpp.

References circt::synth::DataflowPath::getDelay(), and paths.

Referenced by merge().

Member Data Documentation

◆ ctx

MLIRContext* circt::synth::LongestPathCollection::ctx
private

Definition at line 355 of file LongestPathAnalysis.h.

Referenced by getContext(), and LongestPathCollection().

◆ paths

llvm::SmallVector<DataflowPath, 64> circt::synth::LongestPathCollection::paths

Definition at line 343 of file LongestPathAnalysis.h.

Referenced by dropNonCriticalPaths(), getPath(), merge(), and sortInDescendingOrder().


The documentation for this class was generated from the following files: