Home
last modified time | relevance | path

Searched refs:useRef (Results 1 – 2 of 2) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp94 Buffer (Context& context, VkBufferUsageFlags usage, size_t size, bool useRef);
128 …y (const DeviceInterface& vkd, VkDevice device, Allocator& allocator, VkBuffer buffer, bool useRef) in allocateAndBindMemory() argument
130 …const MemoryRequirement allocationType = (MemoryRequirement::HostVisible | (useRef ? MemoryRequire… in allocateAndBindMemory()
138 Buffer::Buffer (Context& context, VkBufferUsageFlags usage, size_t size, bool useRef) in Buffer() argument
151 useRef)) in Buffer()
708 const bool useRef = (m_shaderType.getMemoryType() == AtomicMemoryType::REFERENCE); in iterate() local
709 …const VkDescriptorType descType = (useRef ? VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER : VK_DESCRIPTOR_TY… in iterate()
710 …const VkBufferUsageFlags usageFlags = (VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | (useRef ? static_cast… in iterate()
714 Buffer buffer (m_context, usageFlags, testBuffer->bufferSize(), useRef); in iterate()
717 if (useRef) in iterate()
[all …]
/external/llvm-project/mlir/lib/IR/
DSymbolTable.cpp863 SymbolRefAttr useRef = symbolUse.getSymbolRef(); in replaceAllSymbolUsesImpl() local
864 if (!isReferencePrefixOf(scope.symbol, useRef)) in replaceAllSymbolUsesImpl()
871 if (useRef != scope.symbol) { in replaceAllSymbolUsesImpl()
874 SymbolRefAttr::get(newSymbol, useRef.getNestedReferences(), ctx); in replaceAllSymbolUsesImpl()
876 auto nestedRefs = llvm::to_vector<4>(useRef.getNestedReferences()); in replaceAllSymbolUsesImpl()
880 SymbolRefAttr::get(useRef.getRootReference(), nestedRefs, ctx); in replaceAllSymbolUsesImpl()