Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp259 bool unswitchIfProfitable(Value *LoopCond, Constant *Val,
608 static bool equalityPropUnSafe(Value &LoopCond) { in equalityPropUnSafe() argument
609 ICmpInst *CI = dyn_cast<ICmpInst>(&LoopCond); in equalityPropUnSafe()
715 Value *LoopCond = findLIVLoopCondition(Guard->getOperand(0), CurrentLoop, in processCurrentLoop() local
718 if (LoopCond && in processCurrentLoop()
719 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
758 Value *LoopCond = findLIVLoopCondition(BI->getCondition(), CurrentLoop, in processCurrentLoop() local
761 if (LoopCond && !equalityPropUnSafe(*LoopCond) && in processCurrentLoop()
762 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
769 Value *LoopCond; in processCurrentLoop() local
[all …]
H A DSimpleLoopUnswitch.cpp606 Value *LoopCond = SI.getCondition(); in unswitchTrivialSwitch() local
609 if (!L.isLoopInvariant(LoopCond)) in unswitchTrivialSwitch()
721 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmt.cpp892 JumpDest LoopCond = getJumpDestInCurrentScope("do.cond"); in EmitDoStmt() local
897 BreakContinueStack.push_back(BreakContinue(LoopExit, LoopCond)); in EmitDoStmt()
908 EmitBlock(LoopCond.getBlock()); in EmitDoStmt()
948 SimplifyForwardingBlocks(LoopCond.getBlock()); in EmitDoStmt()
H A DCGStmtOpenMP.cpp2031 const OMPExecutableDirective &S, bool RequiresCleanup, const Expr *LoopCond, in EmitOMPInnerLoop() argument
2065 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()
H A DCodeGenFunction.h3578 const Expr *LoopCond, const Expr *IncExpr,