13#ifndef LLVM_TARGET_DIRECTX_DXILRESOURCEANALYSIS_H
14#define LLVM_TARGET_DIRECTX_DXILRESOURCEANALYSIS_H
This header defines various interfaces for pass management in LLVM.
A container for analyses that lazily runs them and caches their results.
Represent the analysis usage information of a pass.
void setPreservesAll()
Set by analyses that do not transform their input at all.
Analysis pass that exposes the DXILResource for a module.
dxil::Resources run(Module &M, ModuleAnalysisManager &AM)
Printer pass for the DXILResourceMDAnalysis results.
DXILResourceMDPrinterPass(raw_ostream &OS)
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
The legacy pass manager's analysis pass to compute DXIL resource information.
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
dxil::Resources & getDXILResource()
const dxil::Resources & getDXILResource() const
bool runOnModule(Module &M) override
Calculate the DXILResource for the module.
void print(raw_ostream &O, const Module *M=nullptr) const override
print - Print out the internal state of the pass.
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
A Module instance is used to store all the information related to an LLVM module.
A set of analyses that are preserved following a run of a transformation pass.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
A CRTP mix-in that provides informational APIs needed for analysis passes.
A special type used by analysis passes to provide an address that identifies that particular analysis...
A CRTP mix-in to automatically provide informational APIs needed for passes.