Home
last modified time | relevance | path

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

/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/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()
DCodeGenFunction.h2530 const Stmt &S, bool RequiresCleanup, const Expr *LoopCond,