Lines Matching refs:CntPhi

233                                PHINode *CntPhi, Value *Var);
237 Instruction *DefX, PHINode *CntPhi,
242 Instruction *CntInst, PHINode *CntPhi,
1597 PHINode *&CntPhi, Instruction *&DefX, in detectShiftUntilLessThanIdiom() argument
1603 CntPhi = nullptr; in detectShiftUntilLessThanIdiom()
1659 CntPhi = Phi; in detectShiftUntilLessThanIdiom()
1693 Instruction *&CntInst, PHINode *&CntPhi, in detectPopcountIdiom() argument
1791 CntPhi = CountPhi; in detectPopcountIdiom()
1827 Instruction *&CntInst, PHINode *&CntPhi, in detectShiftUntilZeroIdiom() argument
1834 CntPhi = nullptr; in detectShiftUntilZeroIdiom()
1887 CntPhi = Phi; in detectShiftUntilZeroIdiom()
1923 PHINode *CntPhi, in insertFFSIfProfitable() argument
1926 for (User *U : CntPhi->users()) in insertFFSIfProfitable()
1977 transformLoopToCountable(IntrinID, PH, CntInst, CntPhi, InitX, DefX, in insertFFSIfProfitable()
1994 PHINode *CntPhi = nullptr; in recognizeAndInsertFFS() local
1997 if (!detectShiftUntilZeroIdiom(CurLoop, *DL, IntrinID, InitX, CntInst, CntPhi, in recognizeAndInsertFFS()
2001 return insertFFSIfProfitable(IntrinID, InitX, DefX, CntPhi, CntInst); in recognizeAndInsertFFS()
2012 PHINode *CntPhi = nullptr; in recognizeShiftUntilLessThan() local
2017 CntPhi, DefX, LoopThreshold)) in recognizeShiftUntilLessThan()
2022 return insertFFSIfProfitable(IntrinID, InitX, DefX, CntPhi, CntInst); in recognizeShiftUntilLessThan()
2030 for (User *U : CntPhi->users()) in recognizeShiftUntilLessThan()
2063 transformLoopToCountable(IntrinID, PH, CntInst, CntPhi, InitX, DefX, in recognizeShiftUntilLessThan()
2111 PHINode *CntPhi; in recognizePopcount() local
2113 if (!detectPopcountIdiom(CurLoop, PreCondBB, CntInst, CntPhi, Val)) in recognizePopcount()
2116 transformLoopToPopcount(PreCondBB, CntInst, CntPhi, Val); in recognizePopcount()
2180 PHINode *CntPhi, Value *InitX, Instruction *DefX, const DebugLoc &DL, in transformLoopToCountable() argument
2219 Value *CntInitVal = CntPhi->getIncomingValueForBlock(Preheader); in transformLoopToCountable()
2263 CntPhi->replaceUsesOutsideBlock(NewCount, Body); in transformLoopToCountable()
2274 PHINode *CntPhi, Value *Var) { in transformLoopToPopcount() argument
2289 Builder.CreateZExtOrTrunc(PopCnt, cast<IntegerType>(CntPhi->getType())); in transformLoopToPopcount()
2298 Value *CntInitVal = CntPhi->getIncomingValueForBlock(PreHead); in transformLoopToPopcount()