Lines Matching refs:CopyLen
61 Value *DstAddr, Value *CopyLen, bool SrcIsVolatile, in convertMemCpyToLoop() argument
64 Type *TypeOfCopyLen = CopyLen->getType(); in convertMemCpyToLoop()
105 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, CopyLen), LoopBB, in convertMemCpyToLoop()
132 Value *DstAddr, Value *CopyLen, bool SrcIsVolatile, in convertMemMoveToLoop() argument
135 Type *TypeOfCopyLen = CopyLen->getType(); in convertMemMoveToLoop()
165 new ICmpInst(OrigBB->getTerminator(), ICmpInst::ICMP_EQ, CopyLen, in convertMemMoveToLoop()
183 LoopPhi->addIncoming(CopyLen, CopyBackwardsBB); in convertMemMoveToLoop()
198 FwdLoopBuilder.CreateCondBr(FwdLoopBuilder.CreateICmpEQ(FwdIndexPtr, CopyLen), in convertMemMoveToLoop()
209 Value *CopyLen, Value *SetValue, LLVMContext &Context, in convertMemSetToLoop() argument
225 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLen->getType(), 0); in convertMemSetToLoop()
226 LoopIndex->addIncoming(ConstantInt::get(CopyLen->getType(), 0), OrigBB); in convertMemSetToLoop()
234 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLen->getType(), 1)); in convertMemSetToLoop()
237 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, CopyLen), LoopBB, in convertMemSetToLoop()
290 Value *CopyLen = ConstantInt::get(Type::getInt32Ty(Context), NumLoads); in runOnFunction() local
294 /* CopyLen */ CopyLen, in runOnFunction()