Searched refs:LoopCond (Results 1 – 5 of 5) sorted by relevance
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | LoopUnswitch.cpp | 248 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 …]
|
| HD | SimpleLoopUnswitch.cpp | 593 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/ |
| HD | CGStmt.cpp | 807 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()
|
| HD | CGStmtOpenMP.cpp | 1524 const Stmt &S, bool RequiresCleanup, const Expr *LoopCond, in EmitOMPInnerLoop() argument 1546 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()
|
| HD | CodeGenFunction.h | 3253 const Stmt &S, bool RequiresCleanup, const Expr *LoopCond,
|