LLVM
20.0.0git
lib
Target
DirectX
MCTargetDesc
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
13
#include "
DirectXContainerObjectWriter.h
"
14
#include "
llvm/MC/MCDXContainerWriter.h
"
15
16
using namespace
llvm
;
17
18
namespace
{
19
class
DirectXContainerObjectWriter :
public
MCDXContainerTargetWriter
{
20
public
:
21
DirectXContainerObjectWriter() :
MCDXContainerTargetWriter
() {}
22
};
23
}
// namespace
24
25
std::unique_ptr<MCObjectTargetWriter>
26
llvm::createDXContainerTargetObjectWriter
() {
27
return
std::make_unique<DirectXContainerObjectWriter>();
28
}
DirectXContainerObjectWriter.h
MCDXContainerWriter.h
llvm::MCDXContainerTargetWriter
Definition:
MCDXContainerWriter.h:19
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::createDXContainerTargetObjectWriter
std::unique_ptr< MCObjectTargetWriter > createDXContainerTargetObjectWriter()
Definition:
DirectXContainerObjectWriter.cpp:26
Generated on Thu Nov 21 2024 03:52:42 for LLVM by
1.9.6