Home
last modified time | relevance | path

Searched refs:memoryAccess (Results 1 – 14 of 14) sorted by relevance

/external/deqp-deps/glslang/SPIRV/
DSpvBuilder.cpp1517 …sk Builder::sanitizeMemoryAccessForStorageClass(spv::MemoryAccessMask memoryAccess, StorageClass s… in sanitizeMemoryAccessForStorageClass() argument
1527 memoryAccess = spv::MemoryAccessMask(memoryAccess & in sanitizeMemoryAccessForStorageClass()
1533 return memoryAccess; in sanitizeMemoryAccessForStorageClass()
1537 void Builder::createStore(Id rValue, Id lValue, spv::MemoryAccessMask memoryAccess, spv::Scope scop… in createStore() argument
1544 memoryAccess = sanitizeMemoryAccessForStorageClass(memoryAccess, getStorageClass(lValue)); in createStore()
1546 if (memoryAccess != MemoryAccessMaskNone) { in createStore()
1547 store->addImmediateOperand(memoryAccess); in createStore()
1548 if (memoryAccess & spv::MemoryAccessAlignedMask) { in createStore()
1551 if (memoryAccess & spv::MemoryAccessMakePointerAvailableKHRMask) { in createStore()
1560 Id Builder::createLoad(Id lValue, spv::Decoration precision, spv::MemoryAccessMask memoryAccess, in createLoad() argument
[all …]
DSpvPostProcess.cpp290 … unsigned int memoryAccess = inst.getImmediateOperand((inst.getOpCode() == OpStore) ? 2 : 1); in postProcess() local
291 assert(memoryAccess & MemoryAccessAlignedMask); in postProcess()
292 static_cast<void>(memoryAccess); in postProcess()
DSpvBuilder.h373 …void createStore(Id rValue, Id lValue, spv::MemoryAccessMask memoryAccess = spv::MemoryAccessMaskN…
378 spv::MemoryAccessMask memoryAccess = spv::MemoryAccessMaskNone,
731 spv::MemoryAccessMask memoryAccess = spv::MemoryAccessMaskNone,
736 … spv::MemoryAccessMask memoryAccess = spv::MemoryAccessMaskNone, spv::Scope scope = spv::ScopeMax,
798 …spv::MemoryAccessMask sanitizeMemoryAccessForStorageClass(spv::MemoryAccessMask memoryAccess, Stor…
DGlslangToSpv.cpp3055 int memoryAccess = TranslateMemoryAccess(coherentFlags); in visitAggregate() local
3057 memoryAccess &= ~spv::MemoryAccessMakePointerAvailableKHRMask; in visitAggregate()
3059 memoryAccess &= ~spv::MemoryAccessMakePointerVisibleKHRMask; in visitAggregate()
3062memoryAccess = (spv::MemoryAccessMask)(memoryAccess | spv::MemoryAccessAlignedMask); in visitAggregate()
3065 memoryAccessOperands.push_back(spv::IdImmediate(false, memoryAccess)); in visitAggregate()
3067 if (memoryAccess & spv::MemoryAccessAlignedMask) { in visitAggregate()
3071 if (memoryAccess & in visitAggregate()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DSpvBuilder.cpp1517 …sk Builder::sanitizeMemoryAccessForStorageClass(spv::MemoryAccessMask memoryAccess, StorageClass s… in sanitizeMemoryAccessForStorageClass() argument
1527 memoryAccess = spv::MemoryAccessMask(memoryAccess & in sanitizeMemoryAccessForStorageClass()
1533 return memoryAccess; in sanitizeMemoryAccessForStorageClass()
1537 void Builder::createStore(Id rValue, Id lValue, spv::MemoryAccessMask memoryAccess, spv::Scope scop… in createStore() argument
1544 memoryAccess = sanitizeMemoryAccessForStorageClass(memoryAccess, getStorageClass(lValue)); in createStore()
1546 if (memoryAccess != MemoryAccessMaskNone) { in createStore()
1547 store->addImmediateOperand(memoryAccess); in createStore()
1548 if (memoryAccess & spv::MemoryAccessAlignedMask) { in createStore()
1551 if (memoryAccess & spv::MemoryAccessMakePointerAvailableKHRMask) { in createStore()
1560 Id Builder::createLoad(Id lValue, spv::Decoration precision, spv::MemoryAccessMask memoryAccess, in createLoad() argument
[all …]
DSpvPostProcess.cpp290 … unsigned int memoryAccess = inst.getImmediateOperand((inst.getOpCode() == OpStore) ? 2 : 1); in postProcess() local
291 assert(memoryAccess & MemoryAccessAlignedMask); in postProcess()
292 static_cast<void>(memoryAccess); in postProcess()
DSpvBuilder.h373 …void createStore(Id rValue, Id lValue, spv::MemoryAccessMask memoryAccess = spv::MemoryAccessMaskN…
378 spv::MemoryAccessMask memoryAccess = spv::MemoryAccessMaskNone,
731 spv::MemoryAccessMask memoryAccess = spv::MemoryAccessMaskNone,
736 … spv::MemoryAccessMask memoryAccess = spv::MemoryAccessMaskNone, spv::Scope scope = spv::ScopeMax,
798 …spv::MemoryAccessMask sanitizeMemoryAccessForStorageClass(spv::MemoryAccessMask memoryAccess, Stor…
DGlslangToSpv.cpp3255 int memoryAccess = TranslateMemoryAccess(coherentFlags); in visitAggregate() local
3257 memoryAccess &= ~spv::MemoryAccessMakePointerAvailableKHRMask; in visitAggregate()
3259 memoryAccess &= ~spv::MemoryAccessMakePointerVisibleKHRMask; in visitAggregate()
3262memoryAccess = (spv::MemoryAccessMask)(memoryAccess | spv::MemoryAccessAlignedMask); in visitAggregate()
3265 memoryAccessOperands.push_back(spv::IdImmediate(false, memoryAccess)); in visitAggregate()
3267 if (memoryAccess & spv::MemoryAccessAlignedMask) { in visitAggregate()
3271 if (memoryAccess & in visitAggregate()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp899 auto memoryAccess = op.memory_access().getValue(); in matchAndRewrite() local
900 switch (memoryAccess) { in matchAndRewrite()
906 memoryAccess == spirv::MemoryAccess::Aligned ? *op.alignment() : 0; in matchAndRewrite()
907 bool isNonTemporal = memoryAccess == spirv::MemoryAccess::Nontemporal; in matchAndRewrite()
908 bool isVolatile = memoryAccess == spirv::MemoryAccess::Volatile; in matchAndRewrite()
/external/angle/src/common/spirv/
Dspirv_instruction_parser_autogen.h162 spv::MemoryAccessMask *memoryAccess);
166 spv::MemoryAccessMask *memoryAccess);
170 spv::MemoryAccessMask *memoryAccess);
Dspirv_instruction_builder_autogen.h135 const spv::MemoryAccessMask *memoryAccess);
136 void WriteStore(Blob *blob, IdRef pointer, IdRef object, const spv::MemoryAccessMask *memoryAccess);
140 const spv::MemoryAccessMask *memoryAccess);
Dspirv_instruction_builder_autogen.cpp588 const spv::MemoryAccessMask *memoryAccess) in WriteLoad() argument
595 if (memoryAccess) in WriteLoad()
597 blob->push_back(*memoryAccess); in WriteLoad()
601 void WriteStore(Blob *blob, IdRef pointer, IdRef object, const spv::MemoryAccessMask *memoryAccess) in WriteStore() argument
607 if (memoryAccess) in WriteStore()
609 blob->push_back(*memoryAccess); in WriteStore()
616 const spv::MemoryAccessMask *memoryAccess) in WriteCopyMemory() argument
622 if (memoryAccess) in WriteCopyMemory()
624 blob->push_back(*memoryAccess); in WriteCopyMemory()
Dspirv_instruction_parser_autogen.cpp657 spv::MemoryAccessMask *memoryAccess) in ParseLoad() argument
667 if (memoryAccess && _o < _length) in ParseLoad()
669 *memoryAccess = spv::MemoryAccessMask(_instruction[_o++]); in ParseLoad()
675 spv::MemoryAccessMask *memoryAccess) in ParseStore() argument
684 if (memoryAccess && _o < _length) in ParseStore()
686 *memoryAccess = spv::MemoryAccessMask(_instruction[_o++]); in ParseStore()
692 spv::MemoryAccessMask *memoryAccess) in ParseCopyMemory() argument
701 if (memoryAccess && _o < _length) in ParseCopyMemory()
703 *memoryAccess = spv::MemoryAccessMask(_instruction[_o++]); in ParseCopyMemory()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp8775 map<string, string> memoryAccess; in createMemoryAccessTests() local
8776 memoryAccess["access_type"] = tests[testNdx].accessType; in createMemoryAccessTests()
8779 fragments["testfun"] = tcu::StringTemplate(function).specialize(memoryAccess); in createMemoryAccessTests()