CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::arc::ArcCostModel Class Reference

#include <ArcCostModel.h>

Collaboration diagram for circt::arc::ArcCostModel:

Public Member Functions

OperationCosts getCost (Operation *op)

Private Member Functions

OperationCosts computeOperationCost (Operation *op)
OperationCosts getInputVectorsCost (VectorizeOp vecOp)
size_t getShufflingCost (const ValueRange &inputVec, bool isSame=false)

Private Attributes

DenseMap< Operation *, OperationCosts > opCostCache

Detailed Description

Definition at line 38 of file ArcCostModel.h.

Member Function Documentation

◆ computeOperationCost()

◆ getCost()

OperationCosts ArcCostModel::getCost ( Operation * op)

Definition at line 31 of file ArcCostModel.cpp.

References computeOperationCost(), and getCost().

Referenced by getCost().

◆ getInputVectorsCost()

◆ getShufflingCost()

size_t ArcCostModel::getShufflingCost ( const ValueRange & inputVec,
bool isSame = false )
private

Member Data Documentation

◆ opCostCache

DenseMap<Operation *, OperationCosts> circt::arc::ArcCostModel::opCostCache
private

Definition at line 56 of file ArcCostModel.h.

Referenced by computeOperationCost().


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