Home
last modified time | relevance | path

Searched refs:NodeCosts (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.h36 struct NodeCosts { struct
118 NodeCosts* node_costs) const;
122 NodeCosts* node_costs) const;
135 NodeCosts* node_costs) const;
137 NodeCosts* node_costs) const;
139 NodeCosts* node_costs) const;
141 NodeCosts* node_costs) const;
143 NodeCosts* node_costs) const;
145 NodeCosts* node_costs) const;
147 NodeCosts* node_costs) const;
[all …]
Dop_level_cost_estimator.cc361 NodeCosts*) const; in OpLevelCostEstimator()
363 -> std::function<Status(const OpContext&, NodeCosts*)> { in OpLevelCostEstimator()
364 return [this, impl](const OpContext& op_context, NodeCosts* node_costs) { in OpLevelCostEstimator()
650 NodeCosts node_costs; in PredictCosts()
695 NodeCosts* node_costs) const { in PredictNodeCosts()
699 std::function<Status(const OpContext&, NodeCosts*)> estimator = it->second; in PredictNodeCosts()
773 NodeCosts* node_costs) const { in PredictCwiseOp()
805 const OpContext& op_context, NodeCosts* node_costs) const { in PredictCostOfAnUnknownOp()
1630 bool* found_unknown_shapes, NodeCosts* node_costs) { in PredictDefaultNodeCosts()
1661 NodeCosts* node_costs) const { in PredictConv2D()
[all …]
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp177 PBQPRAGraph::RawVector NodeCosts(G.getNodeCosts(NId)); in apply() local
178 NodeCosts[PBQP::RegAlloc::getSpillOptionIdx()] = SpillCost; in apply()
179 G.setNodeCosts(NId, std::move(NodeCosts)); in apply()
619 PBQPRAGraph::RawVector NodeCosts(VRegAllowed.size() + 1, 0); in initializeGraph() local
625 NodeCosts[1 + i] += 1.0; in initializeGraph()
627 PBQPRAGraph::NodeId NId = G.addNode(std::move(NodeCosts)); in initializeGraph()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp207 PBQPRAGraph::RawVector NodeCosts(G.getNodeCosts(NId)); in apply() local
208 NodeCosts[PBQP::RegAlloc::getSpillOptionIdx()] = SpillCost; in apply()
209 G.setNodeCosts(NId, std::move(NodeCosts)); in apply()
660 PBQPRAGraph::RawVector NodeCosts(VRegAllowed.size() + 1, 0); in initializeGraph() local
666 NodeCosts[1 + i] += 1.0; in initializeGraph()
668 PBQPRAGraph::NodeId NId = G.addNode(std::move(NodeCosts)); in initializeGraph()
/external/llvm-project/llvm/lib/CodeGen/
DRegAllocPBQP.cpp206 PBQPRAGraph::RawVector NodeCosts(G.getNodeCosts(NId)); in apply() local
207 NodeCosts[PBQP::RegAlloc::getSpillOptionIdx()] = SpillCost; in apply()
208 G.setNodeCosts(NId, std::move(NodeCosts)); in apply()
674 PBQPRAGraph::RawVector NodeCosts(VRegAllowed.size() + 1, 0); in initializeGraph() local
680 NodeCosts[1 + i] += 1.0; in initializeGraph()
682 PBQPRAGraph::NodeId NId = G.addNode(std::move(NodeCosts)); in initializeGraph()