/external/llvm-project/mlir/lib/Transforms/ |
D | MemRefDataFlowOpt.cpp | 66 void forwardStoreToLoad(AffineReadOpInterface loadOp); 87 void MemRefDataFlowOpt::forwardStoreToLoad(AffineReadOpInterface loadOp) { in forwardStoreToLoad() argument 92 unsigned minSurroundingLoops = getNestingDepth(loadOp); in forwardStoreToLoad() 93 for (auto *user : loadOp.getMemRef().getUsers()) { in forwardStoreToLoad() 97 unsigned nsLoops = getNumCommonSurroundingLoops(*loadOp, *storeOp); in forwardStoreToLoad() 113 MemRefAccess destAccess(loadOp); in forwardStoreToLoad() 116 unsigned nsLoops = getNumCommonSurroundingLoops(*loadOp, *storeOp); in forwardStoreToLoad() 144 if (!domInfo->dominates(storeOp, loadOp)) in forwardStoreToLoad() 172 loadOp.getValue().replaceAllUsesWith(storeVal); in forwardStoreToLoad() 174 memrefsToErase.insert(loadOp.getMemRef()); in forwardStoreToLoad() [all …]
|
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/ |
D | LegalizeStandardForSPIRV.cpp | 32 LogicalResult matchAndRewrite(OpTy loadOp, 36 void replaceOp(OpTy loadOp, SubViewOp subViewOp, 57 void LoadOpOfSubViewFolder<LoadOp>::replaceOp(LoadOp loadOp, in replaceOp() argument 61 rewriter.replaceOpWithNewOp<LoadOp>(loadOp, subViewOp.source(), in replaceOp() 67 vector::TransferReadOp loadOp, SubViewOp subViewOp, in replaceOp() argument 70 loadOp, loadOp.getVectorType(), subViewOp.source(), sourceIndices, in replaceOp() 71 loadOp.permutation_map(), loadOp.padding(), loadOp.maskedAttr()); in replaceOp() 142 LoadOpOfSubViewFolder<OpTy>::matchAndRewrite(OpTy loadOp, in matchAndRewrite() argument 144 auto subViewOp = loadOp.memref().template getDefiningOp<SubViewOp>(); in matchAndRewrite() 149 if (failed(resolveSourceIndices(loadOp.getLoc(), rewriter, subViewOp, in matchAndRewrite() [all …]
|
D | ConvertStandardToSPIRV.cpp | 443 matchAndRewrite(LoadOp loadOp, ArrayRef<Value> operands, 453 matchAndRewrite(LoadOp loadOp, ArrayRef<Value> operands, 833 IntLoadOpPattern::matchAndRewrite(LoadOp loadOp, ArrayRef<Value> operands, in matchAndRewrite() argument 836 auto loc = loadOp.getLoc(); in matchAndRewrite() 837 auto memrefType = loadOp.memref().getType().cast<MemRefType>(); in matchAndRewrite() 858 rewriter.replaceOpWithNewOp<spirv::LoadOp>(loadOp, in matchAndRewrite() 871 loadOp->getAttrOfType<IntegerAttr>( in matchAndRewrite() 873 loadOp->getAttrOfType<IntegerAttr>("alignment")); in matchAndRewrite() 898 rewriter.replaceOp(loadOp, result); in matchAndRewrite() 907 LoadOpPattern::matchAndRewrite(LoadOp loadOp, ArrayRef<Value> operands, in matchAndRewrite() argument [all …]
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopFusionUtils.cpp | 41 if (auto loadOp = dyn_cast<AffineReadOpInterface>(op)) { in getLoadAndStoreMemRefAccesses() local 42 if (values.count(loadOp.getMemRef()) == 0) in getLoadAndStoreMemRefAccesses() 43 values[loadOp.getMemRef()] = false; in getLoadAndStoreMemRefAccesses() 55 if (auto loadOp = dyn_cast<AffineReadOpInterface>(op)) { in isDependentLoadOrStoreOp() local 56 return values.count(loadOp.getMemRef()) > 0 && in isDependentLoadOrStoreOp() 57 values[loadOp.getMemRef()] == true; in isDependentLoadOrStoreOp() 211 auto loadOp = dyn_cast<AffineReadOpInterface>(dstOp); in getMaxLoopDepth() local 212 Value memref = loadOp ? loadOp.getMemRef() in getMaxLoopDepth() 601 if (auto loadOp = dyn_cast<AffineReadOpInterface>(user)) { in getFusionComputeCost() local
|
/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/ |
D | passes.cc | 127 getFunction().walk([&](mlir::LoadOp loadOp) { in runOnFunction() argument 128 auto storeOp = findStore(loadOp, [&](mlir::StoreOp storeOp) { in runOnFunction() 132 GetAllocOp(loadOp.memref(), &memrefToAllocOp); in runOnFunction() 139 auto loadIndices = loadOp.getIndices(); in runOnFunction() 144 loadOp.replaceAllUsesWith(storeOp.getValueToStore()); in runOnFunction() 145 loadOp.erase(); in runOnFunction() 160 if (auto loadOp = llvm::dyn_cast<mlir::LoadOp>(op)) { in operationConsideredDead() local 161 return loadOp.use_empty(); in operationConsideredDead()
|
/external/skia/src/gpu/vk/ |
D | GrVkOpsRenderPass.cpp | 35 VkAttachmentLoadOp* loadOp, VkAttachmentStoreOp* storeOp) { in get_vk_load_store_ops() argument 38 *loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in get_vk_load_store_ops() 41 *loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in get_vk_load_store_ops() 44 *loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in get_vk_load_store_ops() 48 *loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in get_vk_load_store_ops() 225 VkAttachmentLoadOp loadOp; in init() local 227 get_vk_load_store_ops(colorInfo.fLoadOp, colorInfo.fStoreOp, &loadOp, &storeOp); in init() 228 GrVkRenderPass::LoadStoreOps vkColorOps(loadOp, storeOp); in init() 230 get_vk_load_store_ops(resolveInfo.fLoadOp, resolveInfo.fStoreOp, &loadOp, &storeOp); in init() 231 GrVkRenderPass::LoadStoreOps vkResolveOps(loadOp, storeOp); in init() [all …]
|
D | GrVkRenderPass.h | 25 LoadStoreOps(VkAttachmentLoadOp loadOp, VkAttachmentStoreOp storeOp) in LoadStoreOps() 26 : fLoadOp(loadOp) in LoadStoreOps()
|
/external/llvm-project/mlir/test/lib/Dialect/Affine/ |
D | TestAffineDataCopy.cpp | 100 else if (auto loadOp = dyn_cast<AffineLoadOp>(op)) in runOnFunction() local 101 copyOps.push_back(loadOp); in runOnFunction()
|
/external/skqp/src/gpu/vk/ |
D | GrVkRenderPass.h | 36 LoadStoreOps(VkAttachmentLoadOp loadOp, VkAttachmentStoreOp storeOp) in LoadStoreOps() 37 : fLoadOp(loadOp) in LoadStoreOps()
|
D | GrVkRenderPass.cpp | 26 attachment->loadOp = desc.fLoadStoreOps.fLoadOp; in setup_vk_attachment_description() 32 attachment->loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
|
D | GrVkGpuCommandBuffer.cpp | 51 VkAttachmentLoadOp* loadOp, VkAttachmentStoreOp* storeOp) { in get_vk_load_store_ops() argument 54 *loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in get_vk_load_store_ops() 57 *loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in get_vk_load_store_ops() 60 *loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in get_vk_load_store_ops() 64 *loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in get_vk_load_store_ops()
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_render_pass.c | 43 attachments[i].loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in create_render_pass() 59 attachments[num_attachments].loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in create_render_pass()
|
/external/skia/src/gpu/dawn/ |
D | GrDawnOpsRenderPass.cpp | 25 static wgpu::LoadOp to_dawn_load_op(GrLoadOp loadOp) { in to_dawn_load_op() argument 26 switch (loadOp) { in to_dawn_load_op() 68 colorAttachment.loadOp = colorOp; in beginRenderPass()
|
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderPassUtil.hpp | 44 VkAttachmentLoadOp loadOp, 59 VkAttachmentLoadOp loadOp,
|
D | vktMultiViewRenderPassUtil.cpp | 53 loadOp = loadOp_; in AttachmentDescription1() 77 loadOp = loadOp_; in AttachmentDescription2()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTestsUtil.hpp | 60 VkAttachmentLoadOp loadOp, 75 VkAttachmentLoadOp loadOp, 366 VkAttachmentLoadOp loadOp,
|
D | vktRenderPassUnusedAttachmentTests.cpp | 64 VkAttachmentLoadOp loadOp; member 125 testParams.loadOp, // VkAttachmentLoadOp loadOp in createRenderPass() 937 std::string loadOpToString (VkAttachmentLoadOp loadOp) in loadOpToString() argument 939 switch (loadOp) in loadOpToString() 1003 params.loadOp = loadOps[loadOpIdx]; in createRenderPassUnusedAttachmentTests()
|
D | vktRenderPassTests.cpp | 683 VkAttachmentLoadOp loadOp, in Attachment() argument 694 , m_loadOp (loadOp) in Attachment() 5000 …const VkAttachmentLoadOp loadOp = rng.choose<VkAttachmentLoadOp>(DE_ARRAY_BEGIN(loadOps), DE_ARR… in addAttachmentTests() local 5014 …attachments.push_back(Attachment(format, sampleCount, loadOp, storeOp, stencilLoadOp, stencilStore… in addAttachmentTests() 5022 …const VkAttachmentLoadOp loadOp = rng.choose<VkAttachmentLoadOp>(DE_ARRAY_BEGIN(loadOps), DE_ARR… in addAttachmentTests() local 5036 …attachments.push_back(Attachment(format, sampleCount, loadOp, storeOp, stencilLoadOp, stencilStore… in addAttachmentTests() 5102 const VkAttachmentLoadOp loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in addAttachmentWriteMaskTests() local 5110 …attachments.push_back(Attachment(format, sampleCount, loadOp, storeOp, stencilLoadOp, stencilStore… in addAttachmentWriteMaskTests() 5323 …const VkAttachmentLoadOp loadOp = rng.choose<VkAttachmentLoadOp>(DE_ARRAY_BEGIN(loadOps), DE_… in addAttachmentAllocationTests() local 5340 if (loadOp == VK_ATTACHMENT_LOAD_OP_LOAD || loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR in addAttachmentAllocationTests() [all …]
|
D | vktRenderPassTestsUtil.cpp | 56 loadOp = loadOp_; in AttachmentDescription1() 80 loadOp = loadOp_; in AttachmentDescription2() 522 VkAttachmentLoadOp loadOp, in Attachment() argument 533 , m_loadOp (loadOp) in Attachment()
|
/external/angle/src/libANGLE/renderer/vulkan/doc/ |
D | DeferredClears.md | 10 through `loadOp` of the render pass for step 3, assuming step 2 doesn't use the attachments of FBO1. 36 way or another. In most cases, this implies starting a new render pass and using `loadOp`s to
|
/external/vulkan-validation-layers/layers/ |
D | convert_to_renderpass2.cpp | 102 out_struct->loadOp = in_struct->loadOp; in ConvertVkAttachmentDescriptionToV2KHR()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_cache_utils.cpp | 163 desc->loadOp = static_cast<VkAttachmentLoadOp>(ops.loadOp); in UnpackAttachmentDesc() 195 desc->loadOp = in UnpackColorResolveAttachmentDesc() 228 desc->loadOp = in UnpackDepthStencilResolveAttachmentDesc() 592 desc2Out->loadOp = desc.loadOp; in ToAttachmentDesciption2() 822 countersOut->depthClears += ds.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR ? 1 : 0; in UpdateRenderPassDepthStencilPerfCounters() 823 countersOut->depthLoads += ds.loadOp == VK_ATTACHMENT_LOAD_OP_LOAD ? 1 : 0; in UpdateRenderPassDepthStencilPerfCounters() 858 countersOut->depthClears += dsResolve.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR ? 1 : 0; in UpdateRenderPassDepthStencilResolvePerfCounters() 859 countersOut->depthLoads += dsResolve.loadOp == VK_ATTACHMENT_LOAD_OP_LOAD ? 1 : 0; in UpdateRenderPassDepthStencilResolvePerfCounters() 2669 VkAttachmentLoadOp loadOp, in setOps() argument 2673 SetBitField(ops.loadOp, loadOp); in setOps() [all …]
|
/external/llvm-project/mlir/lib/Analysis/ |
D | Utils.cpp | 504 mlir::boundCheckLoadOrStoreOp(AffineReadOpInterface loadOp, bool emitError); 912 if (auto loadOp = dyn_cast<AffineReadOpInterface>(loadOrStoreOpInst)) { in MemRefAccess() local 913 memref = loadOp.getMemRef(); in MemRefAccess() 915 auto loadMemrefType = loadOp.getMemRefType(); in MemRefAccess() 917 for (auto index : loadOp.getMapOperands()) { in MemRefAccess()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pass.c | 220 if (att->desc.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR && in v3dv_CreateRenderPass() 223 } else if (att->desc.loadOp == VK_ATTACHMENT_LOAD_OP_LOAD && in v3dv_CreateRenderPass()
|
/external/swiftshader/tests/VulkanWrapper/ |
D | DrawTester.cpp | 118 attachments[0].loadOp = vk::AttachmentLoadOp::eClear; in createRenderPass() 128 attachments[1].loadOp = vk::AttachmentLoadOp::eDontCare; in createRenderPass() 139 attachments[0].loadOp = vk::AttachmentLoadOp::eDontCare; in createRenderPass()
|