Lines Matching refs:LoopIndex
84 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 0); in convertMemCpyToLoop() local
85 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), OrigBB); in convertMemCpyToLoop()
92 LoopBuilder.getInt8Ty(), SrcAddr, LoopIndex), in convertMemCpyToLoop()
97 DstAddr, LoopIndex), in convertMemCpyToLoop()
102 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); in convertMemCpyToLoop()
103 LoopIndex->addIncoming(NewIndex, LoopBB); in convertMemCpyToLoop()
225 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLen->getType(), 0); in convertMemSetToLoop() local
226 LoopIndex->addIncoming(ConstantInt::get(CopyLen->getType(), 0), OrigBB); in convertMemSetToLoop()
230 LoopBuilder.CreateInBoundsGEP(SetValue->getType(), DstAddr, LoopIndex), in convertMemSetToLoop()
234 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLen->getType(), 1)); in convertMemSetToLoop()
235 LoopIndex->addIncoming(NewIndex, LoopBB); in convertMemSetToLoop()