Lines Matching refs:PreCondBB
188 void transformLoopToPopcount(BasicBlock *PreCondBB, Instruction *CntInst,
191 void transformLoopToCountable(Intrinsic::ID IntrinID, BasicBlock *PreCondBB,
1182 static bool detectPopcountIdiom(Loop *CurLoop, BasicBlock *PreCondBB, in detectPopcountIdiom() argument
1277 auto *PreCondBr = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in detectPopcountIdiom()
1440 auto *PreCondBB = PH->getSinglePredecessor(); in recognizeAndInsertFFS() local
1441 if (!PreCondBB) in recognizeAndInsertFFS()
1443 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in recognizeAndInsertFFS()
1509 auto *PreCondBB = PH->getSinglePredecessor(); in recognizePopcount() local
1510 if (!PreCondBB) in recognizePopcount()
1512 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in recognizePopcount()
1519 if (!detectPopcountIdiom(CurLoop, PreCondBB, CntInst, CntPhi, Val)) in recognizePopcount()
1522 transformLoopToPopcount(PreCondBB, CntInst, CntPhi, Val); in recognizePopcount()
1675 void LoopIdiomRecognize::transformLoopToPopcount(BasicBlock *PreCondBB, in transformLoopToPopcount() argument
1679 auto *PreCondBr = cast<BranchInst>(PreCondBB->getTerminator()); in transformLoopToPopcount()