• Home
  • Raw
  • Download

Lines Matching refs:LoopCond

241     bool UnswitchIfProfitable(Value *LoopCond, Constant *Val,
566 Value *LoopCond = in processCurrentLoop() local
568 if (LoopCond && in processCurrentLoop()
569 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
601 Value *LoopCond = FindLIVLoopCondition(BI->getCondition(), in processCurrentLoop() local
603 if (LoopCond && in processCurrentLoop()
604 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
610 Value *LoopCond = FindLIVLoopCondition(SI->getCondition(), in processCurrentLoop() local
613 if (LoopCond && NumCases) { in processCurrentLoop()
634 if (UnswitchIfProfitable(LoopCond, UnswitchVal)) { in processCurrentLoop()
645 Value *LoopCond = FindLIVLoopCondition(SI->getCondition(), in processCurrentLoop() local
647 if (LoopCond && UnswitchIfProfitable(LoopCond, in processCurrentLoop()
710 bool LoopUnswitch::UnswitchIfProfitable(Value *LoopCond, Constant *Val, in UnswitchIfProfitable() argument
717 << "' == " << *LoopCond << "\n" in UnswitchIfProfitable()
722 UnswitchNontrivialCondition(LoopCond, Val, currentLoop, TI); in UnswitchIfProfitable()
930 Value *LoopCond = FindLIVLoopCondition(BI->getCondition(), in TryTrivialLoopUnswitch() local
935 if (!LoopCond || LoopCond != BI->getCondition()) in TryTrivialLoopUnswitch()
955 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()
961 Value *LoopCond = FindLIVLoopCondition(SI->getCondition(), in TryTrivialLoopUnswitch() local
966 if (!LoopCond || LoopCond != SI->getCondition()) in TryTrivialLoopUnswitch()
998 UnswitchTrivialCondition(currentLoop, LoopCond, CondVal, LoopExitBB, in TryTrivialLoopUnswitch()