Lines Matching refs:ConstantInt

25     ConstantInt *CopyLen, Align SrcAlign, Align DstAlign, bool SrcIsVolatile,  in createMemCpyLoopKnownSize()
72 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0U), PreLoopBB); in createMemCpyLoopKnownSize()
96 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1U)); in createMemCpyLoopKnownSize()
100 Constant *LoopEndCI = ConstantInt::get(TypeOfCopyLen, LoopEndCount); in createMemCpyLoopKnownSize()
131 OpTy, SrcAddr, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
140 OpTy, DstAddr, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
196 ConstantInt *CILoopOpSize = ConstantInt::get(ILengthType, LoopOpSize); in createMemCpyLoopUnknownSize()
208 LoopIndex->addIncoming(ConstantInt::get(CopyLenType, 0U), PreLoopBB); in createMemCpyLoopUnknownSize()
229 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLenType, 1U)); in createMemCpyLoopUnknownSize()
259 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U); in createMemCpyLoopUnknownSize()
302 ResidualIndex, ConstantInt::get(CopyLenType, ResLoopOpSize)); in createMemCpyLoopUnknownSize()
314 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U); in createMemCpyLoopUnknownSize()
390 ConstantInt::get(TypeOfCopyLen, 0), "compare_n_to_0"); in createMemMoveLoop()
399 LoopPhi, ConstantInt::get(TypeOfCopyLen, 1), "index_ptr"); in createMemMoveLoop()
407 LoopBuilder.CreateICmpEQ(IndexPtr, ConstantInt::get(TypeOfCopyLen, 0)), in createMemMoveLoop()
425 FwdCopyPhi, ConstantInt::get(TypeOfCopyLen, 1), "index_increment"); in createMemMoveLoop()
429 FwdCopyPhi->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), CopyForwardBB); in createMemMoveLoop()
450 Builder.CreateICmpEQ(ConstantInt::get(TypeOfCopyLen, 0), CopyLen), NewBB, in createMemSetLoop()
459 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), OrigBB); in createMemSetLoop()
467 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); in createMemSetLoop()
489 if (ConstantInt *CI = dyn_cast<ConstantInt>(Memcpy->getLength())) { in expandMemCpyAsLoop()
533 if (ConstantInt *CI = dyn_cast<ConstantInt>(CopyLen)) { in expandMemMoveAsLoop()
581 if (ConstantInt *CI = dyn_cast<ConstantInt>(AtomicMemcpy->getLength())) { in expandAtomicMemCpyAsLoop()