Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineCSE.cpp148 bool isProfitableToHoistInto(MachineBasicBlock *CandidateBB,
897 bool MachineCSE::isProfitableToHoistInto(MachineBasicBlock *CandidateBB, in isProfitableToHoistInto() argument
900 if (CandidateBB->getParent()->getFunction().hasMinSize()) in isProfitableToHoistInto()
902 assert(DT->dominates(CandidateBB, MBB) && "CandidateBB should dominate MBB"); in isProfitableToHoistInto()
903 assert(DT->dominates(CandidateBB, MBB1) && in isProfitableToHoistInto()
905 return MBFI->getBlockFreq(CandidateBB) <= in isProfitableToHoistInto()