Home
last modified time | relevance | path

Searched full:dxcontainer (Results 1 – 25 of 98) sorted by relevance

1234

/llvm-project/llvm/lib/Object/
H A DDXContainer.cpp1 //===- DXContainer.cpp - DXContainer object file implementation -----------===//
9 #include "llvm/Object/DXContainer.h"
10 #include "llvm/BinaryFormat/DXContainer.h"
29 // DXContainer is always little endian in readStruct()
44 // The DXContainer offset table is comprised of uint32_t values but not padded in readInteger()
51 // DXContainer is always little endian in readInteger()
57 DXContainer::DXContainer(MemoryBufferRef O) : Data(O) {} in DXContainer() function in DXContainer
59 Error DXContainer::parseHeader() { in parseHeader()
63 Error DXContainer::parseDXILHeader(StringRef Part) { in parseDXILHeader()
75 Error DXContainer::parseShaderFeatureFlags(StringRef Part) { in parseShaderFeatureFlags()
[all …]
H A DCMakeLists.txt10 DXContainer.cpp
/llvm-project/llvm/include/llvm/MC/
H A DMCDXContainerWriter.h1 //===- llvm/MC/MCDXContainerWriter.h - DXContainer Writer -*- C++ -------*-===//
29 return Triple::DXContainer; in classof()
32 return W->getFormat() == Triple::DXContainer;
H A DDXContainerPSVInfo.h1 //===- llvm/MC/DXContainerPSVInfo.h - DXContainer PSVInfo -*- C++ -------*-===//
15 #include "llvm/BinaryFormat/DXContainer.h"
50 PSVRuntimeInfo() : DXConStrTabBuilder(StringTableBuilder::DXContainer) { in PSVRuntimeInfo()
/llvm-project/llvm/lib/MC/
H A DMCDXContainerWriter.cpp1 //===- llvm/MC/MCDXContainerWriter.cpp - DXContainer Writer -----*- C++ -*-===//
10 #include "llvm/BinaryFormat/DXContainer.h"
23 // Presently DXContainer files usually contain 7-10 parts. Reserving space for
34 "Section size too large for DXContainer"); in ~DXContainerObjectWriter()
45 "Part data too large for DXContainer"); in writeObject()
51 "File size too large for DXContainer"); in writeObject()
82 // DXContainer parts should be 4-byte aligned. in writeObject()
H A DMCDXContainerStreamer.cpp1 //===- lib/MC/MCDXContainerStreamer.cpp - DXContainer Impl ----*- C++ -*---===//
9 // This file contains the object streamer for DXContainer files.
/llvm-project/llvm/unittests/Object/
H A DDXContainerTest.cpp9 #include "llvm/Object/DXContainer.h"
40 DXContainer::create(getMemoryBuffer<4>(Buffer)), in TEST()
46 DXContainer::create(MemoryBufferRef(StringRef("", 0), "")), in TEST()
55 DXContainer C = in TEST()
56 llvm::cantFail(DXContainer::create(getMemoryBuffer<32>(Buffer))); in TEST()
71 DXContainer::create(getMemoryBuffer<32>(Buffer)), in TEST()
83 DXContainer::create(getMemoryBuffer<36>(Buffer)), in TEST()
96 DXContainer::create(getMemoryBuffer<38>(Buffer)), in TEST()
109 DXContainer::create(getMemoryBuffer<42>(Buffer)), in TEST()
124 DXContainer in TEST()
[all...]
/llvm-project/llvm/docs/
H A DDirectXUsage.rst16 DirectX/DXContainer
82 ``DXContainer``.
84 The ``DXContainer`` format is sparsely documented in the functional
88 :doc:`DirectX/DXContainer`).
90 Support for generating ``DXContainer`` files in LLVM, is being added to the LLVM
94 For ``dxil`` targeting, bitcode emission into ``DXContainer`` files follows a
/llvm-project/llvm/include/llvm/Object/
H A DDXContainer.h1 //===- DXContainer.h - DXContainer file implementation ----------*- C++ -*-===//
10 // interface for DXContainer files.
20 #include "llvm/BinaryFormat/DXContainer.h"
276 class DXContainer {
281 DXContainer(MemoryBufferRef O);
305 // member of the DXContainer. It contains a refernce to the container, and the
308 const DXContainer &Container;
316 friend class DXContainer; variable
318 PartIterator(const DXContainer &C, in PartIterator()
373 static Expected<DXContainer> create(MemoryBufferRef Object);
/llvm-project/llvm/lib/Target/DirectX/
H A DDXContainerGlobals.cpp1 //===- DXContainerGlobals.cpp - DXContainer global generator pass ---------===//
20 #include "llvm/BinaryFormat/DXContainer.h"
55 return "DXContainer Global Emitter";
245 "DXContainer Global Emitter", false, true)
251 "DXContainer Global Emitter", false, true)
/llvm-project/llvm/tools/obj2yaml/
H A Ddxcontainer2yaml.cpp10 #include "llvm/Object/DXContainer.h"
33 Expected<DXContainer> ExDXC = DXContainer::create(Source); in dumpDXContainer()
36 DXContainer Container = *ExDXC; in dumpDXContainer()
57 std::optional<DXContainer::DXILData> DXIL = Container.getDXIL(); in dumpDXContainer()
/llvm-project/llvm/lib/BinaryFormat/
H A DDXContainer.cpp2 //===-- llvm/BinaryFormat/DXContainer.cpp - DXContainer Utils ----*- C++-*-===//
14 #include "llvm/BinaryFormat/DXContainer.h"
H A DCMakeLists.txt5 DXContainer.cpp
/llvm-project/llvm/docs/DirectX/
H A DDXContainer.rst14 The DirectX Container (DXContainer) file format is the binary file format for
28 A DXContainer file begins with a header, and is then followed by a sequence of
36 `llvm/include/llvm/BinaryFormat/DXContainer.h
37 <https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/BinaryFormat/DXContainer.h>`_.
56 The DXContainer header matches the pseudo-definition above. It begins with a
229 size. This string table uses the DXContainer format as implemented in LLVM. This
/llvm-project/llvm/lib/ObjectYAML/
H A DObjectYAML.cpp73 } else if (IO.mapTag("!dxcontainer")) { in mapping()
74 ObjectFile.DXContainer.reset(new DXContainerYAML::Object()); in mapping()
76 *ObjectFile.DXContainer); in mapping()
H A Dyaml2obj.cpp52 if (Doc.DXContainer) in convertYAML()
53 return yaml2dxcontainer(*Doc.DXContainer, Out, ErrHandler); in convertYAML()
/llvm-project/llvm/test/tools/obj2yaml/DXContainer/
H A DShaderHash.yaml3 --- !dxcontainer
20 # CHECK: --- !dxcontainer
H A DOmitSizeAndOffsets.yaml3 --- !dxcontainer
28 # CHECK: --- !dxcontainer
H A DExplicitSizeAndOffsets.yaml3 --- !dxcontainer
30 # CHECK: --- !dxcontainer
H A DInvalidOffset.yaml4 --- !dxcontainer
H A DInvalidSize.yaml4 --- !dxcontainer
H A DPartTooSmall.yaml6 --- !dxcontainer
/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDXContainerYAML.h1 //===- DXContainerYAML.h - DXContainer YAMLIO implementation ----*- C++ -*-===//
11 /// of DXContainer.
19 #include "llvm/BinaryFormat/DXContainer.h"
/llvm-project/llvm/unittests/ObjectYAML/
H A DDXContainerYAMLTest.cpp32 ASSERT_TRUE(convert(Storage, R"(--- !dxcontainer in TEST()
81 ASSERT_TRUE(convert(Storage, R"(--- !dxcontainer in TEST()
/llvm-project/llvm/utils/gn/secondary/llvm/lib/BinaryFormat/
H A DBUILD.gn10 "DXContainer.cpp",

1234