Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp130 void transformLoopToPopcount(BasicBlock *PreCondBB, Instruction *CntInst,
1004 static bool detectPopcountIdiom(Loop *CurLoop, BasicBlock *PreCondBB, in detectPopcountIdiom() argument
1104 auto *PreCondBr = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in detectPopcountIdiom()
1152 auto *PreCondBB = PH->getSinglePredecessor(); in recognizePopcount() local
1153 if (!PreCondBB) in recognizePopcount()
1155 auto *PreCondBI = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in recognizePopcount()
1162 if (!detectPopcountIdiom(CurLoop, PreCondBB, CntInst, CntPhi, Val)) in recognizePopcount()
1165 transformLoopToPopcount(PreCondBB, CntInst, CntPhi, Val); in recognizePopcount()
1182 void LoopIdiomRecognize::transformLoopToPopcount(BasicBlock *PreCondBB, in transformLoopToPopcount() argument
1186 auto *PreCondBr = dyn_cast<BranchInst>(PreCondBB->getTerminator()); in transformLoopToPopcount()