Home
last modified time | relevance | path

Searched refs:TypeOfCopyLen (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp40 Type *TypeOfCopyLen = CopyLen->getType(); in createMemCpyLoopKnownSize() local
71 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 2, "loop-index"); in createMemCpyLoopKnownSize()
72 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0U), PreLoopBB); in createMemCpyLoopKnownSize()
82 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1U)); in createMemCpyLoopKnownSize()
86 Constant *LoopEndCI = ConstantInt::get(TypeOfCopyLen, LoopEndCount); in createMemCpyLoopKnownSize()
117 OpTy, CastedSrc, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
126 OpTy, CastedDst, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
292 Type *TypeOfCopyLen = CopyLen->getType(); in createMemMoveLoop() local
324 ConstantInt::get(TypeOfCopyLen, 0), "compare_n_to_0"); in createMemMoveLoop()
330 PHINode *LoopPhi = LoopBuilder.CreatePHI(TypeOfCopyLen, 0); in createMemMoveLoop()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp64 Type *TypeOfCopyLen = CopyLen->getType(); in convertMemCpyToLoop() local
84 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 0); in convertMemCpyToLoop()
85 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), OrigBB); in convertMemCpyToLoop()
102 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); in convertMemCpyToLoop()
135 Type *TypeOfCopyLen = CopyLen->getType(); in convertMemMoveToLoop() local
166 ConstantInt::get(TypeOfCopyLen, 0), "compare_n_to_0"); in convertMemMoveToLoop()
172 PHINode *LoopPhi = LoopBuilder.CreatePHI(TypeOfCopyLen, 0); in convertMemMoveToLoop()
174 LoopPhi, ConstantInt::get(TypeOfCopyLen, 1), "index_ptr"); in convertMemMoveToLoop()
180 LoopBuilder.CreateICmpEQ(IndexPtr, ConstantInt::get(TypeOfCopyLen, 0)), in convertMemMoveToLoop()
191 PHINode *FwdCopyPhi = FwdLoopBuilder.CreatePHI(TypeOfCopyLen, 0, "index_ptr"); in convertMemMoveToLoop()
[all …]