Lines Matching refs:PreCondBB
232 void transformLoopToPopcount(BasicBlock *PreCondBB, Instruction *CntInst,
241 void transformLoopToCountable(Intrinsic::ID IntrinID, BasicBlock *PreCondBB,
1692 static bool detectPopcountIdiom(Loop *CurLoop, BasicBlock *PreCondBB, in detectPopcountIdiom() argument
1785 auto *PreCondBr = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in detectPopcountIdiom()
1955 auto *PreCondBB = PH->getSinglePredecessor(); in insertFFSIfProfitable() local
1956 if (!PreCondBB) in insertFFSIfProfitable()
1958 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in insertFFSIfProfitable()
2037 auto *PreCondBB = PH->getSinglePredecessor(); in recognizeShiftUntilLessThan() local
2038 if (!PreCondBB) in recognizeShiftUntilLessThan()
2040 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in recognizeShiftUntilLessThan()
2103 auto *PreCondBB = PH->getSinglePredecessor(); in recognizePopcount() local
2104 if (!PreCondBB) in recognizePopcount()
2106 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in recognizePopcount()
2113 if (!detectPopcountIdiom(CurLoop, PreCondBB, CntInst, CntPhi, Val)) in recognizePopcount()
2116 transformLoopToPopcount(PreCondBB, CntInst, CntPhi, Val); in recognizePopcount()
2272 void LoopIdiomRecognize::transformLoopToPopcount(BasicBlock *PreCondBB, in transformLoopToPopcount() argument
2276 auto *PreCondBr = cast<BranchInst>(PreCondBB->getTerminator()); in transformLoopToPopcount()