Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDLoopUnswitch.cpp248 bool UnswitchIfProfitable(Value *LoopCond, Constant *Val,
594 static bool EqualityPropUnSafe(Value &LoopCond) { in EqualityPropUnSafe() argument
595 ICmpInst *CI = dyn_cast<ICmpInst>(&LoopCond); in EqualityPropUnSafe()
699 Value *LoopCond = FindLIVLoopCondition(Guard->getOperand(0), currentLoop, in processCurrentLoop() local
702 if (LoopCond && in processCurrentLoop()
703 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
741 Value *LoopCond = FindLIVLoopCondition(BI->getCondition(), currentLoop, in processCurrentLoop() local
744 if (LoopCond && !EqualityPropUnSafe(*LoopCond) && in processCurrentLoop()
745 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
752 Value *LoopCond; in processCurrentLoop() local
[all …]
HDSimpleLoopUnswitch.cpp593 Value *LoopCond = SI.getCondition(); in unswitchTrivialSwitch() local
596 if (!L.isLoopInvariant(LoopCond)) in unswitchTrivialSwitch()
693 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGStmt.cpp807 JumpDest LoopCond = getJumpDestInCurrentScope("do.cond"); in EmitDoStmt() local
812 BreakContinueStack.push_back(BreakContinue(LoopExit, LoopCond)); in EmitDoStmt()
823 EmitBlock(LoopCond.getBlock()); in EmitDoStmt()
863 SimplifyForwardingBlocks(LoopCond.getBlock()); in EmitDoStmt()
HDCGStmtOpenMP.cpp1524 const Stmt &S, bool RequiresCleanup, const Expr *LoopCond, in EmitOMPInnerLoop() argument
1546 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()
HDCodeGenFunction.h3253 const Stmt &S, bool RequiresCleanup, const Expr *LoopCond,