Searched refs:body_func (Results 1 – 5 of 5) sorted by relevance
62 AttrValue body_func; in TEST() local63 body_func.mutable_func()->set_name("XTimesTwo"); in TEST()68 .Attr("body", body_func) in TEST()165 AttrValue body_func; in TEST() local166 body_func.mutable_func()->set_name("XPlusOneXTimesY"); in TEST()171 .Attr("body", body_func) in TEST()267 AttrValue body_func; in TEST() local268 body_func.mutable_func()->set_name("XTimesTwo"); in TEST()273 .Attr("body", body_func) in TEST()
148 AttrValue body_func; in TEST() local149 body_func.mutable_func()->set_name("WhileWithIfBody"); in TEST()154 .Attr("body", body_func) in TEST()198 NameAttrList body_func; in IfWithWhileThen() local199 body_func.set_name("XTimesTwo"); in IfWithWhileThen()217 {"body", body_func}, in IfWithWhileThen()
213 const FunctionDef* body_func = in IsNodeStateful() local217 (body_func != nullptr && in IsNodeStateful()218 !IsFunctionStateful(library, *body_func, skip_assert))) { in IsNodeStateful()
261 const FunctionDef* body_func = lookup_fld->Find(body_attr.name()); in PropagateConstIntoWhileNode() local262 if (!body_func) { in PropagateConstIntoWhileNode()278 if (i >= body_func->signature().output_arg_size()) { in PropagateConstIntoWhileNode()281 const OpDef_ArgDef& output_arg = body_func->signature().output_arg(i); in PropagateConstIntoWhileNode()282 auto output_arg_input = body_func->ret().find(output_arg.name()); in PropagateConstIntoWhileNode()283 if (output_arg_input == body_func->ret().end()) { in PropagateConstIntoWhileNode()288 const OpDef_ArgDef& input_arg = body_func->signature().input_arg(i); in PropagateConstIntoWhileNode()
203 const string body_func = name_attr->name(); in IsCompilableWhile() local205 call.set_op(body_func); in IsCompilableWhile()210 << ": can't compile loop body: " << body_func; in IsCompilableWhile()