Lines Matching refs:LoopUnswitch

178   class LoopUnswitch : public LoopPass {  class
215 explicit LoopUnswitch(bool Os = false, bool HasBranchDivergence = false) in LoopUnswitch() function in __anon84d475960111::LoopUnswitch
400 char LoopUnswitch::ID = 0;
402 INITIALIZE_PASS_BEGIN(LoopUnswitch, "loop-unswitch", "Unswitch loops",
409 INITIALIZE_PASS_END(LoopUnswitch, "loop-unswitch", "Unswitch loops", in INITIALIZE_PASS_DEPENDENCY()
413 return new LoopUnswitch(Os, HasBranchDivergence); in INITIALIZE_PASS_DEPENDENCY()
532 bool LoopUnswitch::runOnLoop(Loop *L, LPPassManager &LPMRef) { in runOnLoop()
574 bool LoopUnswitch::isUnreachableDueToPreviousUnswitching(BasicBlock *BB) { in isUnreachableDueToPreviousUnswitching()
644 bool LoopUnswitch::processCurrentLoop() { in processCurrentLoop()
960 bool LoopUnswitch::unswitchIfProfitable(Value *LoopCond, Constant *Val, in unswitchIfProfitable()
989 void LoopUnswitch::emitPreheaderBranchOnCondition( in emitPreheaderBranchOnCondition()
1095 void LoopUnswitch::unswitchTrivialCondition(Loop *L, Value *Cond, Constant *Val, in unswitchTrivialCondition()
1152 bool LoopUnswitch::tryTrivialLoopUnswitch(bool &Changed) { in tryTrivialLoopUnswitch()
1310 void LoopUnswitch::splitExitEdges( in splitExitEdges()
1328 void LoopUnswitch::unswitchNontrivialCondition( in unswitchNontrivialCondition()
1552 void LoopUnswitch::rewriteLoopBodyWithConditionConstant(Loop *L, Value *LIC, in rewriteLoopBodyWithConditionConstant()
1691 void LoopUnswitch::simplifyCode(std::vector<Instruction *> &Worklist, Loop *L) { in simplifyCode()
1760 Value *LoopUnswitch::simplifyInstructionWithNotEqual(Instruction *Inst, in simplifyInstructionWithNotEqual()