LLVM 20.0.0git
|
#include "DXILShaderFlags.h"
#include "DirectX.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Analysis/DXILResource.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/IntrinsicsDirectX.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/BinaryFormat/DXContainerConstants.def"
Go to the source code of this file.
Macros | |
#define | SHADER_FEATURE_FLAG(FeatureBit, DxilModuleNum, FlagName, Str) |
#define | DXIL_MODULE_FLAG(DxilModuleBit, FlagName, Str) |
Functions | |
static void | updateFunctionFlags (ComputedShaderFlags &CSF, const Instruction &I, DXILResourceTypeMap &DRTM) |
INITIALIZE_PASS_BEGIN (ShaderFlagsAnalysisWrapper, "dx-shader-flag-analysis", "DXIL Shader Flag Analysis", true, true) INITIALIZE_PASS_END(ShaderFlagsAnalysisWrapper | |
Variables | |
dx shader flag | analysis |
dx shader flag DXIL Shader Flag | Analysis |
dx shader flag DXIL Shader Flag | true |
#define DXIL_MODULE_FLAG | ( | DxilModuleBit, | |
FlagName, | |||
Str | |||
) |
#define SHADER_FEATURE_FLAG | ( | FeatureBit, | |
DxilModuleNum, | |||
FlagName, | |||
Str | |||
) |
INITIALIZE_PASS_BEGIN | ( | ShaderFlagsAnalysisWrapper | , |
"dx-shader-flag-analysis" | , | ||
"DXIL Shader Flag Analysis" | , | ||
true | , | ||
true | |||
) |
|
static |
Definition at line 30 of file DXILShaderFlags.cpp.
References llvm::dxil::ResourceTypeInfo::TypedInfo::ElementCount, llvm::dxil::ResourceTypeInfo::getTyped(), I, II, and llvm::dxil::ResourceTypeInfo::isTyped().
Referenced by llvm::dxil::ModuleShaderFlags::initialize().
dx shader flag analysis |
Definition at line 174 of file DXILShaderFlags.cpp.
dx shader flag DXIL Shader Flag Analysis |
Definition at line 175 of file DXILShaderFlags.cpp.
dx shader flag DXIL Shader Flag true |
Definition at line 175 of file DXILShaderFlags.cpp.