LLVM 22.0.0git
DXContainerReader.h
Go to the documentation of this file.
1//===- DXContainerReader.h --------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIB_OBJCOPY_DXCONTAINER_DXCONTAINERREADER_H
10#define LLVM_LIB_OBJCOPY_DXCONTAINER_DXCONTAINERREADER_H
11
12#include "DXContainerObject.h"
13
14namespace llvm {
15namespace objcopy {
16namespace dxbc {
17
18using namespace object;
19
21public:
23 : DXContainerObj(Obj) {}
25
26private:
27 const DXContainerObjectFile &DXContainerObj;
28};
29
30} // end namespace dxbc
31} // end namespace objcopy
32} // end namespace llvm
33
34#endif // LLVM_LIB_OBJCOPY_DXCONTAINER_DXCONTAINERREADER_H
Tagged union holding either a T or a Error.
Definition Error.h:485
Expected< std::unique_ptr< Object > > create() const
DXContainerReader(const DXContainerObjectFile &Obj)
This is an optimization pass for GlobalISel generic memory operations.