LLVM 20.0.0git
DirectX.h
Go to the documentation of this file.
1//===- DirectXTargetMachine.h - DirectX Target Implementation ---*- 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//===----------------------------------------------------------------------===//
10
11#ifndef LLVM_LIB_TARGET_DIRECTX_DIRECTX_H
12#define LLVM_LIB_TARGET_DIRECTX_DIRECTX_H
13
14namespace llvm {
15class FunctionPass;
16class ModulePass;
17class PassRegistry;
18class raw_ostream;
19
20/// Initializer for dxil writer pass
22
23/// Initializer for dxil embedder pass
25
26/// Initializer for DXIL-prepare
28
29/// Pass to convert modules into DXIL-compatable modules
31
32/// Initializer for DXIL Intrinsic Expansion
34
35/// Pass to expand intrinsic operations that lack DXIL opCodes
37
38/// Initializer for DXIL Data Scalarization Pass
40
41/// Pass to scalarize llvm global data into a DXIL legal form
43
44/// Initializer for DXIL Array Flatten Pass
46
47/// Pass to flatten arrays into a one dimensional DXIL legal form
49
50/// Initializer for DXILOpLowering
52
53/// Pass to lowering LLVM intrinsic call to DXIL op function call.
55
56/// Initializer for DXILResourceAccess
58
59/// Pass to update resource accesses to use load/store directly.
61
62/// Initializer for DXILTranslateMetadata.
64
65/// Pass to emit metadata for DXIL.
67
68/// Initializer for DXILTranslateMetadata.
70
71/// Pass to pretty print DXIL metadata.
73
74/// Initializer for DXILPrettyPrinter.
76
77/// Initializer for dxil::ShaderFlagsAnalysisWrapper pass.
79
80/// Initializer for DXContainerGlobals pass.
82
83/// Pass for generating DXContainer part globals.
85
86/// Initializer for DXILFinalizeLinkage pass.
88
89/// Pass to finalize linkage of functions.
91
92} // namespace llvm
93
94#endif // LLVM_LIB_TARGET_DIRECTX_DIRECTX_H
raw_pwrite_stream & OS
FunctionPass class - This class is used to implement most global optimizations.
Definition: Pass.h:310
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
Definition: Pass.h:251
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:37
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:52
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
void initializeShaderFlagsAnalysisWrapperPass(PassRegistry &)
Initializer for dxil::ShaderFlagsAnalysisWrapper pass.
void initializeDXILPrettyPrinterLegacyPass(PassRegistry &)
Initializer for DXILPrettyPrinter.
ModulePass * createDXILDataScalarizationLegacyPass()
Pass to scalarize llvm global data into a DXIL legal form.
ModulePass * createDXILTranslateMetadataLegacyPass()
Pass to emit metadata for DXIL.
void initializeDXILFlattenArraysLegacyPass(PassRegistry &)
Initializer for DXIL Array Flatten Pass.
ModulePass * createDXILPrepareModulePass()
Pass to convert modules into DXIL-compatable modules.
ModulePass * createDXContainerGlobalsPass()
Pass for generating DXContainer part globals.
ModulePass * createDXILFlattenArraysLegacyPass()
Pass to flatten arrays into a one dimensional DXIL legal form.
void initializeDXILResourceMDWrapperPass(PassRegistry &)
Initializer for DXILTranslateMetadata.
FunctionPass * createDXILResourceAccessLegacyPass()
Pass to update resource accesses to use load/store directly.
void initializeDXILPrepareModulePass(PassRegistry &)
Initializer for DXIL-prepare.
void initializeDXILDataScalarizationLegacyPass(PassRegistry &)
Initializer for DXIL Data Scalarization Pass.
ModulePass * createDXILFinalizeLinkageLegacyPass()
Pass to finalize linkage of functions.
void initializeEmbedDXILPassPass(PassRegistry &)
Initializer for dxil embedder pass.
ModulePass * createDXILIntrinsicExpansionLegacyPass()
Pass to expand intrinsic operations that lack DXIL opCodes.
void initializeDXILFinalizeLinkageLegacyPass(PassRegistry &)
Initializer for DXILFinalizeLinkage pass.
void initializeDXILIntrinsicExpansionLegacyPass(PassRegistry &)
Initializer for DXIL Intrinsic Expansion.
ModulePass * createDXILOpLoweringLegacyPass()
Pass to lowering LLVM intrinsic call to DXIL op function call.
void initializeDXILOpLoweringLegacyPass(PassRegistry &)
Initializer for DXILOpLowering.
void initializeWriteDXILPassPass(PassRegistry &)
Initializer for dxil writer pass.
ModulePass * createDXILPrettyPrinterLegacyPass(raw_ostream &OS)
Pass to pretty print DXIL metadata.
void initializeDXContainerGlobalsPass(PassRegistry &)
Initializer for DXContainerGlobals pass.
void initializeDXILResourceAccessLegacyPass(PassRegistry &)
Initializer for DXILResourceAccess.
void initializeDXILTranslateMetadataLegacyPass(PassRegistry &)
Initializer for DXILTranslateMetadata.