Searched refs:FwdLoopBuilder (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 190 IRBuilder<> FwdLoopBuilder(FwdLoopBB); in convertMemMoveToLoop() local 191 PHINode *FwdCopyPhi = FwdLoopBuilder.CreatePHI(TypeOfCopyLen, 0, "index_ptr"); in convertMemMoveToLoop() 192 Value *FwdElement = FwdLoopBuilder.CreateLoad( in convertMemMoveToLoop() 193 FwdLoopBuilder.CreateInBoundsGEP(SrcAddr, FwdCopyPhi), "element"); in convertMemMoveToLoop() 194 FwdLoopBuilder.CreateStore( in convertMemMoveToLoop() 195 FwdElement, FwdLoopBuilder.CreateInBoundsGEP(DstAddr, FwdCopyPhi)); in convertMemMoveToLoop() 196 Value *FwdIndexPtr = FwdLoopBuilder.CreateAdd( in convertMemMoveToLoop() 198 FwdLoopBuilder.CreateCondBr(FwdLoopBuilder.CreateICmpEQ(FwdIndexPtr, CopyLen), in convertMemMoveToLoop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 348 IRBuilder<> FwdLoopBuilder(FwdLoopBB); in createMemMoveLoop() local 349 PHINode *FwdCopyPhi = FwdLoopBuilder.CreatePHI(TypeOfCopyLen, 0, "index_ptr"); in createMemMoveLoop() 350 Value *FwdElement = FwdLoopBuilder.CreateLoad( in createMemMoveLoop() 351 FwdLoopBuilder.CreateInBoundsGEP(SrcAddr, FwdCopyPhi), "element"); in createMemMoveLoop() 352 FwdLoopBuilder.CreateStore( in createMemMoveLoop() 353 FwdElement, FwdLoopBuilder.CreateInBoundsGEP(DstAddr, FwdCopyPhi)); in createMemMoveLoop() 354 Value *FwdIndexPtr = FwdLoopBuilder.CreateAdd( in createMemMoveLoop() 356 FwdLoopBuilder.CreateCondBr(FwdLoopBuilder.CreateICmpEQ(FwdIndexPtr, CopyLen), in createMemMoveLoop()
|