Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp201 bool UnswitchIfProfitable(Value *LoopCond, Constant *Val);
445 Value *LoopCond = FindLIVLoopCondition(BI->getCondition(), in processCurrentLoop() local
447 if (LoopCond && UnswitchIfProfitable(LoopCond, in processCurrentLoop()
454 Value *LoopCond = FindLIVLoopCondition(SI->getCondition(), in processCurrentLoop() local
457 if (LoopCond && NumCases) { in processCurrentLoop()
478 if (UnswitchIfProfitable(LoopCond, UnswitchVal)) { in processCurrentLoop()
489 Value *LoopCond = FindLIVLoopCondition(SI->getCondition(), in processCurrentLoop() local
491 if (LoopCond && UnswitchIfProfitable(LoopCond, in processCurrentLoop()
636 bool LoopUnswitch::UnswitchIfProfitable(Value *LoopCond, Constant *Val) { in UnswitchIfProfitable() argument
641 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) { in UnswitchIfProfitable()
[all …]
/external/clang/lib/CodeGen/
DCGStmt.cpp530 JumpDest LoopCond = getJumpDestInCurrentScope("do.cond"); in EmitDoStmt() local
533 BreakContinueStack.push_back(BreakContinue(LoopExit, LoopCond)); in EmitDoStmt()
545 EmitBlock(LoopCond.getBlock()); in EmitDoStmt()
572 SimplifyForwardingBlocks(LoopCond.getBlock()); in EmitDoStmt()