Lines Matching refs:ConstantInt

26     ConstantInt *CopyLen, Align SrcAlign, Align DstAlign, bool SrcIsVolatile,  in createMemCpyLoopKnownSize()
73 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0U), PreLoopBB); in createMemCpyLoopKnownSize()
97 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1U)); in createMemCpyLoopKnownSize()
101 Constant *LoopEndCI = ConstantInt::get(TypeOfCopyLen, LoopEndCount); in createMemCpyLoopKnownSize()
132 OpTy, SrcAddr, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
141 OpTy, DstAddr, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
217 ConstantInt *CILoopOpSize = ConstantInt::get(ILengthType, LoopOpSize); in createMemCpyLoopUnknownSize()
231 LoopIndex->addIncoming(ConstantInt::get(CopyLenType, 0U), PreLoopBB); in createMemCpyLoopUnknownSize()
252 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLenType, 1U)); in createMemCpyLoopUnknownSize()
285 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U); in createMemCpyLoopUnknownSize()
328 ResidualIndex, ConstantInt::get(CopyLenType, ResLoopOpSize)); in createMemCpyLoopUnknownSize()
340 ConstantInt *Zero = ConstantInt::get(ILengthType, 0U); in createMemCpyLoopUnknownSize()
416 ConstantInt::get(TypeOfCopyLen, 0), "compare_n_to_0"); in createMemMoveLoop()
425 LoopPhi, ConstantInt::get(TypeOfCopyLen, 1), "index_ptr"); in createMemMoveLoop()
433 LoopBuilder.CreateICmpEQ(IndexPtr, ConstantInt::get(TypeOfCopyLen, 0)), in createMemMoveLoop()
452 FwdCopyPhi, ConstantInt::get(TypeOfCopyLen, 1), "index_increment"); in createMemMoveLoop()
456 FwdCopyPhi->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), CopyForwardBB); in createMemMoveLoop()
477 Builder.CreateICmpEQ(ConstantInt::get(TypeOfCopyLen, 0), CopyLen), NewBB, in createMemSetLoop()
486 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), OrigBB); in createMemSetLoop()
494 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); in createMemSetLoop()
516 if (ConstantInt *CI = dyn_cast<ConstantInt>(Memcpy->getLength())) { in expandMemCpyAsLoop()
560 if (ConstantInt *CI = dyn_cast<ConstantInt>(CopyLen)) { in expandMemMoveAsLoop()
608 if (ConstantInt *CI = dyn_cast<ConstantInt>(AtomicMemcpy->getLength())) { in expandAtomicMemCpyAsLoop()