CIRCT  20.0.0git
Public Member Functions | Public Attributes | List of all members
circt::arc::OperationCosts Struct Reference

#include <ArcCostModel.h>

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

Public Member Functions

size_t totalCost () const
 
OperationCostsoperator+= (const OperationCosts &other)
 

Public Attributes

size_t normalCost {0}
 
size_t packingCost {0}
 
size_t shufflingCost {0}
 
size_t vectorizeOpsBodyCost {0}
 

Detailed Description

Definition at line 21 of file ArcCostModel.h.

Member Function Documentation

◆ operator+=()

OperationCosts& circt::arc::OperationCosts::operator+= ( const OperationCosts other)
inline

Definition at line 29 of file ArcCostModel.h.

References normalCost, packingCost, shufflingCost, and vectorizeOpsBodyCost.

◆ totalCost()

size_t circt::arc::OperationCosts::totalCost ( ) const
inline

Definition at line 26 of file ArcCostModel.h.

Referenced by circt::arc::ArcCostModel::computeOperationCost().

Member Data Documentation

◆ normalCost

size_t circt::arc::OperationCosts::normalCost {0}

Definition at line 22 of file ArcCostModel.h.

Referenced by circt::arc::ArcCostModel::computeOperationCost(), and operator+=().

◆ packingCost

size_t circt::arc::OperationCosts::packingCost {0}

◆ shufflingCost

size_t circt::arc::OperationCosts::shufflingCost {0}

◆ vectorizeOpsBodyCost

size_t circt::arc::OperationCosts::vectorizeOpsBodyCost {0}

Definition at line 25 of file ArcCostModel.h.

Referenced by circt::arc::ArcCostModel::computeOperationCost(), and operator+=().


The documentation for this struct was generated from the following file: