CIRCT
20.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 36 of file ArcCostModel.cpp.
References CONCATCOST, EXTRACTCOST, circt::arc::OperationCosts::normalCost, NORMALCOST, circt::arc::OperationCosts::packingCost, circt::arc::OperationCosts::shufflingCost, circt::arc::OperationCosts::totalCost(), and circt::arc::OperationCosts::vectorizeOpsBodyCost.
OperationCosts ArcCostModel::getCost | ( | Operation * | op | ) |
Definition at line 32 of file ArcCostModel.cpp.
|
private |
Definition at line 76 of file ArcCostModel.cpp.
References PACKCOST, circt::arc::OperationCosts::packingCost, SAMEVECTORNOSHUFFLE, and circt::arc::OperationCosts::shufflingCost.
|
private |
Definition at line 102 of file ArcCostModel.cpp.
References DIFFERENTVECTORNOSHUFFLE, DIFFERENTVECTORSHUFFLECOST, PACKCOST, and SAMEVECTORSHUFFLECOST.
|
private |
Definition at line 56 of file ArcCostModel.h.