Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp608 static bool equalityPropUnSafe(Value &LoopCond) { in equalityPropUnSafe() argument
609 ICmpInst *CI = dyn_cast<ICmpInst>(&LoopCond); in equalityPropUnSafe()
718 if (LoopCond && in processCurrentLoop()
761 if (LoopCond && !equalityPropUnSafe(*LoopCond) && in processCurrentLoop()
769 Value *LoopCond; in processCurrentLoop() local
771 std::tie(LoopCond, OpChain) = in processCurrentLoop()
775 if (LoopCond && NumCases) { in processCurrentLoop()
835 if (LoopCond && in processCurrentLoop()
1231 if (!LoopCond || LoopCond != BI->getCondition()) in tryTrivialLoopUnswitch()
1251 if (equalityPropUnSafe(*LoopCond)) in tryTrivialLoopUnswitch()
[all …]
H A DSimpleLoopUnswitch.cpp659 Value *LoopCond = SI.getCondition(); in unswitchTrivialSwitch() local
662 if (!L.isLoopInvariant(LoopCond)) in unswitchTrivialSwitch()
774 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp895 JumpDest LoopCond = getJumpDestInCurrentScope("do.cond"); in EmitDoStmt() local
900 BreakContinueStack.push_back(BreakContinue(LoopExit, LoopCond)); in EmitDoStmt()
911 EmitBlock(LoopCond.getBlock()); in EmitDoStmt()
951 SimplifyForwardingBlocks(LoopCond.getBlock()); in EmitDoStmt()
H A DCGStmtOpenMP.cpp2039 const OMPExecutableDirective &S, bool RequiresCleanup, const Expr *LoopCond, in EmitOMPInnerLoop() argument
2073 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()
H A DCodeGenFunction.h3579 const Expr *LoopCond, const Expr *IncExpr,