Searched refs:SuccToSinkTo (Results 1 – 2 of 2) sorted by relevance
128 MachineBasicBlock *SuccToSinkTo);478 MachineBasicBlock *SuccToSinkTo) { in isProfitableToSinkTo() argument480 assert (SuccToSinkTo && "Invalid SinkTo Candidate BB"); in isProfitableToSinkTo()482 if (MBB == SuccToSinkTo) in isProfitableToSinkTo()486 if (!PDT->dominates(SuccToSinkTo, MBB)) in isProfitableToSinkTo()491 if (LI->getLoopDepth(MBB) > LI->getLoopDepth(SuccToSinkTo)) in isProfitableToSinkTo()498 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()508 if (MachineBasicBlock *MBB2 = FindSuccToSinkTo(MI, SuccToSinkTo, BreakPHIEdge)) in isProfitableToSinkTo()509 return isProfitableToSinkTo(Reg, MI, SuccToSinkTo, MBB2); in isProfitableToSinkTo()529 MachineBasicBlock *SuccToSinkTo = nullptr; in FindSuccToSinkTo() local[all …]
61 bool IsAcceptableTarget(Instruction *Inst, BasicBlock *SuccToSinkTo) const;181 BasicBlock *SuccToSinkTo) const { in IsAcceptableTarget()183 assert(SuccToSinkTo && "Candidate sink target is null"); in IsAcceptableTarget()187 if (Inst->getParent() == SuccToSinkTo) in IsAcceptableTarget()194 if (SuccToSinkTo->getUniquePredecessor() != Inst->getParent()) { in IsAcceptableTarget()202 if (!DT->dominates(Inst->getParent(), SuccToSinkTo)) in IsAcceptableTarget()206 Loop *succ = LI->getLoopFor(SuccToSinkTo); in IsAcceptableTarget()214 return AllUsesDominatedByBlock(Inst, SuccToSinkTo); in IsAcceptableTarget()242 BasicBlock *SuccToSinkTo = nullptr; in SinkInstruction() local249 I != E && SuccToSinkTo == nullptr; ++I) { in SinkInstruction()[all …]