Lines Matching refs:LoopCond
201 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()
637 bool LoopUnswitch::UnswitchIfProfitable(Value *LoopCond, Constant *Val) { in UnswitchIfProfitable() argument
642 if (IsTrivialUnswitchCondition(LoopCond, &CondVal, &ExitBlock)) { in UnswitchIfProfitable()
645 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, ExitBlock); in UnswitchIfProfitable()
657 UnswitchNontrivialCondition(LoopCond, Val, currentLoop); in UnswitchIfProfitable()