Home
last modified time | relevance | path

Searched refs:LoopCond (Results 1 – 25 of 33) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp239 bool UnswitchIfProfitable(Value *LoopCond, Constant *Val,
571 static bool EqualityPropUnSafe(Value &LoopCond) { in EqualityPropUnSafe() argument
572 ICmpInst *CI = dyn_cast<ICmpInst>(&LoopCond); in EqualityPropUnSafe()
676 Value *LoopCond = in processCurrentLoop() local
678 if (LoopCond && in processCurrentLoop()
679 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
717 Value *LoopCond = FindLIVLoopCondition(BI->getCondition(), in processCurrentLoop() local
719 if (LoopCond && !EqualityPropUnSafe(*LoopCond) && in processCurrentLoop()
720 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
727 Value *LoopCond; in processCurrentLoop() local
[all …]
DSimpleLoopUnswitch.cpp519 Value *LoopCond = SI.getCondition(); in unswitchTrivialSwitch() local
522 if (!L.isLoopInvariant(LoopCond)) in unswitchTrivialSwitch()
610 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp241 bool UnswitchIfProfitable(Value *LoopCond, Constant *Val,
566 Value *LoopCond = in processCurrentLoop() local
568 if (LoopCond && in processCurrentLoop()
569 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
601 Value *LoopCond = FindLIVLoopCondition(BI->getCondition(), in processCurrentLoop() local
603 if (LoopCond && in processCurrentLoop()
604 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
610 Value *LoopCond = FindLIVLoopCondition(SI->getCondition(), in processCurrentLoop() local
613 if (LoopCond && NumCases) { in processCurrentLoop()
634 if (UnswitchIfProfitable(LoopCond, UnswitchVal)) { in processCurrentLoop()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnswitch.cpp141 bool UnswitchIfProfitable(Value *LoopCond, Constant *Val);
247 Value *LoopCond = FindLIVLoopCondition(BI->getCondition(), in processCurrentLoop() local
249 if (LoopCond && UnswitchIfProfitable(LoopCond, in processCurrentLoop()
256 Value *LoopCond = FindLIVLoopCondition(SI->getCondition(), in processCurrentLoop() local
258 if (LoopCond && SI->getNumCases() > 1) { in processCurrentLoop()
267 if (UnswitchIfProfitable(LoopCond, UnswitchVal)) { in processCurrentLoop()
278 Value *LoopCond = FindLIVLoopCondition(SI->getCondition(), in processCurrentLoop() local
280 if (LoopCond && UnswitchIfProfitable(LoopCond, in processCurrentLoop()
412 bool LoopUnswitch::UnswitchIfProfitable(Value *LoopCond, Constant *Val) { in UnswitchIfProfitable() argument
424 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) { in UnswitchIfProfitable()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/graph_properties_testdata/
Dnested_loop.pbtxt181 name: "while/LoopCond"
182 op: "LoopCond"
189 input: "while/LoopCond"
209 input: "while/LoopCond"
398 name: "while/while/LoopCond"
399 op: "LoopCond"
406 input: "while/while/LoopCond"
426 input: "while/while/LoopCond"
Dloops_and_resource_vars.pbtxt256 name: "while/LoopCond"
257 op: "LoopCond"
264 input: "while/LoopCond"
284 input: "while/LoopCond"
526 name: "while/while/LoopCond"
527 op: "LoopCond"
534 input: "while/while/LoopCond"
554 input: "while/while/LoopCond"
Dloops_and_queues.pbtxt218 name: "while/LoopCond"
219 op: "LoopCond"
226 input: "while/LoopCond"
246 input: "while/LoopCond"
551 name: "while/while/LoopCond"
552 op: "LoopCond"
559 input: "while/while/LoopCond"
579 input: "while/while/LoopCond"
Dwhile_loop.pbtxt174 name: "while/LoopCond"
175 op: "LoopCond"
182 input: "while/LoopCond"
202 input: "while/LoopCond"
Dwhile_loop_var_handle_op.pbtxt160 node { name: "while/LoopCond" op: "LoopCond" input: "while/Less" }
165 input: "while/LoopCond"
179 input: "while/LoopCond"
Dqueues_and_loops.pbtxt291 name: "while/LoopCond"
292 op: "LoopCond"
299 input: "while/LoopCond"
319 input: "while/LoopCond"
/external/tensorflow/tensorflow/core/grappler/utils/
Dscc_test.cc291 name: "while/LoopCond" in TEST_F()
292 op: "LoopCond" in TEST_F()
299 input: "while/LoopCond" in TEST_F()
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_LoopCond.pbtxt2 graph_op_name: "LoopCond"
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_LoopCond.pbtxt2 graph_op_name: "LoopCond"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_LoopCond.pbtxt2 graph_op_name: "LoopCond"
/external/tensorflow/tensorflow/core/graph/
Dgraph_constructor_test.cc380 name: "while/LoopCond" in TEST_F()
381 op: "LoopCond" in TEST_F()
388 input: "while/LoopCond" in TEST_F()
668 name: "while/LoopCond" in TEST_F()
669 op: "LoopCond" in TEST_F()
676 input: "while/LoopCond" in TEST_F()
696 input: "while/LoopCond" in TEST_F()
2155 name: "while/LoopCond" in TEST_F()
2156 op: "LoopCond" in TEST_F()
2163 input: "while/LoopCond" in TEST_F()
Dgraph_partition_test.cc58 using ops::LoopCond;
380 LoopCond(in_.WithOpName("A4"), a3); in TEST_F()
393 LoopCond(in_.WithOpName("A4"), a3); in TEST_F()
649 LoopCond loop_cond(scope, cv); in TEST()
Dtestlib.h170 Node* LoopCond(Graph* g, Node* input);
Dtestlib.cc392 Node* LoopCond(Graph* g, Node* input) { in LoopCond() function
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler_test.cc673 name: "while/LoopCond" in CreateGrapplerItemWithLoop()
674 op: "LoopCond" in CreateGrapplerItemWithLoop()
681 input: "while/LoopCond" in CreateGrapplerItemWithLoop()
701 input: "while/LoopCond" in CreateGrapplerItemWithLoop()
1117 name: "while/LoopCond" in CreateGrapplerItemWithLoopAnnotated()
1118 op: "LoopCond" in CreateGrapplerItemWithLoopAnnotated()
1131 input: "while/LoopCond" in CreateGrapplerItemWithLoopAnnotated()
1175 input: "while/LoopCond" in CreateGrapplerItemWithLoopAnnotated()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow_test.cc221 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST()
371 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST()
505 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST()
627 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST()
808 ops::LoopCond(scope.WithOpName("outer/LoopCond"), less_i); in TEST()
852 auto loop_cond = ops::LoopCond(scope.WithOpName("outer/LoopCond"), less_j); in TEST()
/external/tensorflow/tensorflow/compiler/jit/
Dshape_inference_test.cc86 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST()
/external/tensorflow/tensorflow/cc/ops/
Dwhile_loop.cc115 *output = LoopCond(scope, raw_cond_out).output; in CreateCond()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer_test.cc1275 name: "while/LoopCond" in TEST_F()
1276 op: "LoopCond" in TEST_F()
1283 input: "while/LoopCond" in TEST_F()
/external/clang/lib/CodeGen/
DCGStmt.cpp748 JumpDest LoopCond = getJumpDestInCurrentScope("do.cond"); in EmitDoStmt() local
753 BreakContinueStack.push_back(BreakContinue(LoopExit, LoopCond)); in EmitDoStmt()
767 EmitBlock(LoopCond.getBlock()); in EmitDoStmt()
802 SimplifyForwardingBlocks(LoopCond.getBlock()); in EmitDoStmt()
DCGStmtOpenMP.cpp1275 const Stmt &S, bool RequiresCleanup, const Expr *LoopCond, in EmitOMPInnerLoop() argument
1295 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()

12