//===- DXILUpgrade.cpp - Upgrade DXIL metadata to LLVM constructs ---------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/Transforms/Utils/DXILUpgrade.h" #include "llvm/IR/Constants.h" #include "llvm/IR/Metadata.h" #include "llvm/IR/Module.h" #include "llvm/Support/Debug.h" usingnamespacellvm; #define DEBUG_TYPE … static bool handleValVerMetadata(Module &M) { … } PreservedAnalyses DXILUpgradePass::run(Module &M, ModuleAnalysisManager &AM) { … }