LLVM 20.0.0git
Classes | Namespaces | Macros
DXILShaderFlags.h File Reference
#include "llvm/IR/Function.h"
#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 <memory>
#include "llvm/BinaryFormat/DXContainerConstants.def"

Go to the source code of this file.

Classes

struct  llvm::dxil::ComputedShaderFlags
 
struct  llvm::dxil::ModuleShaderFlags
 
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 DXIL_MODULE_FLAG(DxilModuleBit, FlagName, Str)    ModuleFlags |= FlagName ? getMask(DxilModuleBit) : 0ull;
 
#define SHADER_FEATURE_FLAG(FeatureBit, DxilModuleBit, FlagName, Str)    FlagValue |= FlagName ? getMask(DxilModuleBit) : 0ull;
 
#define SHADER_FEATURE_FLAG(FeatureBit, DxilModuleBit, FlagName, Str)    FeatureFlags |= FlagName ? getMask(FeatureBit) : 0ull;
 
#define SHADER_FEATURE_FLAG(FeatureBit, DxilModuleBit, FlagName, Str)    FlagName |= (IVal & getMask(DxilModuleBit));
 
#define DXIL_MODULE_FLAG(DxilModuleBit, FlagName, Str)    FlagName |= (IVal & getMask(DxilModuleBit));
 

Macro Definition Documentation

◆ DXIL_MODULE_FLAG [1/4]

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

Definition at line 41 of file DXILShaderFlags.h.

◆ DXIL_MODULE_FLAG [2/4]

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

Definition at line 41 of file DXILShaderFlags.h.

◆ DXIL_MODULE_FLAG [3/4]

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

Definition at line 41 of file DXILShaderFlags.h.

◆ DXIL_MODULE_FLAG [4/4]

#define DXIL_MODULE_FLAG (   DxilModuleBit,
  FlagName,
  Str 
)     FlagName |= (IVal & getMask(DxilModuleBit));

Definition at line 41 of file DXILShaderFlags.h.

◆ SHADER_FEATURE_FLAG [1/5]

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

Definition at line 39 of file DXILShaderFlags.h.

◆ SHADER_FEATURE_FLAG [2/5]

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

Definition at line 39 of file DXILShaderFlags.h.

◆ SHADER_FEATURE_FLAG [3/5]

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

Definition at line 39 of file DXILShaderFlags.h.

◆ SHADER_FEATURE_FLAG [4/5]

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

Definition at line 39 of file DXILShaderFlags.h.

◆ SHADER_FEATURE_FLAG [5/5]

#define SHADER_FEATURE_FLAG (   FeatureBit,
  DxilModuleBit,
  FlagName,
  Str 
)     FlagName |= (IVal & getMask(DxilModuleBit));

Definition at line 39 of file DXILShaderFlags.h.