LLVM: lib/Transforms/Utils/DXILUpgrade.cpp File Reference (original) (raw)
DXILUpgrade.cpp File Reference
#include "[llvm/Transforms/Utils/DXILUpgrade.h](DXILUpgrade%5F8h%5Fsource.html)"#include "[llvm/IR/Constants.h](Constants%5F8h%5Fsource.html)"#include "[llvm/IR/Metadata.h](Metadata%5F8h%5Fsource.html)"#include "[llvm/IR/Module.h](IR%5F2Module%5F8h%5Fsource.html)"#include "[llvm/Support/Debug.h](Support%5F2Debug%5F8h%5Fsource.html)"
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "dxil-upgrade" |
| Functions | |
|---|---|
| static bool | handleValVerMetadata (Module &M) |
Macro Definition Documentation
◆ DEBUG_TYPE
#define DEBUG_TYPE "dxil-upgrade"
Definition at line 17 of file DXILUpgrade.cpp.
Function Documentation
◆ handleValVerMetadata()
| bool handleValVerMetadata ( Module & M) | static |
|---|
Definition at line 19 of file DXILUpgrade.cpp.
References llvm::dbgs(), llvm::NamedMDNode::dropAllReferences(), llvm::NamedMDNode::eraseFromParent(), llvm::mdconst::extract(), llvm::NamedMDNode::getOperand(), LLVM_DEBUG, N, X, and Y.
Referenced by llvm::DXILUpgradePass::run().