Home
last modified time | relevance | path

Searched refs:UAV (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp287 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
299 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/true, in defineHLSLTypesWithForwardDeclarations()
321 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
335 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
346 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
357 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/true, in defineHLSLTypesWithForwardDeclarations()
376 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
384 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/true, in defineHLSLTypesWithForwardDeclarations()
H A DSemaHLSL.cpp63 case ResourceClass::UAV: in getRegisterType()
64 return RegisterType::UAV; in getRegisterType()
84 *RT = RegisterType::UAV; in convertToRegisterType()
111 case RegisterType::UAV: in getResourceClass()
112 return ResourceClass::UAV; in getResourceClass()
3106 return !(ResTy->getAttrs().ResourceClass == ResourceClass::UAV && in CheckBuiltinFunctionCall()
H A DHLSLBuiltinTypeDeclBuilder.cpp700 if (getResourceAttrs().ResourceClass == llvm::dxil::ResourceClass::UAV) in addArraySubscriptOperators()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPostOptimizationValidation.cpp29 for (const auto &UAV : DRM.uavs()) { in reportInvalidDirection() local
30 if (UAV.CounterDirection != ResourceCounterDirection::Invalid) in reportInvalidDirection()
35 if (*DRM.find(MaybeHandle) == UAV) { in reportInvalidDirection()
H A DDXILRootSignature.cpp131 ElementKind == RootSignatureElementKind::UAV || in parseRootDescriptors()
143 case RootSignatureElementKind::UAV: in parseRootDescriptors()
144 Header.ParameterType = llvm::to_underlying(dxbc::RootParameterType::UAV); in parseRootDescriptors()
204 .Case("UAV", llvm::to_underlying(dxbc::DescriptorRangeType::UAV)) in parseDescriptorRange()
360 .Case("RootUAV", RootSignatureElementKind::UAV) in parseRootSignatureElement()
373 case RootSignatureElementKind::UAV: in parseRootSignatureElement()
423 case llvm::to_underlying(dxbc::RootParameterType::UAV): in validate()
643 case llvm::to_underlying(dxbc::RootParameterType::UAV): in run()
H A DDXILPrettyPrinter.cpp26 case dxil::ResourceClass::UAV: in getRCName()
40 case dxil::ResourceClass::UAV: in getRCPrefix()
H A DDXILRootSignature.h34 UAV = 4, enumerator
H A DDXILShaderFlags.cpp235 for (auto &UAV : DRM.uavs()) in gatherGlobalModuleFlags() local
239 NumUAVs += UAV.getBinding().Size; in gatherGlobalModuleFlags()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/
H A DHLSLRootSignature.h45 enum class DescriptorType : uint8_t { SRV = 0, UAV, CBuffer }; enumerator
67 case DescriptorType::UAV: in setDefaultFlags()
109 case ClauseType::UAV: in setDefaultFlags()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDXContainerConstants.def22 SHADER_FEATURE_FLAG(3, 15, Max64UAVs, "64 UAV slots")
30 SHADER_FEATURE_FLAG(11, 13, TypedUAVLoadAdditionalFormats, "Typed UAV Load Additional Formats")
111 DESCRIPTOR_RANGE(1, UAV)
123 ROOT_PARAMETER(4, UAV)
234 DXIL_MODULE_FLAG(33, ResMayNotAlias, "Any UAV may not alias any other UAV")
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DDirectX.cpp47 case llvm::dxil::ResourceClass::UAV: in getHLSLType()
60 llvm::dxil::ResourceClass::UAV, in getHLSLType()
H A DSPIR.cpp478 case llvm::dxil::ResourceClass::UAV: in getHLSLType()
496 bool IsWritable = ResAttrs.ResourceClass == llvm::dxil::ResourceClass::UAV; in getHLSLType()
560 attributes.ResourceClass == llvm::dxil::ResourceClass::UAV ? 2 : 1; in getSPIRVImageTypeFromHLSLResource()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DDXILABI.h27 UAV, enumerator
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDXILResource.cpp36 case ResourceClass::UAV: in getResourceClassName()
234 RC = Ty->isWriteable() ? ResourceClass::UAV : ResourceClass::SRV; in ResourceTypeInfo()
238 RC = Ty->isWriteable() ? ResourceClass::UAV : ResourceClass::SRV; in ResourceTypeInfo()
241 RC = Ty->isWriteable() ? ResourceClass::UAV : ResourceClass::SRV; in ResourceTypeInfo()
244 RC = Ty->isWriteable() ? ResourceClass::UAV : ResourceClass::SRV; in ResourceTypeInfo()
247 RC = ResourceClass::UAV; in ResourceTypeInfo()
376 bool ResourceTypeInfo::isUAV() const { return RC == ResourceClass::UAV; } in isUAV()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DDXContainerRootSignature.cpp44 case llvm::to_underlying(dxbc::RootParameterType::UAV): in getSize()
114 case llvm::to_underlying(dxbc::RootParameterType::UAV): { in write()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/
H A DHLSLRootSignature.cpp117 {"UAV", dxil::ResourceClass::UAV},
H A DRootSignatureMetadata.cpp26 {"UAV", dxil::ResourceClass::UAV},
H A DRootSignatureValidations.cpp58 case llvm::to_underlying(dxbc::DescriptorRangeType::UAV): in verifyRangeType()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DDXContainer.h164 llvm::to_underlying(dxbc::RootParameterType::UAV)); in classof()
270 case dxbc::RootParameterType::UAV: in getParameter()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDXILResource.h687 UAVSpaces(dxil::ResourceClass::UAV), in DXILResourceBindingInfo()
700 case dxil::ResourceClass::UAV: in getBindingSpaces()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DHLSLRootSignatureTokenKinds.def103 KEYWORD(UAV)
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerEmitter.cpp294 case llvm::to_underlying(dxbc::RootParameterType::UAV): { in writeParts()
H A DDXContainerYAML.cpp436 case llvm::to_underlying(dxbc::RootParameterType::UAV): { in mapping()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSLRootSignature.cpp246 Descriptor.Type = DescriptorType::UAV; in parseRootDescriptor()
372 Clause.Type = ClauseType::UAV; in parseDescriptorTableClause()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td4905 enum class RegisterType : unsigned { SRV, UAV, CBuffer, Sampler, C, I };
5006 /*is_string=*/true, ["SRV", "UAV", "CBuffer", "Sampler"],
5007 ["SRV", "UAV", "CBuffer", "Sampler"],

12