Searched refs:ResBuilder (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 225 IRBuilder<> ResBuilder(ResLoopBB); in createMemCpyLoopUnknownSize() local 227 ResBuilder.CreatePHI(CopyLenType, 2, "residual-loop-index"); in createMemCpyLoopUnknownSize() 231 ResBuilder.CreateBitCast(SrcAddr, PointerType::get(Int8Type, SrcAS)); in createMemCpyLoopUnknownSize() 233 ResBuilder.CreateBitCast(DstAddr, PointerType::get(Int8Type, DstAS)); in createMemCpyLoopUnknownSize() 234 Value *FullOffset = ResBuilder.CreateAdd(RuntimeBytesCopied, ResidualIndex); in createMemCpyLoopUnknownSize() 236 ResBuilder.CreateInBoundsGEP(Int8Type, SrcAsInt8, FullOffset); in createMemCpyLoopUnknownSize() 237 Value *Load = ResBuilder.CreateLoad(Int8Type, SrcGEP, SrcIsVolatile); in createMemCpyLoopUnknownSize() 239 ResBuilder.CreateInBoundsGEP(Int8Type, DstAsInt8, FullOffset); in createMemCpyLoopUnknownSize() 240 ResBuilder.CreateStore(Load, DstGEP, DstIsVolatile); in createMemCpyLoopUnknownSize() 243 ResBuilder.CreateAdd(ResidualIndex, ConstantInt::get(CopyLenType, 1U)); in createMemCpyLoopUnknownSize() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 228 IRBuilder<> ResBuilder(ResLoopBB); in createMemCpyLoopUnknownSize() local 230 ResBuilder.CreatePHI(CopyLenType, 2, "residual-loop-index"); in createMemCpyLoopUnknownSize() 234 ResBuilder.CreateBitCast(SrcAddr, PointerType::get(Int8Type, SrcAS)); in createMemCpyLoopUnknownSize() 236 ResBuilder.CreateBitCast(DstAddr, PointerType::get(Int8Type, DstAS)); in createMemCpyLoopUnknownSize() 237 Value *FullOffset = ResBuilder.CreateAdd(RuntimeBytesCopied, ResidualIndex); in createMemCpyLoopUnknownSize() 239 ResBuilder.CreateInBoundsGEP(Int8Type, SrcAsInt8, FullOffset); in createMemCpyLoopUnknownSize() 240 Value *Load = ResBuilder.CreateAlignedLoad(Int8Type, SrcGEP, PartSrcAlign, in createMemCpyLoopUnknownSize() 243 ResBuilder.CreateInBoundsGEP(Int8Type, DstAsInt8, FullOffset); in createMemCpyLoopUnknownSize() 244 ResBuilder.CreateAlignedStore(Load, DstGEP, PartDstAlign, DstIsVolatile); in createMemCpyLoopUnknownSize() 247 ResBuilder.CreateAdd(ResidualIndex, ConstantInt::get(CopyLenType, 1U)); in createMemCpyLoopUnknownSize() [all …]
|