LLVM
22.0.0git
lib
ObjCopy
DXContainer
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
14
namespace
llvm
{
15
namespace
objcopy
{
16
namespace
dxbc
{
17
18
using namespace
object;
19
20
class
DXContainerReader
{
21
public
:
22
explicit
DXContainerReader
(
const
DXContainerObjectFile
&Obj)
23
: DXContainerObj(Obj) {}
24
Expected<std::unique_ptr<Object>
>
create
()
const
;
25
26
private
:
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
DXContainerObject.h
llvm::Expected
Tagged union holding either a T or a Error.
Definition
Error.h:485
llvm::objcopy::dxbc::DXContainerReader::create
Expected< std::unique_ptr< Object > > create() const
Definition
DXContainerReader.cpp:17
llvm::objcopy::dxbc::DXContainerReader::DXContainerReader
DXContainerReader(const DXContainerObjectFile &Obj)
Definition
DXContainerReader.h:22
llvm::object::DXContainerObjectFile
Definition
DXContainer.h:589
llvm::objcopy::dxbc
Definition
DXContainerObjcopy.h:24
llvm::objcopy
Definition
COFFConfig.h:15
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
AddressRanges.h:18
Generated on
for LLVM by
1.14.0