Home
last modified time | relevance | path

Searched refs:hlsl (Results 1 – 25 of 50) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParseHLSLRootSignature.h28 namespace hlsl {
78 std::optional<llvm::hlsl::rootsig::RootConstants> parseRootConstants();
79 std::optional<llvm::hlsl::rootsig::RootDescriptor> parseRootDescriptor();
80 std::optional<llvm::hlsl::rootsig::DescriptorTable> parseDescriptorTable();
81 std::optional<llvm::hlsl::rootsig::DescriptorTableClause>
83 std::optional<llvm::hlsl::rootsig::StaticSampler> parseStaticSampler();
89 std::optional<llvm::hlsl::rootsig::Register> Reg;
97 std::optional<llvm::hlsl::rootsig::Register> Reg;
107 std::optional<llvm::hlsl::rootsig::Register> Reg;
118 std::optional<llvm::hlsl::rootsig::Register> Reg;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILRootSignature.cpp404 if (!llvm::hlsl::rootsig::verifyVersion(RSD.Version)) { in validate()
408 if (!llvm::hlsl::rootsig::verifyRootFlag(RSD.Flags)) { in validate()
427 if (!llvm::hlsl::rootsig::verifyRegisterValue(Descriptor.ShaderRegister)) in validate()
431 if (!llvm::hlsl::rootsig::verifyRegisterSpace(Descriptor.RegisterSpace)) in validate()
435 if (!llvm::hlsl::rootsig::verifyRootDescriptorFlag(RSD.Version, in validate()
445 if (!llvm::hlsl::rootsig::verifyRangeType(Range.RangeType)) in validate()
448 if (!llvm::hlsl::rootsig::verifyRegisterSpace(Range.RegisterSpace)) in validate()
451 if (!llvm::hlsl::rootsig::verifyNumDescriptors(Range.NumDescriptors)) in validate()
454 if (!llvm::hlsl::rootsig::verifyDescriptorRangeFlag( in validate()
464 if (!llvm::hlsl::rootsig::verifySamplerFilter(Sampler.Filter)) in validate()
[all …]
H A DDXILCBufferAccess.cpp102 hlsl::translateCBufArrayOffset(DL, ConstantOffset, ATy); in getOffsetForCBufferGEP()
130 unsigned int CurrentRow = TargetOffset / hlsl::CBufferRowSizeInBytes; in loadValue()
132 (TargetOffset % hlsl::CBufferRowSizeInBytes) / Intrin.EltSize; in loadValue()
221 hlsl::translateCBufArrayOffset(DL, CBufArrayOffset, ArrTy); in copyArrayElemsForMemCpy()
305 std::optional<hlsl::CBufferMetadata> CBufMD = hlsl::CBufferMetadata::get(M); in replaceCBufferAccesses()
309 for (const hlsl::CBufferMapping &Mapping : *CBufMD) in replaceCBufferAccesses()
310 for (const hlsl::CBufferMember &Member : Mapping.Members) { in replaceCBufferAccesses()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaHLSL.h35 namespace hlsl {
41 llvm::hlsl::rootsig::RootElement Element) in RootSignatureElement()
44 const llvm::hlsl::rootsig::RootElement &getElement() const { return Element; } in getElement()
49 llvm::hlsl::rootsig::RootElement Element;
154 ArrayRef<hlsl::RootSignatureElement> Elements);
159 handleRootSignatureElements(ArrayRef<hlsl::RootSignatureElement> Elements);
/freebsd/lib/clang/headers/
H A DMakefile136 INCS+= hlsl.h
255 HLSLDIR= ${INCSDIR}/hlsl
256 HLSL+= hlsl/hlsl_alias_intrinsics.h
257 HLSL+= hlsl/hlsl_basic_types.h
258 HLSL+= hlsl/hlsl_compat_overloads.h
259 HLSL+= hlsl/hlsl_detail.h
260 HLSL+= hlsl/hlsl_intrinsic_helpers.h
261 HLSL+= hlsl/hlsl_intrinsics.h
262 HLSL+= hlsl/hlsl_spirv.h
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHLSL.h20 namespace hlsl {
74 mutable std::unique_ptr<tools::hlsl::Validator> Validator;
75 mutable std::unique_ptr<tools::hlsl::MetalConverter> MetalConverter;
H A DHLSL.cpp213 void tools::hlsl::Validator::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob()
233 void tools::hlsl::MetalConverter::ConstructJob( in ConstructJob()
264 Validator.reset(new tools::hlsl::Validator(*this)); in getTool()
268 MetalConverter.reset(new tools::hlsl::MetalConverter(*this)); in getTool()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLBuiltinTypeDeclBuilder.h21 using llvm::hlsl::ResourceClass;
30 namespace hlsl {
H A DSemaHLSL.cpp202 auto RC = CBuffer ? llvm::hlsl::ResourceClass::CBuffer in ActOnStartBuffer()
203 : llvm::hlsl::ResourceClass::SRV; in ActOnStartBuffer()
1069 ArrayRef<hlsl::RootSignatureElement> RootElements) { in ActOnFinishRootSignatureDecl()
1074 SmallVector<llvm::hlsl::rootsig::RootElement> Elements; in ActOnFinishRootSignatureDecl()
1087 ArrayRef<hlsl::RootSignatureElement> Elements) { in handleRootSignatureElements()
1107 if (!llvm::hlsl::rootsig::verifyRegisterValue(Register)) in handleRootSignatureElements()
1112 if (!llvm::hlsl::rootsig::verifyRegisterSpace(Space)) in handleRootSignatureElements()
1126 for (const hlsl::RootSignatureElement &RootSigElem : Elements) { in handleRootSignatureElements()
1128 const llvm::hlsl::rootsig::RootElement &Elem = RootSigElem.getElement(); in handleRootSignatureElements()
1130 std::get_if<llvm::hlsl::rootsig::RootDescriptor>(&Elem)) { in handleRootSignatureElements()
[all …]
H A DHLSLExternalSemaSource.cpp27 using namespace llvm::hlsl;
29 using clang::hlsl::BuiltinTypeDeclBuilder;
/freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/
H A DCBuffer.cpp16 using namespace llvm::hlsl;
66 APInt hlsl::translateCBufArrayOffset(const DataLayout &DL, APInt Offset, in translateCBufArrayOffset()
H A DHLSLResource.cpp16 using namespace llvm::hlsl;
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/
H A DHLSLResource.h19 namespace hlsl {
H A DRootSignatureMetadata.h24 namespace hlsl {
H A DCBuffer.h26 namespace hlsl {
H A DRootSignatureValidations.h22 namespace hlsl {
H A DHLSLRootSignature.h25 namespace hlsl {
/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_spirv.h12 namespace hlsl {
H A Dhlsl_detail.h12 namespace hlsl {
H A Dhlsl_basic_types.h12 namespace hlsl {
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DHLSLRuntime.h21 namespace hlsl {
H A DLangStandards.def230 LANGSTANDARD(hlsl, "hlsl",
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLexHLSLRootSignature.h24 namespace hlsl {
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp41 using namespace clang::hlsl;
44 using llvm::hlsl::CBufferRowSizeInBytes;
70 ArrayRef<llvm::hlsl::rootsig::RootElement> Elements, in addRootSignature()
74 llvm::hlsl::rootsig::MetadataBuilder RSBuilder(Ctx, Elements); in addRootSignature()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexHLSLRootSignature.cpp12 namespace hlsl { namespace

12