/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 239 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 …]
|
D | SimpleLoopUnswitch.cpp | 519 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/ |
D | LoopUnswitch.cpp | 241 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/ |
D | LoopUnswitch.cpp | 141 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/ |
D | nested_loop.pbtxt | 181 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"
|
D | loops_and_resource_vars.pbtxt | 256 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"
|
D | loops_and_queues.pbtxt | 218 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"
|
D | while_loop.pbtxt | 174 name: "while/LoopCond" 175 op: "LoopCond" 182 input: "while/LoopCond" 202 input: "while/LoopCond"
|
D | while_loop_var_handle_op.pbtxt | 160 node { name: "while/LoopCond" op: "LoopCond" input: "while/Less" } 165 input: "while/LoopCond" 179 input: "while/LoopCond"
|
D | queues_and_loops.pbtxt | 291 name: "while/LoopCond" 292 op: "LoopCond" 299 input: "while/LoopCond" 319 input: "while/LoopCond"
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | scc_test.cc | 291 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/ |
D | api_def_LoopCond.pbtxt | 2 graph_op_name: "LoopCond"
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_LoopCond.pbtxt | 2 graph_op_name: "LoopCond"
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_LoopCond.pbtxt | 2 graph_op_name: "LoopCond"
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_constructor_test.cc | 380 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()
|
D | graph_partition_test.cc | 58 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()
|
D | testlib.h | 170 Node* LoopCond(Graph* g, Node* input);
|
D | testlib.cc | 392 Node* LoopCond(Graph* g, Node* input) { in LoopCond() function
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_scheduler_test.cc | 673 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/ |
D | functionalize_control_flow_test.cc | 221 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/ |
D | shape_inference_test.cc | 86 auto loop_cond = ops::LoopCond(scope.WithOpName("while/LoopCond"), less); in TEST()
|
/external/tensorflow/tensorflow/cc/ops/ |
D | while_loop.cc | 115 *output = LoopCond(scope, raw_cond_out).output; in CreateCond()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | loop_optimizer_test.cc | 1275 name: "while/LoopCond" in TEST_F() 1276 op: "LoopCond" in TEST_F() 1283 input: "while/LoopCond" in TEST_F()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 748 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()
|
D | CGStmtOpenMP.cpp | 1275 const Stmt &S, bool RequiresCleanup, const Expr *LoopCond, in EmitOMPInnerLoop() argument 1295 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()
|