Lines Matching refs:ind
62 PHINode *ind = loop.CreatePHI(indType, 0); in convertTransferToLoop() local
64 ind->addIncoming(ConstantInt::get(indType, 0), origBB); in convertTransferToLoop()
67 Value *val = loop.CreateLoad(loop.CreateGEP(srcAddr, ind), srcVolatile); in convertTransferToLoop()
69 loop.CreateStore(val, loop.CreateGEP(dstAddr, ind), dstVolatile); in convertTransferToLoop()
72 Value *newind = loop.CreateAdd(ind, ConstantInt::get(indType, 1)); in convertTransferToLoop()
73 ind->addIncoming(newind, loopBB); in convertTransferToLoop()
97 PHINode *ind = loop.CreatePHI(len->getType(), 0); in convertMemSetToLoop() local
98 ind->addIncoming(ConstantInt::get(len->getType(), 0), origBB); in convertMemSetToLoop()
100 loop.CreateStore(val, loop.CreateGEP(dstAddr, ind), false); in convertMemSetToLoop()
102 Value *newind = loop.CreateAdd(ind, ConstantInt::get(len->getType(), 1)); in convertMemSetToLoop()
103 ind->addIncoming(newind, loopBB); in convertMemSetToLoop()