Searched refs:CntInst (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 187 void transformLoopToPopcount(BasicBlock *PreCondBB, Instruction *CntInst, 190 void transformLoopToCountable(BasicBlock *PreCondBB, Instruction *CntInst, 1167 Instruction *&CntInst, PHINode *&CntPhi, in detectPopcountIdiom() argument 1266 CntInst = CountInst; in detectPopcountIdiom() 1302 Instruction *&CntInst, PHINode *&CntPhi, in detectCTLZIdiom() argument 1309 CntInst = nullptr; in detectCTLZIdiom() 1355 CntInst = Inst; in detectCTLZIdiom() 1359 if (!CntInst) in detectCTLZIdiom() 1373 Instruction *CntInst, *DefX; in recognizeAndInsertCTLZ() local 1375 if (!detectCTLZIdiom(CurLoop, PhiX, CntInst, CntPhi, DefX)) in recognizeAndInsertCTLZ() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 130 void transformLoopToPopcount(BasicBlock *PreCondBB, Instruction *CntInst, 1005 Instruction *&CntInst, PHINode *&CntPhi, in detectPopcountIdiom() argument 1109 CntInst = CountInst; in detectPopcountIdiom() 1159 Instruction *CntInst; in recognizePopcount() local 1162 if (!detectPopcountIdiom(CurLoop, PreCondBB, CntInst, CntPhi, Val)) in recognizePopcount() 1165 transformLoopToPopcount(PreCondBB, CntInst, CntPhi, Val); in recognizePopcount() 1183 Instruction *CntInst, in transformLoopToPopcount() argument 1187 const DebugLoc DL = CntInst->getDebugLoc(); in transformLoopToPopcount() 1281 CntInst->replaceUsesOutsideBlock(NewCount, Body); in transformLoopToPopcount()
|