|
LLVM 24.0.0git
|
#include "DXILRootSignature.h"#include "DXILShaderFlags.h"#include "DXILSignatureAnalysis.h"#include "DirectX.h"#include "DirectXIRPasses/DXILAttributes.h"#include "DirectXIRPasses/PointerTypeAnalysis.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/StringSet.h"#include "llvm/Analysis/DXILMetadataAnalysis.h"#include "llvm/Analysis/DXILResource.h"#include "llvm/CodeGen/Passes.h"#include "llvm/IR/Analysis.h"#include "llvm/IR/AttributeMask.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/Instruction.h"#include "llvm/IR/Module.h"#include "llvm/IR/PassManager.h"#include "llvm/InitializePasses.h"#include "llvm/Pass.h"#include "llvm/Support/VersionTuple.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "dxil-prepare" |
Functions | |
| static Value * | maybeGenerateBitcast (IRBuilder<> &Builder, PointerTypeMap &PointerTypes, Instruction &Inst, Value *Operand, Type *Ty) |
| static bool | prepareModule (Module &M, function_ref< dxil::ModuleMetadataInfo &()> GetModuleMetadataInfo) |
| INITIALIZE_PASS_BEGIN (DXILPrepareModuleLegacy, DEBUG_TYPE, "DXIL Prepare Module", false, false) INITIALIZE_PASS_END(DXILPrepareModuleLegacy | |
Variables | |
| DEBUG_TYPE | |
| DXIL Prepare | Module |
| DXIL Prepare | false |
| #define DEBUG_TYPE "dxil-prepare" |
Definition at line 35 of file DXILPrepare.cpp.
| INITIALIZE_PASS_BEGIN | ( | DXILPrepareModuleLegacy | , |
| DEBUG_TYPE | , | ||
| "DXIL Prepare Module" | , | ||
| false | , | ||
| false | ) |
References DEBUG_TYPE, and INITIALIZE_PASS_DEPENDENCY.
|
static |
Definition at line 92 of file DXILPrepare.cpp.
References llvm::cast(), llvm::CastInst::Create(), llvm::dyn_cast(), llvm::DenseMapBase< StorageT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< StorageT, KeyT, ValueT, KeyInfoT, BucketT >::find(), and llvm::Value::getType().
Referenced by prepareModule().
|
static |
Definition at line 151 of file DXILPrepare.cpp.
References llvm::dyn_cast(), llvm::End, F, GEP, llvm::VersionTuple::getMajor(), llvm::VersionTuple::getMinor(), llvm::dxil::getNonDXILAttributeMask(), llvm::AtomicCmpXchgInst::getPointerOperandIndex(), llvm::AtomicRMWInst::getPointerOperandIndex(), I, llvm::make_early_inc_range(), maybeGenerateBitcast(), and llvm::dxil::PointerTypeAnalysis::run().
Referenced by llvm::DXILPrepareModulePass::run().
| DEBUG_TYPE |
Definition at line 263 of file DXILPrepare.cpp.
| DXIL Prepare false |
Definition at line 264 of file DXILPrepare.cpp.
| DXIL Prepare Module |
Definition at line 263 of file DXILPrepare.cpp.