Home
last modified time | relevance | path

Searched refs:attr_node (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dsymbol_resolver.cc35 PatternNode<AnfNodePtr> resolve_node, ns_node, sym_node, attr_node, bool_node; in operator ()() local
36 auto GetAttrResolveLambda = [&node, &resolve_node, &attr_node, &optimizer]() -> AnfNodePtr { in operator ()()
38 auto attr = attr_node.GetNode(node); in operator ()()
57 auto GetAttrLambda = [&node, &ns_node, &attr_node, &optimizer]() -> AnfNodePtr { in operator ()()
59 auto str = GetValue<std::string>(GetValueNode(attr_node.GetNode(node))); in operator ()()
72 …MATCH_REPLACE_LAMBDA_IF(node, PPrimitive(prim::kPrimGetAttr, resolve_node, attr_node), GetAttrReso… in operator ()()
73 attr_node.CheckFunc(IsValueNode<StringImm>, node)); in operator ()()
76 node, PPrimitive(prim::kPrimGetAttr, ns_node, attr_node), GetAttrLambda, in operator ()()
77 …ns_node.CheckFunc(IsValueNode<parse::NameSpace>, node) && attr_node.CheckFunc(IsValueNode<StringIm… in operator ()()
80 node, PPrimitive(prim::kPrimGetAttr, bool_node, attr_node), bool_node, in operator ()()
[all …]
/third_party/selinux/libsepol/cil/src/
Dcil_resolve_ast.c425 struct cil_tree_node *attr_node = NULL; in cil_resolve_typeattributeset() local
434 attr_node = NODE(attr_datum); in cil_resolve_typeattributeset()
436 if (attr_node->flavor != CIL_TYPEATTRIBUTE) { in cil_resolve_typeattributeset()
465 struct cil_tree_node *attr_node = NULL; in cil_resolve_expandtypeattribute() local
478 attr_node = NODE(attr_datum); in cil_resolve_expandtypeattribute()
480 if (attr_node->flavor != CIL_TYPEATTRIBUTE) { in cil_resolve_expandtypeattribute()
1136 struct cil_tree_node *attr_node = NULL; in cil_resolve_roleattributeset() local
1143 attr_node = NODE(attr_datum); in cil_resolve_roleattributeset()
1145 if (attr_node->flavor != CIL_ROLEATTRIBUTE) { in cil_resolve_roleattributeset()
3449 struct cil_tree_node *attr_node = NULL; in cil_resolve_userattributeset() local
[all …]
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse.cc797 AnfNodePtr attr_node = nullptr; in ParseAttribute() local
800 attr_node = NewValueNode(attr_str); in ParseAttribute()
804 auto attr_cnode = block->func_graph()->NewCNodeInOrder({op_node, value_node, attr_node}); in ParseAttribute()