LLVM 22.0.0git
DXContainerObjcopy.h
Go to the documentation of this file.
1//===- DXContainerObjcopy.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_OBJCOPY_DXCONTAINER_DXCONTAINEROBJCOPY_H
10#define LLVM_OBJCOPY_DXCONTAINER_DXCONTAINEROBJCOPY_H
11
12namespace llvm {
13class Error;
14class raw_ostream;
15
16namespace object {
17class DXContainerObjectFile;
18} // end namespace object
19
20namespace objcopy {
21struct CommonConfig;
22struct DXContainerConfig;
23
24namespace dxbc {
25/// Apply the transformations described by \p Config and \p DXContainerConfig
26/// to \p In and writes the result into \p Out.
27/// \returns any Error encountered whilst performing the operation.
29 const DXContainerConfig &,
31 raw_ostream &Out);
32} // end namespace dxbc
33} // end namespace objcopy
34} // end namespace llvm
35
36#endif // LLVM_OBJCOPY_DXCONTAINER_DXCONTAINEROBJCOPY_H
RelaxConfig Config
Definition: ELF_riscv.cpp:506
Lightweight error class with error context and mandatory checking.
Definition: Error.h:159
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:53
Error executeObjcopyOnBinary(const CommonConfig &Config, const DXContainerConfig &, object::DXContainerObjectFile &In, raw_ostream &Out)
Apply the transformations described by Config and DXContainerConfig to In and writes the result into ...
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18