Path: blob/main/contrib/llvm-project/llvm/lib/Target/DirectX/DXILIntrinsicExpansion.h
35269 views
//===- DXILIntrinsicExpansion.h - Prepare LLVM Module for DXIL encoding----===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7#ifndef LLVM_TARGET_DIRECTX_DXILINTRINSICEXPANSION_H8#define LLVM_TARGET_DIRECTX_DXILINTRINSICEXPANSION_H910#include "DXILResource.h"11#include "llvm/IR/PassManager.h"12#include "llvm/Pass.h"1314namespace llvm {1516/// A pass that transforms DXIL Intrinsics that don't have DXIL opCodes17class DXILIntrinsicExpansion : public PassInfoMixin<DXILIntrinsicExpansion> {18public:19PreservedAnalyses run(Module &M, ModuleAnalysisManager &);20};2122class DXILIntrinsicExpansionLegacy : public ModulePass {2324public:25bool runOnModule(Module &M) override;26DXILIntrinsicExpansionLegacy() : ModulePass(ID) {}2728static char ID; // Pass identification.29};30} // namespace llvm3132#endif // LLVM_TARGET_DIRECTX_DXILINTRINSICEXPANSION_H333435