LLVM 20.0.0git
Classes | Namespaces | Macros
DXILShaderFlags.h File Reference
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
#include "llvm/BinaryFormat/DXContainerConstants.def"

Go to the source code of this file.

Classes

struct  llvm::dxil::ComputedShaderFlags
 
class  llvm::dxil::ShaderFlagsAnalysis
 
class  llvm::dxil::ShaderFlagsAnalysisPrinter
 Printer pass for ShaderFlagsAnalysis results. More...
 
class  llvm::dxil::ShaderFlagsAnalysisWrapper
 Wrapper pass for the legacy pass manager. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::dxil
 

Macros

#define SHADER_FEATURE_FLAG(FeatureBit, DxilModuleBit, FlagName, Str)    bool FlagName : 1;
 
#define DXIL_MODULE_FLAG(DxilModuleBit, FlagName, Str)   bool FlagName : 1;
 
#define SHADER_FEATURE_FLAG(FeatureBit, DxilModuleBit, FlagName, Str)    FlagName = false;
 
#define DXIL_MODULE_FLAG(DxilModuleBit, FlagName, Str)   FlagName = false;
 
#define SHADER_FEATURE_FLAG(FeatureBit, DxilModuleBit, FlagName, Str)    FlagValue |= FlagName ? getMask(DxilModuleBit) : 0ull;
 
#define DXIL_MODULE_FLAG(DxilModuleBit, FlagName, Str)    FlagValue |= FlagName ? getMask(DxilModuleBit) : 0ull;
 
#define SHADER_FEATURE_FLAG(FeatureBit, DxilModuleBit, FlagName, Str)    FeatureFlags |= FlagName ? getMask(FeatureBit) : 0ull;
 

Macro Definition Documentation

◆ DXIL_MODULE_FLAG [1/3]

#define DXIL_MODULE_FLAG (   DxilModuleBit,
  FlagName,
  Str 
)    bool FlagName : 1;

Definition at line 38 of file DXILShaderFlags.h.

◆ DXIL_MODULE_FLAG [2/3]

#define DXIL_MODULE_FLAG (   DxilModuleBit,
  FlagName,
  Str 
)    FlagName = false;

Definition at line 38 of file DXILShaderFlags.h.

◆ DXIL_MODULE_FLAG [3/3]

#define DXIL_MODULE_FLAG (   DxilModuleBit,
  FlagName,
  Str 
)     FlagValue |= FlagName ? getMask(DxilModuleBit) : 0ull;

Definition at line 38 of file DXILShaderFlags.h.

◆ SHADER_FEATURE_FLAG [1/4]

#define SHADER_FEATURE_FLAG (   FeatureBit,
  DxilModuleBit,
  FlagName,
  Str 
)     bool FlagName : 1;

Definition at line 36 of file DXILShaderFlags.h.

◆ SHADER_FEATURE_FLAG [2/4]

#define SHADER_FEATURE_FLAG (   FeatureBit,
  DxilModuleBit,
  FlagName,
  Str 
)     FlagName = false;

Definition at line 36 of file DXILShaderFlags.h.

◆ SHADER_FEATURE_FLAG [3/4]

#define SHADER_FEATURE_FLAG (   FeatureBit,
  DxilModuleBit,
  FlagName,
  Str 
)     FlagValue |= FlagName ? getMask(DxilModuleBit) : 0ull;

Definition at line 36 of file DXILShaderFlags.h.

◆ SHADER_FEATURE_FLAG [4/4]

#define SHADER_FEATURE_FLAG (   FeatureBit,
  DxilModuleBit,
  FlagName,
  Str 
)     FeatureFlags |= FlagName ? getMask(FeatureBit) : 0ull;

Definition at line 36 of file DXILShaderFlags.h.