Lines Matching refs:LoopUnswitch
164 class LoopUnswitch : public LoopPass { class
199 explicit LoopUnswitch(bool Os = false) : in LoopUnswitch() function in __anon1bf9f3440111::LoopUnswitch
382 char LoopUnswitch::ID = 0;
383 INITIALIZE_PASS_BEGIN(LoopUnswitch, "loop-unswitch", "Unswitch loops",
390 INITIALIZE_PASS_END(LoopUnswitch, "loop-unswitch", "Unswitch loops", in INITIALIZE_PASS_DEPENDENCY()
394 return new LoopUnswitch(Os); in INITIALIZE_PASS_DEPENDENCY()
432 bool LoopUnswitch::runOnLoop(Loop *L, LPPassManager &LPM_Ref) { in runOnLoop()
471 bool LoopUnswitch::processCurrentLoop() { in processCurrentLoop()
653 bool LoopUnswitch::UnswitchIfProfitable(Value *LoopCond, Constant *Val, in UnswitchIfProfitable()
726 void LoopUnswitch::EmitPreheaderBranchOnCondition(Value *LIC, Constant *Val, in EmitPreheaderBranchOnCondition()
760 void LoopUnswitch::UnswitchTrivialCondition(Loop *L, Value *Cond, Constant *Val, in UnswitchTrivialCondition()
808 bool LoopUnswitch::TryTrivialLoopUnswitch(bool &Changed) { in TryTrivialLoopUnswitch()
951 void LoopUnswitch::SplitExitEdges(Loop *L, in SplitExitEdges()
969 void LoopUnswitch::UnswitchNontrivialCondition(Value *LIC, Constant *Val, in UnswitchNontrivialCondition()
1148 void LoopUnswitch::RewriteLoopBodyWithConditionConstant(Loop *L, Value *LIC, in RewriteLoopBodyWithConditionConstant()
1272 void LoopUnswitch::SimplifyCode(std::vector<Instruction*> &Worklist, Loop *L) { in SimplifyCode()