Searched refs:LoopBuilder (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 83 IRBuilder<> LoopBuilder(LoopBB); in convertMemCpyToLoop() local 84 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 0); in convertMemCpyToLoop() 91 LoopBuilder.CreateLoad(LoopBuilder.CreateInBoundsGEP( in convertMemCpyToLoop() 92 LoopBuilder.getInt8Ty(), SrcAddr, LoopIndex), in convertMemCpyToLoop() 95 LoopBuilder.CreateStore(Element, in convertMemCpyToLoop() 96 LoopBuilder.CreateInBoundsGEP(LoopBuilder.getInt8Ty(), in convertMemCpyToLoop() 102 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); in convertMemCpyToLoop() 105 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, CopyLen), LoopBB, in convertMemCpyToLoop() 171 IRBuilder<> LoopBuilder(LoopBB); in convertMemMoveToLoop() local 172 PHINode *LoopPhi = LoopBuilder.CreatePHI(TypeOfCopyLen, 0); in convertMemMoveToLoop() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 69 IRBuilder<> LoopBuilder(LoopBB); in createMemCpyLoopKnownSize() local 70 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 2, "loop-index"); in createMemCpyLoopKnownSize() 74 LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopKnownSize() 75 Value *Load = LoopBuilder.CreateLoad(LoopOpType, SrcGEP, SrcIsVolatile); in createMemCpyLoopKnownSize() 77 LoopBuilder.CreateInBoundsGEP(LoopOpType, DstAddr, LoopIndex); in createMemCpyLoopKnownSize() 78 LoopBuilder.CreateStore(Load, DstGEP, DstIsVolatile); in createMemCpyLoopKnownSize() 81 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1U)); in createMemCpyLoopKnownSize() 86 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, LoopEndCI), in createMemCpyLoopKnownSize() 178 IRBuilder<> LoopBuilder(LoopBB); in createMemCpyLoopUnknownSize() local 180 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLenType, 2, "loop-index"); in createMemCpyLoopUnknownSize() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 65 IRBuilder<> LoopBuilder(LoopBB); in createMemCpyLoopKnownSize() local 66 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 2, "loop-index"); in createMemCpyLoopKnownSize() 70 LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopKnownSize() 71 Value *Load = LoopBuilder.CreateAlignedLoad(LoopOpType, SrcGEP, in createMemCpyLoopKnownSize() 74 LoopBuilder.CreateInBoundsGEP(LoopOpType, DstAddr, LoopIndex); in createMemCpyLoopKnownSize() 75 LoopBuilder.CreateAlignedStore(Load, DstGEP, PartDstAlign, DstIsVolatile); in createMemCpyLoopKnownSize() 78 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1U)); in createMemCpyLoopKnownSize() 83 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, LoopEndCI), in createMemCpyLoopKnownSize() 177 IRBuilder<> LoopBuilder(LoopBB); in createMemCpyLoopUnknownSize() local 182 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLenType, 2, "loop-index"); in createMemCpyLoopUnknownSize() [all …]
|
/external/llvm-project/mlir/lib/Dialect/Async/Transforms/ |
D | AsyncParallelFor.cpp | 180 using LoopBuilder = std::function<LoopBodyBuilder(size_t loopIdx)>; in matchAndRewrite() typedef 184 LoopBuilder workLoopBuilder = [&](size_t loopIdx) -> LoopBodyBuilder { in matchAndRewrite() 207 LoopBuilder asyncLoopBuilder = [&](size_t loopIdx) -> LoopBodyBuilder { in matchAndRewrite()
|
/external/llvm-project/mlir/docs/ |
D | EDSC.md | 29 ## LoopBuilder and AffineLoopNestBuilder
|