/llvm-project/llvm/lib/Object/ |
H A D | DXContainer.cpp | 1 //===- 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 D | CMakeLists.txt | 10 DXContainer.cpp
|
/llvm-project/llvm/include/llvm/MC/ |
H A D | MCDXContainerWriter.h | 1 //===- llvm/MC/MCDXContainerWriter.h - DXContainer Writer -*- C++ -------*-===// 29 return Triple::DXContainer; in classof() 32 return W->getFormat() == Triple::DXContainer;
|
H A D | DXContainerPSVInfo.h | 1 //===- 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 D | MCDXContainerWriter.cpp | 1 //===- 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 D | MCDXContainerStreamer.cpp | 1 //===- lib/MC/MCDXContainerStreamer.cpp - DXContainer Impl ----*- C++ -*---===// 9 // This file contains the object streamer for DXContainer files.
|
/llvm-project/llvm/unittests/Object/ |
H A D | DXContainerTest.cpp | 9 #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 D | DirectXUsage.rst | 16 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 D | DXContainer.h | 1 //===- 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 D | DXContainerGlobals.cpp | 1 //===- 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 D | dxcontainer2yaml.cpp | 10 #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 D | DXContainer.cpp | 2 //===-- llvm/BinaryFormat/DXContainer.cpp - DXContainer Utils ----*- C++-*-===// 14 #include "llvm/BinaryFormat/DXContainer.h"
|
H A D | CMakeLists.txt | 5 DXContainer.cpp
|
/llvm-project/llvm/docs/DirectX/ |
H A D | DXContainer.rst | 14 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 D | ObjectYAML.cpp | 73 } else if (IO.mapTag("!dxcontainer")) { in mapping() 74 ObjectFile.DXContainer.reset(new DXContainerYAML::Object()); in mapping() 76 *ObjectFile.DXContainer); in mapping()
|
H A D | yaml2obj.cpp | 52 if (Doc.DXContainer) in convertYAML() 53 return yaml2dxcontainer(*Doc.DXContainer, Out, ErrHandler); in convertYAML()
|
/llvm-project/llvm/test/tools/obj2yaml/DXContainer/ |
H A D | ShaderHash.yaml | 3 --- !dxcontainer 20 # CHECK: --- !dxcontainer
|
H A D | OmitSizeAndOffsets.yaml | 3 --- !dxcontainer 28 # CHECK: --- !dxcontainer
|
H A D | ExplicitSizeAndOffsets.yaml | 3 --- !dxcontainer 30 # CHECK: --- !dxcontainer
|
H A D | InvalidOffset.yaml | 4 --- !dxcontainer
|
H A D | InvalidSize.yaml | 4 --- !dxcontainer
|
H A D | PartTooSmall.yaml | 6 --- !dxcontainer
|
/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | DXContainerYAML.h | 1 //===- DXContainerYAML.h - DXContainer YAMLIO implementation ----*- C++ -*-===// 11 /// of DXContainer. 19 #include "llvm/BinaryFormat/DXContainer.h"
|
/llvm-project/llvm/unittests/ObjectYAML/ |
H A D | DXContainerYAMLTest.cpp | 32 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 D | BUILD.gn | 10 "DXContainer.cpp",
|