LLVM 20.0.0git
|
#include "Target/DirectX/DXILShaderFlags.h"
Public Member Functions | |
void | initialize (Module &, DXILResourceTypeMap &DRTM) |
Construct ModuleShaderFlags for module Module M. | |
const ComputedShaderFlags & | getFunctionFlags (const Function *) const |
Return the shader flags mask of the specified function Func. | |
const ComputedShaderFlags & | getCombinedFlags () const |
Definition at line 85 of file DXILShaderFlags.h.
|
inline |
Definition at line 88 of file DXILShaderFlags.h.
Referenced by llvm::dxil::ShaderFlagsAnalysisPrinter::run().
const ComputedShaderFlags & ModuleShaderFlags::getFunctionFlags | ( | const Function * | Func | ) | const |
Return the shader flags mask of the specified function Func.
Definition at line 156 of file DXILShaderFlags.cpp.
References assert().
Referenced by llvm::dxil::ShaderFlagsAnalysisPrinter::run().
void ModuleShaderFlags::initialize | ( | Module & | M, |
DXILResourceTypeMap & | DRTM | ||
) |
Construct ModuleShaderFlags for module Module M.
Definition at line 88 of file DXILShaderFlags.cpp.
References assert(), F, I, llvm::dxil::ComputedShaderFlags::merge(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::scc_begin().
Referenced by llvm::dxil::ShaderFlagsAnalysis::run(), and llvm::dxil::ShaderFlagsAnalysisWrapper::runOnModule().