|
CIRCT 24.0.0git
|
#include <ArcCostModel.h>

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 |
Definition at line 38 of file ArcCostModel.h.
|
private |
Definition at line 35 of file ArcCostModel.cpp.
References computeOperationCost(), CONCATCOST, EXTRACTCOST, getInputVectorsCost(), NORMALCOST, circt::arc::OperationCosts::normalCost, opCostCache, circt::arc::OperationCosts::packingCost, circt::arc::OperationCosts::shufflingCost, circt::arc::OperationCosts::totalCost(), and circt::arc::OperationCosts::vectorizeOpsBodyCost.
Referenced by computeOperationCost(), and getCost().
| OperationCosts ArcCostModel::getCost | ( | Operation * | op | ) |
Definition at line 31 of file ArcCostModel.cpp.
References computeOperationCost(), and getCost().
Referenced by getCost().
|
private |
Definition at line 75 of file ArcCostModel.cpp.
References getInputVectorsCost(), getShufflingCost(), PACKCOST, circt::arc::OperationCosts::packingCost, SAMEVECTORNOSHUFFLE, and circt::arc::OperationCosts::shufflingCost.
Referenced by computeOperationCost(), and getInputVectorsCost().
|
private |
Definition at line 101 of file ArcCostModel.cpp.
References DIFFERENTVECTORNOSHUFFLE, DIFFERENTVECTORSHUFFLECOST, getShufflingCost(), PACKCOST, and SAMEVECTORSHUFFLECOST.
Referenced by getInputVectorsCost(), and getShufflingCost().
|
private |
Definition at line 56 of file ArcCostModel.h.
Referenced by computeOperationCost().