Home
last modified time | relevance | path

Searched refs:loadOp (Results 1 – 25 of 83) sorted by relevance

1234

/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/
Dkernel_lowering.cc149 getFunction().walk([&](mlir::LoadOp loadOp) { in runOnFunction() argument
150 auto* block = loadOp.getOperation()->getBlock(); in runOnFunction()
152 [&loadOp](mlir::Operation& other) { in runOnFunction()
153 return &other == loadOp.getOperation(); in runOnFunction()
163 GetAllocOp(loadOp.memref(), &memrefToAllocOp); in runOnFunction()
168 auto loadIndices = loadOp.getIndices(); in runOnFunction()
173 loadOp.replaceAllUsesWith(storeOp.getValueToStore()); in runOnFunction()
174 loadOp.erase(); in runOnFunction()
221 if (auto loadOp = llvm::dyn_cast<mlir::LoadOp>(op)) { in operationConsideredDead() local
222 return loadOp.use_empty(); in operationConsideredDead()
/external/skia/src/gpu/vk/
DGrVkOpsRenderPass.cpp32 VkAttachmentLoadOp* loadOp, VkAttachmentStoreOp* storeOp) { in get_vk_load_store_ops() argument
35 *loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in get_vk_load_store_ops()
38 *loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in get_vk_load_store_ops()
41 *loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in get_vk_load_store_ops()
45 *loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in get_vk_load_store_ops()
67 VkAttachmentLoadOp loadOp; in init() local
70 &loadOp, &storeOp); in init()
71 GrVkRenderPass::LoadStoreOps vkColorOps(loadOp, storeOp); in init()
74 &loadOp, &storeOp); in init()
75 GrVkRenderPass::LoadStoreOps vkStencilOps(loadOp, storeOp); in init()
DGrVkRenderPass.h25 LoadStoreOps(VkAttachmentLoadOp loadOp, VkAttachmentStoreOp storeOp) in LoadStoreOps()
26 : fLoadOp(loadOp) in LoadStoreOps()
DGrVkRenderPass.cpp26 attachment->loadOp = desc.fLoadStoreOps.fLoadOp; in setup_vk_attachment_description()
32 attachment->loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
/external/skqp/src/gpu/vk/
DGrVkRenderPass.h36 LoadStoreOps(VkAttachmentLoadOp loadOp, VkAttachmentStoreOp storeOp) in LoadStoreOps()
37 : fLoadOp(loadOp) in LoadStoreOps()
DGrVkRenderPass.cpp26 attachment->loadOp = desc.fLoadStoreOps.fLoadOp; in setup_vk_attachment_description()
32 attachment->loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
DGrVkGpuCommandBuffer.cpp51 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()
DGrVkCopyManager.cpp336 VkAttachmentLoadOp loadOp = canDiscardOutsideDstRect ? VK_ATTACHMENT_LOAD_OP_DONT_CARE in copySurfaceAsDraw() local
338 GrVkRenderPass::LoadStoreOps vkColorOps(loadOp, VK_ATTACHMENT_STORE_OP_STORE); in copySurfaceAsDraw()
/external/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp27 static wgpu::LoadOp to_dawn_load_op(GrLoadOp loadOp) { in to_dawn_load_op() argument
28 switch (loadOp) { in to_dawn_load_op()
67 colorAttachment.loadOp = colorOp; in beginRenderPass()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_render_pass.c43 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/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTestsUtil.hpp54 VkAttachmentLoadOp loadOp,
69 VkAttachmentLoadOp loadOp,
360 VkAttachmentLoadOp loadOp,
DvktRenderPassUnusedAttachmentTests.cpp64 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()
DvktRenderPassTests.cpp678 VkAttachmentLoadOp loadOp, in Attachment() argument
689 , m_loadOp (loadOp) in Attachment()
4879 …const VkAttachmentLoadOp loadOp = rng.choose<VkAttachmentLoadOp>(DE_ARRAY_BEGIN(loadOps), DE_ARR… in addAttachmentTests() local
4893 …attachments.push_back(Attachment(format, sampleCount, loadOp, storeOp, stencilLoadOp, stencilStore… in addAttachmentTests()
4901 …const VkAttachmentLoadOp loadOp = rng.choose<VkAttachmentLoadOp>(DE_ARRAY_BEGIN(loadOps), DE_ARR… in addAttachmentTests() local
4915 …attachments.push_back(Attachment(format, sampleCount, loadOp, storeOp, stencilLoadOp, stencilStore… in addAttachmentTests()
4981 const VkAttachmentLoadOp loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in addAttachmentWriteMaskTests() local
4989 …attachments.push_back(Attachment(format, sampleCount, loadOp, storeOp, stencilLoadOp, stencilStore… in addAttachmentWriteMaskTests()
5202 …const VkAttachmentLoadOp loadOp = rng.choose<VkAttachmentLoadOp>(DE_ARRAY_BEGIN(loadOps), DE_… in addAttachmentAllocationTests() local
5219 if (loadOp == VK_ATTACHMENT_LOAD_OP_LOAD || loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR in addAttachmentAllocationTests()
[all …]
DvktRenderPassTestsUtil.cpp56 loadOp = loadOp_; in AttachmentDescription1()
80 loadOp = loadOp_; in AttachmentDescription2()
522 VkAttachmentLoadOp loadOp, in Attachment() argument
533 , m_loadOp (loadOp) in Attachment()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderPassUtil.hpp44 VkAttachmentLoadOp loadOp,
59 VkAttachmentLoadOp loadOp,
DvktMultiViewRenderPassUtil.cpp53 loadOp = loadOp_; in AttachmentDescription1()
77 loadOp = loadOp_; in AttachmentDescription2()
/external/vulkan-validation-layers/layers/
Dconvert_to_renderpass2.cpp102 out_struct->loadOp = in_struct->loadOp; in ConvertVkAttachmentDescriptionToV2KHR()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pass.c220 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/src/Vulkan/
DVkRenderPass.cpp75 dst[i].loadOp = src[i].loadOp; in CopyAttachmentDescriptions()
DVkFramebuffer.cpp49 if(attachment.loadOp != VK_ATTACHMENT_LOAD_OP_CLEAR) in clear()
/external/mesa3d/src/freedreno/vulkan/
Dtu_legacy.c262 .loadOp = pCreateInfo->pAttachments[i].loadOp, in tu_CreateRenderPass()
/external/angle/src/libANGLE/renderer/vulkan/
DCommandGraph.cpp147 const char *GetLoadOpShorthand(uint32_t loadOp) in GetLoadOpShorthand() argument
149 switch (loadOp) in GetLoadOpShorthand()
857 loadOps += GetLoadOpShorthand(mRenderPassAttachmentOps[i].loadOp); in dumpCommandsForDiagnostics()
870 loadOps += GetLoadOpShorthand(mRenderPassAttachmentOps[dsIndex].loadOp); in dumpCommandsForDiagnostics()
Dvk_cache_utils.cpp154 desc->loadOp = static_cast<VkAttachmentLoadOp>(ops.loadOp); in UnpackAttachmentDesc()
1453 SetBitField(ops.loadOp, VK_ATTACHMENT_LOAD_OP_LOAD); in initDummyOp()
1460 VkAttachmentLoadOp loadOp, in initWithStore() argument
1468 SetBitField(ops.loadOp, loadOp); in initWithStore()
1469 SetBitField(ops.stencilLoadOp, loadOp); in initWithStore()
DCommandGraph.h117 mRenderPassAttachmentOps[attachmentIndex].loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in clearRenderPassColorAttachment()
123 mRenderPassAttachmentOps[attachmentIndex].loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in clearRenderPassDepthAttachment()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl262 …lags, VkFormat format, VkSampleCountFlagBits samples, VkAttachmentLoadOp loadOp, VkAttachmentStore… argument
268 res.loadOp = loadOp;

1234