/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | SPIRVAttributes.cpp | 34 Attribute storageClass) in InterfaceVarABIAttributeStorage() 36 storageClass(storageClass) {} in InterfaceVarABIAttributeStorage() 40 std::get<2>(key) == storageClass; in operator ==() 52 Attribute storageClass; member 117 Optional<spirv::StorageClass> storageClass, in get() argument 123 storageClass ? b.getI32IntegerAttr(static_cast<uint32_t>(*storageClass)) in get() 130 IntegerAttr storageClass) { in get() argument 133 return Base::get(context, descriptorSet, binding, storageClass); in get() 149 if (getImpl()->storageClass) in getStorageClass() 151 getImpl()->storageClass.cast<IntegerAttr>().getValue().getZExtValue()); in getStorageClass() [all …]
|
D | SPIRVLowering.cpp | 235 Optional<spirv::StorageClass> storageClass = {}) { in convertScalarType() argument 239 type.getExtensions(extensions, storageClass); 240 type.getCapabilities(capabilities, storageClass); 271 Optional<spirv::StorageClass> storageClass = {}) { in convertVectorType() argument 284 type.cast<spirv::CompositeType>().getExtensions(extensions, storageClass); 285 type.cast<spirv::CompositeType>().getCapabilities(capabilities, storageClass); 293 targetEnv, type.getElementType().cast<spirv::ScalarType>(), storageClass); 345 Optional<spirv::StorageClass> storageClass = in convertMemrefType() local 347 if (!storageClass) { in convertMemrefType() 356 arrayElemType = convertVectorType(targetEnv, vecType, storageClass); in convertMemrefType() [all …]
|
D | SPIRVDialect.cpp | 363 auto storageClass = symbolizeStorageClass(storageClassSpec); in parsePointerType() local 364 if (!storageClass) { in parsePointerType() 371 return PointerType::get(pointeeType, *storageClass); in parsePointerType() 917 StringRef storageClass; in parseInterfaceVarABIAttr() local 918 if (parser.parseKeyword(&storageClass)) in parseInterfaceVarABIAttr() 922 spirv::symbolizeStorageClass(storageClass)) { in parseInterfaceVarABIAttr() 926 parser.emitError(loc, "unknown storage class: ") << storageClass; in parseInterfaceVarABIAttr() 1146 auto storageClass = interfaceVarABIAttr.getStorageClass(); in print() local 1147 if (storageClass) in print() 1148 printer << ", " << spirv::stringifyStorageClass(*storageClass); in print()
|
D | LayoutUtils.cpp | 164 auto storageClass = ptrType.getStorageClass(); in isLegalType() local 170 switch (storageClass) { in isLegalType()
|
D | TargetAndABI.cpp | 103 Optional<spirv::StorageClass> storageClass, in getInterfaceVarABIAttr() argument 105 return spirv::InterfaceVarABIAttr::get(descriptorSet, binding, storageClass, in getInterfaceVarABIAttr()
|
D | SPIRVOps.cpp | 2000 auto storageClass = varOp.storageClass(); in verify() local 2001 if (storageClass == spirv::StorageClass::Generic || in verify() 2002 storageClass == spirv::StorageClass::Function) { in verify() 2004 << stringifyStorageClass(storageClass) << "'"; in verify() 2089 spirv::StorageClass storageClass; in parseSubgroupBlockReadINTELOp() local 2092 if (parseEnumStrAttr(storageClass, parser) || parser.parseOperand(ptrInfo) || in parseSubgroupBlockReadINTELOp() 2097 auto ptrType = spirv::PointerType::get(elementType, storageClass); in parseSubgroupBlockReadINTELOp() 2099 ptrType = spirv::PointerType::get(valVecTy.getElementType(), storageClass); in parseSubgroupBlockReadINTELOp() 2132 spirv::StorageClass storageClass; in parseSubgroupBlockWriteINTELOp() local 2136 if (parseEnumStrAttr(storageClass, parser) || in parseSubgroupBlockWriteINTELOp() [all …]
|
D | SPIRVTypes.cpp | 458 return key == KeyTy(pointeeType, storageClass); in operator ==() 462 : pointeeType(key.first), storageClass(key.second) {} in PointerTypeStorage() 465 StorageClass storageClass; member 468 PointerType PointerType::get(Type pointeeType, StorageClass storageClass) { in get() argument 469 return Base::get(pointeeType.getContext(), pointeeType, storageClass); in get() 475 return getImpl()->storageClass; in getStorageClass()
|
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderMemory.cpp | 41 if(pointerTy.storageClass == spv::StorageClassUniformConstant) in EmitLoad() 57 bool interleavedByLane = IsStorageInterleavedByLane(pointerTy.storageClass); in EmitLoad() 59 auto robustness = state->getOutOfBoundsBehavior(pointerTy.storageClass); in EmitLoad() 102 bool interleavedByLane = IsStorageInterleavedByLane(pointerTy.storageClass); in Store() 103 auto robustness = state->getOutOfBoundsBehavior(pointerTy.storageClass); in Store() 106 if(!StoresInHelperInvocation(pointerTy.storageClass)) in Store() 127 switch(objectTy.storageClass) in EmitVariable() 205 UNREACHABLE("Storage class %d", objectTy.storageClass); in EmitVariable() 217 switch(objectTy.storageClass) in EmitVariable() 223 bool interleavedByLane = IsStorageInterleavedByLane(objectTy.storageClass); in EmitVariable() [all …]
|
D | SpirvShader.cpp | 260 auto storageClass = static_cast<spv::StorageClass>(insn.word(3)); local 267 ASSERT(getType(typeId).storageClass == storageClass); 269 switch(storageClass) 297 UNSUPPORTED("StorageClass %d not yet supported", (int)storageClass); 309 … UNREACHABLE("Unexpected StorageClass %d", storageClass); // See Appendix A of the Vulkan spec. 810 type.storageClass = static_cast<spv::StorageClass>(insn.word(2)); in DeclareType() 843 …ASSERT(objectTy.storageClass == spv::StorageClassInput || objectTy.storageClass == spv::StorageCla… in ProcessInterfaceVariable() 848 …auto &builtinInterface = (objectTy.storageClass == spv::StorageClassInput) ? inputBuiltins : outpu… in ProcessInterfaceVariable() 849 auto &userDefinedInterface = (objectTy.storageClass == spv::StorageClassInput) ? inputs : outputs; in ProcessInterfaceVariable() 1293 if(getType(baseObject).storageClass == spv::StorageClassUniformConstant) in WalkAccessChain() [all …]
|
/external/angle/src/libANGLE/renderer/ |
D | glslang_wrapper_utils.cpp | 1018 void visitTypePointer(spirv::IdResult id, spv::StorageClass storageClass, spirv::IdRef typeId); 1024 spv::StorageClass storageClass, 1237 spv::StorageClass storageClass, in visitTypePointer() argument 1247 if ((typeId == mOutputPerVertex.typeId && storageClass == spv::StorageClassInput) || in visitTypePointer() 1248 (typeId == mInputPerVertex.typeId && storageClass == spv::StorageClassOutput)) in visitTypePointer() 1254 if (storageClass == spv::StorageClassOutput) in visitTypePointer() 1262 if (typeId == mVec4Id && storageClass == spv::StorageClassOutput) in visitTypePointer() 1287 spv::StorageClass storageClass, in visitVariable() argument 1296 storageClass == spv::StorageClassUniform || storageClass == spv::StorageClassStorageBuffer; in visitVariable() 1297 const bool isOpaqueUniform = storageClass == spv::StorageClassUniformConstant; in visitVariable() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeCooperativeMatrixTests.cpp | 101 StorageClass storageClass; member 164 …if ((m_data.storageClass == SC_WORKGROUP_VARIABLE_POINTERS || m_data.storageClass == SC_BUFFER_VAR… in checkSupport() 170 if (m_data.storageClass == SC_PHYSICAL_STORAGE_BUFFER && !context.isBufferDeviceAddressSupported()) in checkSupport() 305 …if (m_data.storageClass == SC_BUFFER_VARIABLE_POINTERS || m_data.storageClass == SC_WORKGROUP_VARI… in initPrograms() 345 if (m_data.storageClass == SC_PHYSICAL_STORAGE_BUFFER) in initPrograms() 361 if (m_data.storageClass == SC_WORKGROUP || m_data.storageClass == SC_WORKGROUP_VARIABLE_POINTERS) in initPrograms() 394 if (m_data.storageClass == SC_PHYSICAL_STORAGE_BUFFER) in initPrograms() 418 if (m_data.storageClass == SC_WORKGROUP || m_data.storageClass == SC_WORKGROUP_VARIABLE_POINTERS) in initPrograms() 457 if (m_data.storageClass == SC_WORKGROUP || m_data.storageClass == SC_WORKGROUP_VARIABLE_POINTERS) in initPrograms() 546 if (m_data.storageClass == SC_WORKGROUP || m_data.storageClass == SC_WORKGROUP_VARIABLE_POINTERS) in initPrograms() [all …]
|
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/ |
D | SPIRVAttributes.h | 47 Optional<StorageClass> storageClass, 50 IntegerAttr storageClass); 67 IntegerAttr storageClass);
|
D | TargetAndABI.h | 78 Optional<StorageClass> storageClass,
|
/external/angle/src/compiler/translator/ |
D | BuildSPIRV.h | 120 spv::StorageClass storageClass; member 124 return id == other.id && storageClass == other.storageClass; 198 ASSERT(key.storageClass < 16); in operator() 199 return key.storageClass | key.id << 4; in operator() 302 spirv::IdRef getTypePointerId(spirv::IdRef typeId, spv::StorageClass storageClass); 385 spv::StorageClass storageClass,
|
/external/llvm-project/mlir/tools/mlir-vulkan-runner/ |
D | VulkanRuntime.h | 153 mapStorageClassToDescriptorType(SPIRVStorageClass storageClass, 158 mapStorageClassToBufferUsageFlag(SPIRVStorageClass storageClass,
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/ |
D | LowerABIAttributesPass.cpp | 44 auto storageClass = abiInfo.getStorageClass(); in createGlobalVarForEntryPointArgument() local 45 if (!storageClass) in createGlobalVarForEntryPointArgument() 48 spirv::PointerType::get(spirv::StructType::get(varType), *storageClass); in createGlobalVarForEntryPointArgument()
|
/external/llvm-project/openmp/runtime/src/ |
D | extractExternal.cpp | 47 char storageClass, nAux; member in Symbol 280 if (e.storageClass == 2) in computeExternalSymbols() 329 (e.storageClass == 2 && hide.find(s) != hide.end()) ? prefix + s : s); in hideSymbols() 359 (e.storageClass == 2 && hide.find(s) != hide.end()) ? prefix + s : s); in hideSymbols()
|
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/ |
D | SpvPostProcess.cpp | 85 StorageClass storageClass = getStorageClass(inst.getIdOperand(0)); in postProcessType() local 87 switch (storageClass) { in postProcessType() 98 switch (storageClass) { in postProcessType()
|
D | SpvBuilder.cpp | 178 Id Builder::makePointer(StorageClass storageClass, Id pointee) in makePointer() argument 184 if (type->getImmediateOperand(0) == (unsigned)storageClass && in makePointer() 191 type->addImmediateOperand(storageClass); in makePointer() 200 Id Builder::makeForwardPointer(StorageClass storageClass) in makeForwardPointer() argument 206 type->addImmediateOperand(storageClass); in makeForwardPointer() 213 Id Builder::makePointerFromForwardPointer(StorageClass storageClass, Id forwardPointerType, Id poin… in makePointerFromForwardPointer() argument 219 if (type->getImmediateOperand(0) == (unsigned)storageClass && in makePointerFromForwardPointer() 225 type->addImmediateOperand(storageClass); in makePointerFromForwardPointer() 1481 Id Builder::createVariable(Decoration precision, StorageClass storageClass, Id type, const char* na… in createVariable() argument 1483 Id pointerType = makePointer(storageClass, type); in createVariable() [all …]
|
/external/deqp-deps/glslang/SPIRV/ |
D | SpvPostProcess.cpp | 85 StorageClass storageClass = getStorageClass(inst.getIdOperand(0)); in postProcessType() local 87 switch (storageClass) { in postProcessType() 98 switch (storageClass) { in postProcessType()
|
D | SpvBuilder.cpp | 178 Id Builder::makePointer(StorageClass storageClass, Id pointee) in makePointer() argument 184 if (type->getImmediateOperand(0) == (unsigned)storageClass && in makePointer() 191 type->addImmediateOperand(storageClass); in makePointer() 200 Id Builder::makeForwardPointer(StorageClass storageClass) in makeForwardPointer() argument 206 type->addImmediateOperand(storageClass); in makeForwardPointer() 213 Id Builder::makePointerFromForwardPointer(StorageClass storageClass, Id forwardPointerType, Id poin… in makePointerFromForwardPointer() argument 219 if (type->getImmediateOperand(0) == (unsigned)storageClass && in makePointerFromForwardPointer() 225 type->addImmediateOperand(storageClass); in makePointerFromForwardPointer() 1481 Id Builder::createVariable(Decoration precision, StorageClass storageClass, Id type, const char* na… in createVariable() argument 1483 Id pointerType = makePointer(storageClass, type); in createVariable() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | aggressive_dead_code_elim_pass.h | 60 bool IsVarOfStorage(uint32_t varId, uint32_t storageClass);
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | aggressive_dead_code_elim_pass.h | 60 bool IsVarOfStorage(uint32_t varId, uint32_t storageClass);
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | aggressive_dead_code_elim_pass.h | 60 bool IsVarOfStorage(uint32_t varId, uint32_t storageClass);
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_decorations.cpp | 914 const auto storageClass = words[3]; in CheckDecorationsOfBuffers() local 915 const bool uniform = storageClass == SpvStorageClassUniform; in CheckDecorationsOfBuffers() 917 storageClass == SpvStorageClassUniformConstant; in CheckDecorationsOfBuffers() 918 const bool push_constant = storageClass == SpvStorageClassPushConstant; in CheckDecorationsOfBuffers() 919 const bool storage_buffer = storageClass == SpvStorageClassStorageBuffer; in CheckDecorationsOfBuffers() 983 storageClass == SpvStorageClassPhysicalStorageBufferEXT; in CheckDecorationsOfBuffers() 984 const bool workgroup = storageClass == SpvStorageClassWorkgroup; in CheckDecorationsOfBuffers()
|