Home
last modified time | relevance | path

Searched refs:call_node (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/converters/
Ddirectives.py36 def _map_args(call_node, function): argument
48 args = call_node.args
49 kwds = {kwd.arg: kwd.value for kwd in call_node.keywords}
74 def _process_symbol_directive(self, call_node, directive): argument
75 if len(call_node.args) < 1:
78 target = call_node.args[0]
81 def_.directives[directive] = _map_args(call_node, directive)
82 return call_node
84 def _process_statement_directive(self, call_node, directive): argument
90 node_anno[directive] = _map_args(call_node, directive)
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_function_detect_recursion.cpp132 struct call_node : public exec_node { struct
212 call_node *node = new(mem_ctx) call_node; in visit_enter()
218 node = new(mem_ctx) call_node; in visit_enter()
235 foreach_in_list_safe(call_node, node, list) { in destroy_links()
257 struct call_node *n = (struct call_node *) f->callers.pop_head(); in remove_unlinked_functions()
262 struct call_node *n = (struct call_node *) f->callees.pop_head(); in remove_unlinked_functions()
/external/tensorflow/tensorflow/compiler/jit/
Dbuild_xla_ops_pass_test.cc90 NodeDef call_node; in MakeXlaCompiledKernel() local
91 call_node.set_name(node_name); in MakeXlaCompiledKernel()
92 call_node.set_op(callee_name); in MakeXlaCompiledKernel()
93 AddNodeAttr(kXlaCompiledKernelAttr, true, &call_node); in MakeXlaCompiledKernel()
94 AddNodeAttr(kXlaNumConstantArgsAttr, num_constant_args, &call_node); in MakeXlaCompiledKernel()
95 AddNodeAttr(kXlaNumResourceArgsAttr, num_resource_args, &call_node); in MakeXlaCompiledKernel()
97 *result = graph->AddNode(call_node, &s); in MakeXlaCompiledKernel()
Dextract_outside_compilation_pass.cc292 const Node* call_node, const std::map<string, int>& host_compute_core) { in BuildXlaHostComputeNodeDef() argument
295 call_node->attrs(), "_outside_compilation_subgraph", &original_oc_name)); in BuildXlaHostComputeNodeDef()
301 for (auto attr : call_node->attrs()) { in BuildXlaHostComputeNodeDef()
318 TF_RETURN_IF_ERROR(GetNodeAttr(call_node->attrs(), "Tinputs", &input_dtypes)); in BuildXlaHostComputeNodeDef()
320 for (auto e : call_node->in_edges()) { in BuildXlaHostComputeNodeDef()
338 Status ValidateOutsideCompilationCallNode(Node* call_node) { in ValidateOutsideCompilationCallNode() argument
341 for (const Edge* e : call_node->in_edges()) { in ValidateOutsideCompilationCallNode()
354 for (const Edge* e : call_node->out_edges()) { in ValidateOutsideCompilationCallNode()
374 Graph* g, Node* call_node, const std::map<string, int>& host_compute_core) { in ReplaceOrRemoveOutsideCompilationCallNode() argument
377 for (auto e : call_node->in_edges()) { in ReplaceOrRemoveOutsideCompilationCallNode()
[all …]
Dresource_operation_safety_analysis_test.cc255 NodeDef call_node; in MakeCall() local
256 call_node.set_name(node_name); in MakeCall()
257 call_node.set_op(callee_name); in MakeCall()
258 return graph->AddNode(call_node, status); in MakeCall()
Dmark_for_compilation_pass_test.cc832 NodeDef call_node; in TEST() local
833 call_node.set_name("fn_call"); in TEST()
834 call_node.set_op("Stateful_func"); in TEST()
836 Node* call = root.graph()->AddNode(call_node, &status); in TEST()
Dextract_outside_compilation_pass_test.cc918 Node *call_node = node_name_index["oc_call_fn"]; in TEST_F() local
919 EXPECT_NE(call_node, nullptr); in TEST_F()
Dencapsulate_subgraphs_pass_test.cc398 Node* KeyPlaceholder(const string& call_node, in KeyPlaceholder() argument
401 NodeBuilder node_builder(absl::StrCat(call_node, "_key_placeholder"), in KeyPlaceholder()
407 .WithAttr("_host_compute_call_node", call_node) in KeyPlaceholder()
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dtype_info_test.py90 call_node = node.body[0].value
91 self.assertTrue(anno.getanno(call_node, 'is_constructor'))
93 anno.getanno(call_node, 'type'))
95 anno.getanno(call_node, 'type_fqn'))
104 call_node = node.body[0].value
105 self.assertFalse(anno.hasanno(call_node, 'is_constructor'))
Dactivity_test.py175 call_node = node.body[2].value
179 anno.getanno(call_node, NodeAnno.ARGS_SCOPE), ('a', 'b'), ())
192 call_node = node.body[1].value
194 anno.getanno(call_node, NodeAnno.ARGS_SCOPE), ('a', 'a.b', 'a.c'), ())
208 call_node = node.body[2].value
210 anno.getanno(call_node, NodeAnno.ARGS_SCOPE),
/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c2692 void cil_print_recursive_call(struct cil_tree_node *call_node, struct cil_tree_node *terminating_no… in cil_print_recursive_call() argument
2700 for (curr = call_node; curr != terminating_node; curr = curr->parent) { in cil_print_recursive_call()
2702 if (curr != call_node) { in cil_print_recursive_call()
2727 int cil_check_recursive_call(struct cil_tree_node *call_node, struct cil_tree_node *macro_node) in cil_check_recursive_call() argument
2733 for (curr = call_node; curr != NULL; curr = curr->parent) { in cil_check_recursive_call()
2735 if (curr == call_node) { in cil_check_recursive_call()
2753 cil_print_recursive_call(call_node, curr); in cil_check_recursive_call()