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)
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.
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.
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...