Home
last modified time | relevance | path

Searched refs:NodeMap (Results 1 – 25 of 61) sorted by relevance

123

/external/regex-re2/re2/
Dprefilter_tree.h63 typedef std::map<string, Prefilter*> NodeMap; typedef
93 void AssignUniqueIds(NodeMap* nodes, std::vector<string>* atom_vec);
101 Prefilter* CanonicalNode(NodeMap* nodes, Prefilter* node);
111 void PrintDebugInfo(NodeMap* nodes);
Dprefilter_tree.cc71 NodeMap nodes; in Compile()
108 Prefilter* PrefilterTree::CanonicalNode(NodeMap* nodes, Prefilter* node) { in CanonicalNode()
168 void PrefilterTree::AssignUniqueIds(NodeMap* nodes, in AssignUniqueIds()
367 void PrefilterTree::PrintDebugInfo(NodeMap* nodes) { in PrintDebugInfo()
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/re2/re2/
Dprefilter_tree.h64 typedef std::map<std::string, Prefilter*> NodeMap; typedef
94 void AssignUniqueIds(NodeMap* nodes, std::vector<std::string>* atom_vec);
102 Prefilter* CanonicalNode(NodeMap* nodes, Prefilter* node);
112 void PrintDebugInfo(NodeMap* nodes);
Dprefilter_tree.cc66 NodeMap nodes; in Compile()
99 Prefilter* PrefilterTree::CanonicalNode(NodeMap* nodes, Prefilter* node) { in CanonicalNode()
101 NodeMap::iterator iter = nodes->find(node_string); in CanonicalNode()
159 void PrefilterTree::AssignUniqueIds(NodeMap* nodes, in AssignUniqueIds()
335 void PrefilterTree::PrintDebugInfo(NodeMap* nodes) { in PrintDebugInfo()
348 for (NodeMap::const_iterator iter = nodes->begin(); in PrintDebugInfo()
/external/tensorflow/tensorflow/core/grappler/
Dutils.h247 class NodeMap : public internal::NodeMapInternal<GraphDef, NodeDef> {
249 explicit NodeMap(GraphDef* graph) : NodeMapInternal(graph) {} in NodeMap() function
352 bool HasRegularOutputs(const NodeDef& node, const NodeMap& node_map);
355 bool HasControlOutputs(const NodeDef& node, const NodeMap& node_map);
364 int NumControlOutputs(const NodeDef& node, const NodeMap& node_map);
367 int NumNonControlOutputs(const NodeDef& node, const NodeMap& node_map);
371 int NumNonControlDataOutputs(const NodeDef& node, const NodeMap& node_map);
395 NodeDef* GetTailOfChain(const NodeDef& source, const NodeMap& node_map,
Dutils.cc214 bool HasRegularOutputs(const NodeDef& node, const NodeMap& node_map) { in HasRegularOutputs()
228 bool HasControlOutputs(const NodeDef& node, const NodeMap& node_map) { in HasControlOutputs()
243 int NumControlOutputs(const NodeDef& node, const NodeMap& node_map) { in NumControlOutputs()
259 int NumNonControlOutputs(const NodeDef& node, const NodeMap& node_map) { in NumNonControlOutputs()
279 int NumNonControlDataOutputs(const NodeDef& node, const NodeMap& node_map) { in NumNonControlDataOutputs()
308 NodeDef* GetTailOfChain(const NodeDef& source, const NodeMap& node_map, in GetTailOfChain()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dscoped_allocator_optimizer.h33 class NodeMap; variable
73 NodeMap* node_map() { return node_map_.get(); } in node_map()
117 std::unique_ptr<NodeMap> node_map_;
Dgraph_optimizer_stage_test.cc92 NodeMap node_map(&graph); in TEST_F()
121 NodeMap node_map(&graph); in TEST_F()
154 NodeMap node_map(&item.graph); in TEST_F()
196 NodeMap node_map(&item.graph); in TEST_F()
Dscoped_allocator_optimizer.cc151 void RemoveNode(NodeDef* nd, GraphDef* graph, NodeMap* node_map) { in RemoveNode()
169 NodeDef* to_node, NodeMap* node_map) { in RemoveEdge()
217 NodeMap* node_map, const DataType& dtype, in MaybeRewriteInput()
260 NodeMap* node_map, const std::vector<NodeDef*>& ops, in GetInputs()
314 Status GetDataInputs(GraphDef* graph, NodeMap* node_map, NodeDef* op, in GetDataInputs()
425 NodeMap* node_map) { in ClearInternalControlInputs()
448 NodeMap* node_map, const std::vector<NodeDef*>& ops, in AnalyzeInputs()
484 GraphDef* graph, NodeMap* node_map, in TransitiveFanoutWithinFrame()
511 ScopedAllocatorOptimizer* sa_opti, GraphDef* graph, NodeMap* node_map, in ConstructScopedAllocatorNode()
597 Status BuildSAConcatNode(GraphDef* graph, NodeMap* node_map, in BuildSAConcatNode()
[all …]
Dscoped_allocator_optimizer_test.cc321 void GetNode(NodeMap* node_map, const string& node_name, NodeDef** node_def) { in GetNode()
328 NodeDef* ValidateSAControlInput(GraphDef* graph, NodeMap* node_map, in ValidateSAControlInput()
347 int NumControlInputs(NodeMap* node_map, const string& node_name) { in NumControlInputs()
378 NodeMap node_map(&optimized_graph); in TEST_F()
495 NodeMap node_map(&optimized_graph); in TEST_F()
528 NodeMap node_map(&optimized_graph); in TEST_F()
590 NodeMap node_map(&optimized_graph); in TEST_F()
Dcommon_subgraph_elimination_test.cc83 NodeMap node_map(&output); in TEST_F()
123 NodeMap node_map(&output); in TEST_F()
154 NodeMap node_map(&output); in TEST_F()
Dmodel_pruner.cc203 const NodeMap& node_map, const std::vector<string>& terminal_nodes, in IdentityNTerminalPorts()
276 GraphDef* graph, NodeMap* node_map) { in NewIdentityFromIdentityN()
301 NodeMap* node_map) { in RewriteIdentityNAndInputsOutputs()
394 NodeMap node_map(graph); in SplitIdentityNInputs()
Dmemory_optimizer_test.cc55 NodeMap pre_transform_node_map(&item.graph); in TEST_F()
64 NodeMap post_transform_node_map(&output); in TEST_F()
95 NodeMap pre_transform_node_map(&item.graph); in TEST_F()
118 NodeMap pre_transform_node_map(&item.graph); in TEST_F()
130 NodeMap post_transform_node_map(&output); in TEST_F()
158 NodeMap pre_transform_node_map(&item.graph); in TEST_F()
170 NodeMap post_transform_node_map(&first_pass_output); in TEST_F()
Dloop_optimizer.h64 NodeMap& node_map,
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/
DTestParentChildReferences.java125 static class NodeMap class in TestParentChildReferences
136 public NodeMap parent;
303 NodeMap root = new NodeMap(); in testMapOfRefs()
312 NodeMap result = MAPPER.readValue(json, NodeMap.class); in testMapOfRefs()
/external/tensorflow/tensorflow/core/grappler/utils/
Dtransitive_fanin_test.cc71 NodeMap node_map(&output_graph); in TEST_F()
90 NodeMap node_map(&output_graph); in TEST_F()
111 NodeMap node_map(&output_graph); in TEST_F()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dgraph_compiler_util.cc47 typedef std::unordered_map<string, Node*> NodeMap; typedef
54 Status AddArgNodes(Graph* graph, const NodeMap& node_map, in AddArgNodes()
114 Status AddRetvalNodes(Graph* graph, const NodeMap& node_map, in AddRetvalNodes()
151 NodeMap node_map; in RewriteAndPruneGraph()
/external/libchrome/mojo/core/
Dnode_controller.h136 using NodeMap = variable
261 NodeMap peers_;
320 NodeMap pending_invitations_;
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/
DX86LoadValueInjectionLoadHardening.cpp341 DenseMap<MachineInstr *, GraphIter> NodeMap; in getGadgetGraph() local
343 auto MaybeAddNode = [&NodeMap, &Builder](MachineInstr *MI) { in getGadgetGraph()
344 auto Ref = NodeMap.find(MI); in getGadgetGraph()
345 if (Ref == NodeMap.end()) { in getGadgetGraph()
347 NodeMap[MI] = I; in getGadgetGraph()
513 auto Ref = NodeMap.find(&*NI); in getGadgetGraph()
514 if (Ref != NodeMap.end()) { in getGadgetGraph()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLazyCallGraph.cpp207 : BPA(std::move(G.BPA)), NodeMap(std::move(G.NodeMap)), in LazyCallGraph()
216 NodeMap = std::move(G.NodeMap); in operator =()
1455 assert(G->NodeMap.find(&NewF) == G->NodeMap.end() && in replaceNodeFunction()
1472 G->NodeMap.erase(&OldF); in replaceNodeFunction()
1473 G->NodeMap[&NewF] = &N; in replaceNodeFunction()
1503 auto NI = NodeMap.find(&F); in removeDeadFunction()
1504 if (NI == NodeMap.end()) in removeDeadFunction()
1509 NodeMap.erase(NI); in removeDeadFunction()
1563 for (auto &FunctionNodePair : NodeMap) in updateGraphPtrs()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
DLazyCallGraph.cpp208 : BPA(std::move(G.BPA)), NodeMap(std::move(G.NodeMap)), in LazyCallGraph()
224 NodeMap = std::move(G.NodeMap); in operator =()
1451 assert(G->NodeMap.find(&NewF) == G->NodeMap.end() && in replaceNodeFunction()
1468 G->NodeMap.erase(&OldF); in replaceNodeFunction()
1469 G->NodeMap[&NewF] = &N; in replaceNodeFunction()
1505 auto NI = NodeMap.find(&F); in removeDeadFunction()
1506 if (NI == NodeMap.end()) in removeDeadFunction()
1541 NodeMap.erase(NI); in removeDeadFunction()
1779 for (auto &FunctionNodePair : NodeMap) in updateGraphPtrs()
1790 NodeMap[&F] = &N; in initNode()
/external/intel-media-driver/media_softlet/agnostic/common/vp/cm_fc_ld/
DDepGraph.cpp37 auto I = NodeMap.find(P); in getDepNode()
38 if (I != NodeMap.end()) in getDepNode()
42 NodeMap[P] = N; in getDepNode()
DDepGraph.h46 std::map<std::tuple<Binary *, unsigned, bool>, DepNode *> NodeMap; variable
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h127 NodeMap[ID] = DynNode; in addNode()
136 IDToNodeMap::const_iterator It = NodeMap.find(ID); in getNodeAs()
137 if (It == NodeMap.end()) { in getNodeAs()
144 IDToNodeMap::const_iterator It = NodeMap.find(ID); in getNode()
145 if (It == NodeMap.end()) { in getNode()
153 return NodeMap < Other.NodeMap;
164 return NodeMap; in getMap()
170 for (const auto &IDAndNode : NodeMap) { in isComparable()
178 IDToNodeMap NodeMap;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h100 DenseMap<const Value*, SDValue> NodeMap; variable
525 if (NodeMap.find(V) == NodeMap.end()) in getNodeForIRValue()
527 return NodeMap[V].getNode(); in getNodeForIRValue()
534 SDValue &N = NodeMap[V]; in setValue()

123