CIRCT  20.0.0git
Public Member Functions | Private Member Functions | Private Attributes | List of all members
circt::arc::ArcCostModel Class Reference

#include <ArcCostModel.h>

Collaboration diagram for circt::arc::ArcCostModel:
Collaboration graph
[legend]

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 *, OperationCostsopCostCache
 

Detailed Description

Definition at line 38 of file ArcCostModel.h.

Member Function Documentation

◆ computeOperationCost()

OperationCosts ArcCostModel::computeOperationCost ( Operation *  op)
private

◆ getCost()

OperationCosts ArcCostModel::getCost ( Operation *  op)

Definition at line 32 of file ArcCostModel.cpp.

◆ getInputVectorsCost()

OperationCosts ArcCostModel::getInputVectorsCost ( VectorizeOp  vecOp)
private

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


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