LLVM 18.0.0git
Macros | Functions
DXILShaderFlags.cpp File Reference
#include "DXILShaderFlags.h"
#include "DirectX.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/BinaryFormat/DXContainerConstants.def"

Go to the source code of this file.

Macros

#define SHADER_FLAG(bit, FlagName, Str)
 

Functions

static void updateFlags (ComputedShaderFlags &Flags, const Instruction &I)
 

Macro Definition Documentation

◆ SHADER_FLAG

#define SHADER_FLAG (   bit,
  FlagName,
  Str 
)
Value:
if (FlagName) \
OS << "; " Str "\n";
raw_pwrite_stream & OS

Function Documentation

◆ updateFlags()

static void updateFlags ( ComputedShaderFlags Flags,
const Instruction I 
)
static

Definition at line 23 of file DXILShaderFlags.cpp.

References I, and llvm::Type::isDoubleTy().

Referenced by llvm::dxil::ComputedShaderFlags::computeFlags().