Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp57 IRBuilder<> PLBuilder(PreLoopBB->getTerminator()); in createMemCpyLoopKnownSize() local
64 SrcAddr = PLBuilder.CreateBitCast(SrcAddr, SrcOpType); in createMemCpyLoopKnownSize()
67 DstAddr = PLBuilder.CreateBitCast(DstAddr, DstOpType); in createMemCpyLoopKnownSize()
153 IRBuilder<> PLBuilder(PreLoopBB->getTerminator()); in createMemCpyLoopUnknownSize() local
160 SrcAddr = PLBuilder.CreateBitCast(SrcAddr, SrcOpType); in createMemCpyLoopUnknownSize()
163 DstAddr = PLBuilder.CreateBitCast(DstAddr, DstOpType); in createMemCpyLoopUnknownSize()
176 PLBuilder.CreateUDiv(CopyLen, CILoopOpSize); in createMemCpyLoopUnknownSize()
195 Value *RuntimeResidual = PLBuilder.CreateURem(CopyLen, CILoopOpSize); in createMemCpyLoopUnknownSize()
196 Value *RuntimeBytesCopied = PLBuilder.CreateSub(CopyLen, RuntimeResidual); in createMemCpyLoopUnknownSize()
212 PLBuilder.CreateCondBr(PLBuilder.CreateICmpNE(RuntimeLoopCount, Zero), in createMemCpyLoopUnknownSize()
[all …]