LLVM 20.0.0git
Public Member Functions | List of all members
llvm::dxil::ModuleShaderFlags Struct Reference

#include "Target/DirectX/DXILShaderFlags.h"

Public Member Functions

void initialize (const Module &, DXILResourceTypeMap &DRTM)
 
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 90 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 108 of file DXILShaderFlags.cpp.

References assert(), and llvm::lower_bound().

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

◆ initialize()

void ModuleShaderFlags::initialize ( const Module M,
DXILResourceTypeMap DRTM 
)

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