LLVM 19.0.0git
DXILIntrinsicExpansion.h
Go to the documentation of this file.
1//===- DXILIntrinsicExpansion.h - Prepare LLVM Module for DXIL encoding----===//
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#ifndef LLVM_TARGET_DIRECTX_DXILINTRINSICEXPANSION_H
9#define LLVM_TARGET_DIRECTX_DXILINTRINSICEXPANSION_H
10
11#include "DXILResource.h"
12#include "llvm/IR/PassManager.h"
13#include "llvm/Pass.h"
14
15namespace llvm {
16
17/// A pass that transforms DXIL Intrinsics that don't have DXIL opCodes
18class DXILIntrinsicExpansion : public PassInfoMixin<DXILIntrinsicExpansion> {
19public:
21};
22
24
25public:
26 bool runOnModule(Module &M) override;
28
29 static char ID; // Pass identification.
30};
31} // namespace llvm
32
33#endif // LLVM_TARGET_DIRECTX_DXILINTRINSICEXPANSION_H
This header defines various interfaces for pass management in LLVM.
A container for analyses that lazily runs them and caches their results.
Definition: PassManager.h:321
bool runOnModule(Module &M) override
runOnModule - Virtual method overriden by subclasses to process the module being operated on.
A pass that transforms DXIL Intrinsics that don't have DXIL opCodes.
PreservedAnalyses run(Module &M, ModuleAnalysisManager &)
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
Definition: Pass.h:251
A Module instance is used to store all the information related to an LLVM module.
Definition: Module.h:65
A set of analyses that are preserved following a run of a transformation pass.
Definition: Analysis.h:109
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:74