Home
last modified time | relevance | path

Searched refs:loop_cond (Results 1 – 25 of 32) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopRotate/
Dvect.omp.persistence.ll11 ; CHECK: loop_cond:
13 ; CHECK: br i1 %cmp, label %return, label %loop_cond, !llvm.loop !0
18 br label %loop_cond
20 loop_cond:
27 br label %loop_cond, !llvm.loop !0
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/IRCE/
Drange_intersect_miscompile.ll26 ; CHECK-NEXT: %loop_cond = icmp ult i32 %iv_next, 400
36 ; CHECK-NEXT: %loop_cond.postloop = icmp ult i32 %iv_next.postloop, 400
37 ; CHECK-NEXT: br i1 %loop_cond.postloop, label %loop_header.postloop, label %exit.loopexit
66 %loop_cond = icmp ult i32 %iv_next, 400
67 br i1 %loop_cond, label %loop_header, label %exit
86 ; CHECK-NEXT: %loop_cond = icmp ult i32 %iv_next, 400
87 ; CHECK-NEXT: br i1 %loop_cond, label %loop_header, label %exit
116 %loop_cond = icmp ult i32 %iv_next, 400
117 br i1 %loop_cond, label %loop_header, label %exit
164 %loop_cond = icmp ult i32 %iv_next, 400
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dwhile_test.py49 def loop_cond(step): function
55 loop_outputs = xla.while_loop([init_index], loop_cond, loop_body)
70 def loop_cond(step, rsum): function
78 loop_outputs = xla.while_loop([init_index, init_sum], loop_cond,
96 def loop_cond(step, rsum): function
104 loop_outputs = xla.while_loop([init_index, init_sum], loop_cond,
122 def loop_cond(step, x): function
129 loop_outputs = xla.while_loop([init_index, 42], loop_cond, loop_body)
/external/tensorflow/tensorflow/core/graph/
Dcontrol_flow.cc37 const Node* loop_cond = nullptr; member
69 if (frame.loop_cond && in ValidateControlFlowInfo()
70 !str_util::StrContains(frame.loop_cond->name(), "LoopCounter") && in ValidateControlFlowInfo()
75 " and ", FormatNodeForError(*frame.loop_cond), in ValidateControlFlowInfo()
79 frame.loop_cond = node; in ValidateControlFlowInfo()
Dgraph_partition_test.cc649 LoopCond loop_cond(scope, cv); in TEST() local
650 Switch switch_node(scope, merge.output, loop_cond); in TEST()
663 enter, merge.output, cv, loop_cond, switch_node.output_false, in TEST()
Dgraph_partition.cc494 const Edge* edge, Node* loop_cond, in AddControlLoop() argument
523 Node* switch_node = AddControlSwitch(merge, loop_cond, device_name, in AddControlLoop()
703 Node* loop_cond = cond_it->second; in AddControlFlow() local
707 status = AddControlLoop(opts, g, src_frame, edge, loop_cond, &cf_info, in AddControlFlow()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dvect.omp.persistence.ll20 br label %loop_cond
22 loop_cond:
29 br label %loop_cond, !llvm.loop !0
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis_test.cc72 Output loop_cond; member
189 const Output& loop_cond, const Output& value) { in CreateDependentLoopInvariantValue() argument
193 ops::Switch latch(root.WithOpName(prefix + "/latch"), iv.output, loop_cond); in CreateDependentLoopInvariantValue()
206 const Output& loop_cond, int32 value) { in CreateDependentLoopInvariantValue() argument
208 root, prefix, frame_name, loop_cond, in CreateDependentLoopInvariantValue()
534 CreateDependentLoopInvariantValue(root, "div0", "loop", iv.loop_cond, 0) in TEST()
537 CreateDependentLoopInvariantValue(root, "div1", "loop", iv.loop_cond, 0) in TEST()
570 CreateDependentLoopInvariantValue(root, "div0", "frame", iv.loop_cond, 0); in TEST()
606 enter_constant_outer_loop, iv_outer.loop_cond); in TEST()
612 "outer_loop", iv_outer.loop_cond, 0) in TEST()
[all …]
Dshape_inference_test.cc86 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST() local
88 ops::Switch(scope.WithOpName("while/Switch"), merge.output, loop_cond); in TEST()
/external/tensorflow/tensorflow/python/grappler/
Dconstant_folding_test.py37 def loop_cond(idx_step, *unused_args): function
57 loop_cond,
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_while.cc75 Node* loop_cond = nullptr; member
170 TF_ASSIGN_OR_RETURN(node_map[frame->loop_cond->id()], in BuildLoopCondition()
176 return CopySubgraph(graph, frame, {frame->loop_cond}, squash_src_outputs, in BuildLoopCondition()
342 if (frame->loop_cond == nullptr) { in FunctionalizeLoop()
349 for (const Edge* edge : frame->loop_cond->out_edges()) { in FunctionalizeLoop()
521 NodeDefBuilder builder(frame->loop_cond->name(), "While", library); in FunctionalizeLoop()
526 if (GetNodeAttr(frame->loop_cond->def(), kXlaOutsideCompilationAttrName, in FunctionalizeLoop()
635 frame.loop_cond = node; in FunctionalizeWhileLoop()
Dfunctionalize_control_flow_test.cc221 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST() local
223 ops::Switch(scope.WithOpName("while/Switch"), merge.output, loop_cond); in TEST()
371 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST() local
373 ops::Switch(scope.WithOpName("while/Switch"), merge.output, loop_cond); in TEST()
505 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST() local
507 ops::Switch(scope.WithOpName("while/Switch"), merge.output, loop_cond); in TEST()
627 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST() local
630 merge_x.output, loop_cond); in TEST()
632 merge_y.output, loop_cond); in TEST()
852 auto loop_cond = ops::LoopCond(scope.WithOpName("outer/LoopCond"), less_j); in TEST() local
[all …]
/external/llvm/test/Transforms/LoopVectorize/
Dvect.omp.persistence.ll75 br label %loop_cond
76 loop_cond:
82 br label %loop_cond, !llvm.loop !3
/external/llvm/test/CodeGen/Hexagon/
Drdf-dead-loop.ll17 %polly.loop_cond = icmp slt i32 %polly.indvar, 4
19 br i1 %polly.loop_cond, label %body, label %exit
Dpostinc-offset.ll32 %polly.loop_cond = icmp slt i32 %polly.indvar, 4
34 br i1 %polly.loop_cond, label %polly.stmt.for.body.i, label %polly.stmt.for.body.i24
Dhwloop5.ll57 %polly.loop_cond = icmp eq i32 %polly.indvar, %polly.adjust_ub
60 br i1 %polly.loop_cond, label %polly.loop_exit.loopexit, label %polly.stmt.for.body
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Drdf-dead-loop.ll17 %polly.loop_cond = icmp slt i32 %polly.indvar, 4
19 br i1 %polly.loop_cond, label %body, label %exit
Dpostinc-offset.ll32 %polly.loop_cond = icmp slt i32 %polly.indvar, 4
34 br i1 %polly.loop_cond, label %polly.stmt.for.body.i, label %polly.stmt.for.body.i24
Dhwloop5.ll57 %polly.loop_cond = icmp eq i32 %polly.indvar, %polly.adjust_ub
60 br i1 %polly.loop_cond, label %polly.loop_exit.loopexit, label %polly.stmt.for.body
/external/tensorflow/tensorflow/compiler/xla/tests/
Doutfeed_in_nested_computation_test.cc41 TF_ASSERT_OK_AND_ASSIGN(XlaComputation loop_cond, [&] { in XLA_TEST_F()
69 XlaOp result_tuple = While(loop_cond, loop_body, init_tuple); in XLA_TEST_F()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_graph_reconstruction_test.py162 loop_cond = lambda i: math_ops.less(i, 16) function
164 loop = control_flow_ops.while_loop(loop_cond, loop_body, [i])
Dsource_utils_test.py235 loop_cond = lambda i: math_ops.less(i, 16) function
238 loop = control_flow_ops.while_loop(loop_cond, loop_body, [i])
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/vect/
Dvect-bad-bitcast.ll48 %polly.loop_cond = icmp slt i32 %polly.indvar, 252
50 br i1 %polly.loop_cond, label %polly.stmt.for.body, label %polly.loop_exit.loopexit
/external/llvm/test/CodeGen/Hexagon/vect/
Dvect-bad-bitcast.ll48 %polly.loop_cond = icmp slt i32 %polly.indvar, 252
50 br i1 %polly.loop_cond, label %polly.stmt.for.body, label %polly.loop_exit.loopexit
/external/tensorflow/tensorflow/python/debug/cli/
Dprofile_analyzer_cli_test.py335 loop_cond = lambda x: math_ops.less(x, 10) function
341 loop = control_flow_ops.while_loop(loop_cond, loop_body, [x])

12