LLVM 20.0.0git
Namespaces | Macros
DXContainerYAML.cpp File Reference
#include "llvm/ObjectYAML/DXContainerYAML.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/BinaryFormat/DXContainer.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/BinaryFormat/DXContainerConstants.def"

Go to the source code of this file.

Namespaces

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

Macros

#define SHADER_FEATURE_FLAG(Num, DxilModuleNum, Val, Str)    Val = (FlagData & (uint64_t)dxbc::FeatureFlags::Val) > 0;
 
#define SHADER_FEATURE_FLAG(Num, DxilModuleNum, Val, Str)
 
#define SHADER_FEATURE_FLAG(Num, DxilModuleNum, Val, Str)    IO.mapRequired(#Val, Flags.Val);
 
#define RESOURCE_FLAG(FlagIndex, Enum)   IO.mapRequired(#Enum, Flags.Bits.Enum);
 

Macro Definition Documentation

◆ RESOURCE_FLAG

#define RESOURCE_FLAG (   FlagIndex,
  Enum 
)    IO.mapRequired(#Enum, Flags.Bits.Enum);

◆ SHADER_FEATURE_FLAG [1/3]

#define SHADER_FEATURE_FLAG (   Num,
  DxilModuleNum,
  Val,
  Str 
)     Val = (FlagData & (uint64_t)dxbc::FeatureFlags::Val) > 0;

◆ SHADER_FEATURE_FLAG [2/3]

#define SHADER_FEATURE_FLAG (   Num,
  DxilModuleNum,
  Val,
  Str 
)
Value:
if (Val) \
Flag |= (uint64_t)dxbc::FeatureFlags::Val;

◆ SHADER_FEATURE_FLAG [3/3]

#define SHADER_FEATURE_FLAG (   Num,
  DxilModuleNum,
  Val,
  Str 
)     IO.mapRequired(#Val, Flags.Val);