Lines Matching refs:PreCondBB
243 void transformLoopToPopcount(BasicBlock *PreCondBB, Instruction *CntInst,
246 void transformLoopToCountable(Intrinsic::ID IntrinID, BasicBlock *PreCondBB,
1640 static bool detectPopcountIdiom(Loop *CurLoop, BasicBlock *PreCondBB, in detectPopcountIdiom() argument
1733 auto *PreCondBr = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in detectPopcountIdiom()
1895 auto *PreCondBB = PH->getSinglePredecessor(); in recognizeAndInsertFFS() local
1896 if (!PreCondBB) in recognizeAndInsertFFS()
1898 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in recognizeAndInsertFFS()
1971 auto *PreCondBB = PH->getSinglePredecessor(); in recognizePopcount() local
1972 if (!PreCondBB) in recognizePopcount()
1974 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in recognizePopcount()
1981 if (!detectPopcountIdiom(CurLoop, PreCondBB, CntInst, CntPhi, Val)) in recognizePopcount()
1984 transformLoopToPopcount(PreCondBB, CntInst, CntPhi, Val); in recognizePopcount()
2137 void LoopIdiomRecognize::transformLoopToPopcount(BasicBlock *PreCondBB, in transformLoopToPopcount() argument
2141 auto *PreCondBr = cast<BranchInst>(PreCondBB->getTerminator()); in transformLoopToPopcount()