13#ifndef LLVM_LIB_TARGET_DIRECTX_DXILROOTSIGNATURE_H
14#define LLVM_LIB_TARGET_DIRECTX_DXILROOTSIGNATURE_H
40 : FuncToRsMap(Map) {};
47 const auto FuncRs =
find(
F);
50 return &FuncRs->second;
72 std::unique_ptr<RootSignatureBindingInfo> FuncToRsMap;
This file defines the DenseMap class.
Module.h This file contains the declarations for the Module class.
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.
iterator find(const_arg_type_t< KeyT > Val)
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.
Printer pass for RootSignatureAnalysis results.
RootSignatureAnalysisPrinter(raw_ostream &OS)
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
Wrapper pass for the legacy pass manager.
RootSignatureAnalysisWrapper()
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
RootSignatureBindingInfo & getRSInfo()
bool runOnModule(Module &M) override
runOnModule - Virtual method overriden by subclasses to process the module being operated on.
Result run(Module &M, ModuleAnalysisManager &AM)
RootSignatureAnalysis()=default
iterator find(const Function *F)
RootSignatureBindingInfo(SmallDenseMap< const Function *, mcdxbc::RootSignatureDesc > Map)
mcdxbc::RootSignatureDesc * getDescForFunction(const Function *F)
RootSignatureBindingInfo()=default
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.