30 lines · c
1//===- DXILPostOptimizationValidation.h - Opt DXIL Validations -*- C++ -*--===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// \file Pass for validating IR after optimizations are applied and before10// lowering to DXIL.11//12//===----------------------------------------------------------------------===//13 14#ifndef LLVM_LIB_TARGET_DIRECTX_DXILPOSTOPTIMIZATIONVALIDATION_H15#define LLVM_LIB_TARGET_DIRECTX_DXILPOSTOPTIMIZATIONVALIDATION_H16 17#include "llvm/IR/PassManager.h"18 19namespace llvm {20 21class DXILPostOptimizationValidation22 : public PassInfoMixin<DXILPostOptimizationValidation> {23public:24 PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);25};26 27} // namespace llvm28 29#endif // LLVM_LIB_TARGET_DIRECTX_DXILPOSTOPTIMIZATIONVALIDATION_H30