Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp248 bool UnswitchIfProfitable(Value *LoopCond, Constant *Val,
594 static bool EqualityPropUnSafe(Value &LoopCond) { in EqualityPropUnSafe() argument
595 ICmpInst *CI = dyn_cast<ICmpInst>(&LoopCond); in EqualityPropUnSafe()
699 Value *LoopCond = FindLIVLoopCondition(Guard->getOperand(0), currentLoop, in processCurrentLoop() local
702 if (LoopCond && in processCurrentLoop()
703 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
741 Value *LoopCond = FindLIVLoopCondition(BI->getCondition(), currentLoop, in processCurrentLoop() local
744 if (LoopCond && !EqualityPropUnSafe(*LoopCond) && in processCurrentLoop()
745 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
752 Value *LoopCond; in processCurrentLoop() local
[all …]
DSimpleLoopUnswitch.cpp593 Value *LoopCond = SI.getCondition(); in unswitchTrivialSwitch() local
596 if (!L.isLoopInvariant(LoopCond)) in unswitchTrivialSwitch()
693 auto *NewSI = SwitchInst::Create(LoopCond, NewPH, ExitCases.size(), OldPH); in unswitchTrivialSwitch()