llvm-project/llvm/lib/Target/AMDGPU/SIFixVGPRCopies.h
Akshat Oke 9b6e8df896
[AMDGPU][NewPM] Port SIFixVGPRCopies to NPM (#123592)
Extends NPM pipeline support till PostRegAlloc passes (greedy is in the
works)
2025-01-21 15:27:46 +05:30

23 lines
795 B
C++

//===- SIFixVGPRCopies.h ----------------------------------------*- C++- *-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TARGET_AMDGPU_SIFIXVGPRCOPIES_H
#define LLVM_LIB_TARGET_AMDGPU_SIFIXVGPRCOPIES_H
#include "llvm/CodeGen/MachinePassManager.h"
namespace llvm {
class SIFixVGPRCopiesPass : public PassInfoMixin<SIFixVGPRCopiesPass> {
public:
PreservedAnalyses run(MachineFunction &MF,
MachineFunctionAnalysisManager &MFAM);
};
} // namespace llvm
#endif // LLVM_LIB_TARGET_AMDGPU_SIFIXVGPRCOPIES_H