Lines Matching refs:PreCondBB
244 void transformLoopToPopcount(BasicBlock *PreCondBB, Instruction *CntInst,
247 void transformLoopToCountable(Intrinsic::ID IntrinID, BasicBlock *PreCondBB,
1495 static bool detectPopcountIdiom(Loop *CurLoop, BasicBlock *PreCondBB, in detectPopcountIdiom() argument
1590 auto *PreCondBr = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in detectPopcountIdiom()
1754 auto *PreCondBB = PH->getSinglePredecessor(); in recognizeAndInsertFFS() local
1755 if (!PreCondBB) in recognizeAndInsertFFS()
1757 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in recognizeAndInsertFFS()
1830 auto *PreCondBB = PH->getSinglePredecessor(); in recognizePopcount() local
1831 if (!PreCondBB) in recognizePopcount()
1833 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in recognizePopcount()
1840 if (!detectPopcountIdiom(CurLoop, PreCondBB, CntInst, CntPhi, Val)) in recognizePopcount()
1843 transformLoopToPopcount(PreCondBB, CntInst, CntPhi, Val); in recognizePopcount()
1996 void LoopIdiomRecognize::transformLoopToPopcount(BasicBlock *PreCondBB, in transformLoopToPopcount() argument
2000 auto *PreCondBr = cast<BranchInst>(PreCondBB->getTerminator()); in transformLoopToPopcount()