LLVM 22.0.0git
llvm::dxil::ModuleShaderFlags Struct Reference

#include "Target/DirectX/DXILShaderFlags.h"

Public Member Functions

void initialize (Module &, DXILResourceTypeMap &DRTM, const DXILResourceMap &DRM, const ModuleMetadataInfo &MMDI)
 Construct ModuleShaderFlags for module Module M.
const ComputedShaderFlagsgetFunctionFlags (const Function *) const
 Return the shader flags mask of the specified function Func.
const ComputedShaderFlagsgetCombinedFlags () const

Detailed Description

Definition at line 87 of file DXILShaderFlags.h.

Member Function Documentation

◆ getCombinedFlags()

const ComputedShaderFlags & llvm::dxil::ModuleShaderFlags::getCombinedFlags ( ) const
inline

Definition at line 91 of file DXILShaderFlags.h.

Referenced by llvm::dxil::ShaderFlagsAnalysisPrinter::run().

◆ getFunctionFlags()

const ComputedShaderFlags & ModuleShaderFlags::getFunctionFlags ( const Function * Func) const

Return the shader flags mask of the specified function Func.

Definition at line 346 of file DXILShaderFlags.cpp.

References assert().

Referenced by llvm::dxil::ShaderFlagsAnalysisPrinter::run().

◆ initialize()


The documentation for this struct was generated from the following files: