/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 901 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch, in addMatcher() argument 903 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher() 907 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher() argument 909 Matchers.Type.emplace_back(NodeMatch, Action); in addMatcher() 913 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher() argument 915 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher() 919 void MatchFinder::addMatcher(const NestedNameSpecifierMatcher &NodeMatch, in addMatcher() argument 921 Matchers.NestedNameSpecifier.emplace_back(NodeMatch, Action); in addMatcher() 925 void MatchFinder::addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch, in addMatcher() argument 927 Matchers.NestedNameSpecifierLoc.emplace_back(NodeMatch, Action); in addMatcher() [all …]
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchFinder.h | 149 void addMatcher(const DeclarationMatcher &NodeMatch, 151 void addMatcher(const TypeMatcher &NodeMatch, 153 void addMatcher(const StatementMatcher &NodeMatch, 155 void addMatcher(const NestedNameSpecifierMatcher &NodeMatch, 157 void addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch, 159 void addMatcher(const TypeLocMatcher &NodeMatch, 171 bool addDynamicMatcher(const internal::DynTypedMatcher &NodeMatch,
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_utils.h | 154 struct NodeMatch { struct 155 NodeMatch() : node() {} in NodeMatch() function 157 std::vector<NodeMatch> inputs; argument 171 std::vector<NodeMatch>* matches); 176 NodeMatch* match); 200 const std::function<Status(const NodeMatch&, const std::set<string>&, 206 void MatchedNodesAsArray(const NodeMatch& match, std::vector<NodeDef>* result); 218 void CopyOriginalMatch(const NodeMatch& match, std::vector<NodeDef>* new_nodes);
|
D | fold_old_batch_norms.cc | 40 Status GetScaleAndOffsetValues(const NodeMatch& match, in GetScaleAndOffsetValues() 107 const NodeMatch& conv_node_match, in FuseScaleOffsetToConvWeights() 175 Status FuseBatchNormWithConv(const NodeMatch& match, in FuseBatchNormWithConv() 191 Status FuseBatchNormWithBatchToSpace(const NodeMatch& match, in FuseBatchNormWithBatchToSpace() 201 const NodeMatch& batch_to_space_node_match = match.inputs[0]; in FuseBatchNormWithBatchToSpace() 202 const NodeMatch& conv_node_match = batch_to_space_node_match.inputs[0]; in FuseBatchNormWithBatchToSpace() 220 Status FuseBatchNormWithConvConcat(const NodeMatch& match, in FuseBatchNormWithConvConcat() 230 const NodeMatch& concat_node_match = match.inputs[0]; in FuseBatchNormWithConvConcat() 310 [&did_graph_change](const NodeMatch& match, in FoldOldBatchNorms() 347 [&did_graph_change](const NodeMatch& match, in FoldOldBatchNorms() [all …]
|
D | transform_utils.cc | 33 void RecordMatchedNodes(const NodeMatch& match, in RecordMatchedNodes() 36 for (const NodeMatch& input_match : match.inputs) { in RecordMatchedNodes() 46 void MatchedNodesAsArray(const NodeMatch& match, std::vector<NodeDef>* result) { in MatchedNodesAsArray() 48 std::vector<NodeMatch> current_matches = {match}; in MatchedNodesAsArray() 50 std::vector<NodeMatch> next_matches; in MatchedNodesAsArray() 51 for (const NodeMatch& current_match : current_matches) { in MatchedNodesAsArray() 57 for (const NodeMatch& input_match : current_match.inputs) { in MatchedNodesAsArray() 275 string NodeMatch::DebugString() const { in DebugString() 279 for (const NodeMatch& input : inputs) { in DebugString() 292 std::vector<NodeMatch>* matches) { in GetOpTypeMatches() [all …]
|
D | backports.cc | 34 [](const NodeMatch& match, const std::set<string>& input_nodes, in BackportConcatV2Transform() 70 [&inputs_to_rename](const NodeMatch& match, in BackportTensorArrayV3Transform() 117 [](const NodeMatch& match, const std::set<string>& input_nodes, in BackportTensorArrayV3Transform()
|
D | transform_utils_test.cc | 304 std::vector<NodeMatch> const_matches; in TestGetOpTypeMatches() 307 for (const NodeMatch& match : const_matches) { in TestGetOpTypeMatches() 313 std::vector<NodeMatch> add_matches; in TestGetOpTypeMatches() 319 std::vector<NodeMatch> add_child_matches; in TestGetOpTypeMatches() 326 for (const NodeMatch& match : add_child_matches[0].inputs) { in TestGetOpTypeMatches() 332 std::vector<NodeMatch> no_such_matches; in TestGetOpTypeMatches() 336 std::vector<NodeMatch> all_matches; in TestGetOpTypeMatches() 357 std::vector<NodeMatch> wildcard_matches; in TestGetOpTypeMatches() 367 std::vector<NodeMatch> or_matches; in TestGetOpTypeMatches() 397 std::vector<NodeMatch> add_matches; in TestGetOpTypeMatchesDAG() [all …]
|
D | fuse_convolutions.cc | 45 [](const NodeMatch& match, const std::set<string>& input_nodes, in FuseResizePadAndConv() 94 [](const NodeMatch& match, const std::set<string>& input_nodes, in FuseResizeAndConv() 154 [](const NodeMatch& match, const std::set<string>& input_nodes, in FusePadAndConv()
|
D | quantize_nodes.cc | 279 [&inputs_to_rename, &graph_outputs](const NodeMatch& match, in RemoveRedundantQuantizations() 403 [](const NodeMatch& match, const std::set<string>& input_nodes, in ConvertFakeQuantsToRequantize() 497 [](const NodeMatch& match, const std::set<string>& input_nodes, in MergeAdjacentRequantizes() 547 [depth](const NodeMatch& match, const std::set<string>& input_nodes, in HoistFakeQuants() 554 NodeMatch current_match = match; in HoistFakeQuants() 696 const NodeMatch& match, const std::set<string>& input_nodes, in QuantizeNodes()
|
D | round_weights.cc | 40 [num_steps](const NodeMatch& match, const std::set<string>& input_nodes, in RoundWeights()
|
D | remove_nodes.cc | 70 const NodeMatch& match, const std::set<string>& input_nodes, in RemoveNodes()
|
D | fold_batch_norms.cc | 48 [](const NodeMatch& match, const std::set<string>& input_nodes, in FoldBatchNorms()
|
D | flatten_atrous.cc | 50 [](const NodeMatch& match, const std::set<string>& input_nodes, in FlattenAtrousConv()
|
D | quantize_weights.cc | 42 [minimum_size](const NodeMatch& match, in QuantizeWeights()
|
D | sparsify_gather.cc | 258 &refs](const NodeMatch& match, const std::set<string>& input_nodes, in SparsifyGatherInternal()
|
D | README.md | 951 `NodeMatch` that contains information about the current sub-graph, and return a 967 [](const NodeMatch& match, const std::set<string>& input_nodes,
|
/external/clang/unittests/AST/ |
D | StmtPrinterTest.cpp | 71 const T &NodeMatch, StringRef ExpectedPrinted) { in PrintedStmtMatches() argument 75 Finder.addMatcher(NodeMatch, &Printer); in PrintedStmtMatches() 101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX98Matches() argument 106 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted); in PrintedStmtCXX98Matches() 124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX11Matches() argument 129 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted); in PrintedStmtCXX11Matches()
|
D | DeclPrinterTest.cpp | 71 const DeclarationMatcher &NodeMatch, in PrintedDeclMatches() argument 76 Finder.addMatcher(NodeMatch, &Printer); in PrintedDeclMatches() 114 const DeclarationMatcher &NodeMatch, in PrintedDeclCXX98Matches() argument 119 NodeMatch, in PrintedDeclCXX98Matches() 137 const DeclarationMatcher &NodeMatch, in PrintedDeclCXX11Matches() argument 142 NodeMatch, in PrintedDeclCXX11Matches() 149 const DeclarationMatcher &NodeMatch, in PrintedDeclCXX11nonMSCMatches() argument 155 NodeMatch, in PrintedDeclCXX11nonMSCMatches() 161 PrintedDeclCXX1ZMatches(StringRef Code, const DeclarationMatcher &NodeMatch, in PrintedDeclCXX1ZMatches() argument 166 NodeMatch, in PrintedDeclCXX1ZMatches() [all …]
|
D | NamedDeclPrinterTest.cpp | 66 const DeclarationMatcher &NodeMatch, in PrintedNamedDeclMatches() argument 70 Finder.addMatcher(NodeMatch, &Printer); in PrintedNamedDeclMatches()
|