LLVM 19.0.0git
DirectXContainerObjectWriter.cpp
Go to the documentation of this file.
1//===-- DirectXContainerObjectWriter.cpp - DX object writer ----*- 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// This file contains DXContainer object writers for the DirectX backend.
10//
11//===----------------------------------------------------------------------===//
12
15
16using namespace llvm;
17
18namespace {
19class DirectXContainerObjectWriter : public MCDXContainerTargetWriter {
20public:
21 DirectXContainerObjectWriter() : MCDXContainerTargetWriter() {}
22};
23} // namespace
24
25std::unique_ptr<MCObjectTargetWriter>
27 return std::make_unique<DirectXContainerObjectWriter>();
28}
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
std::unique_ptr< MCObjectTargetWriter > createDXContainerTargetObjectWriter()