LLVM 20.0.0git
|
#include "Target/DirectX/DXILShaderFlags.h"
Public Member Functions | |
void | initialize (const Module &, DXILResourceTypeMap &DRTM) |
const ComputedShaderFlags & | getFunctionFlags (const Function *) const |
Return the shader flags mask of the specified function Func. | |
const ComputedShaderFlags & | getCombinedFlags () const |
Definition at line 87 of file DXILShaderFlags.h.
|
inline |
Definition at line 90 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 108 of file DXILShaderFlags.cpp.
References assert(), and llvm::lower_bound().
Referenced by llvm::dxil::ShaderFlagsAnalysisPrinter::run().
void ModuleShaderFlags::initialize | ( | const Module & | M, |
DXILResourceTypeMap & | DRTM | ||
) |
Definition at line 67 of file DXILShaderFlags.cpp.
References assert(), F, I, llvm::dxil::ComputedShaderFlags::merge(), llvm::sort(), and updateFunctionFlags().
Referenced by llvm::dxil::ShaderFlagsAnalysis::run(), and llvm::dxil::ShaderFlagsAnalysisWrapper::runOnModule().