LLVM 23.0.0git
SILowerSGPRSpills.h
Go to the documentation of this file.
1//===- SILowerSGPRSpills.h --------------------------------------*- 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-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIB_TARGET_AMDGPU_SILOWERSGPRSPILLS_H
10#define LLVM_LIB_TARGET_AMDGPU_SILOWERSGPRSPILLS_H
11
13
14namespace llvm {
16 : public OptionalPassInfoMixin<SILowerSGPRSpillsPass> {
17public:
20
22 // SILowerSGPRSpills introduces new Virtual VGPRs for spilling SGPRs.
23 return MachineFunctionProperties().setIsSSA().setNoVRegs();
24 }
25};
26} // namespace llvm
27
28#endif // LLVM_LIB_TARGET_AMDGPU_SILOWERSGPRSPILLS_H
Properties which a MachineFunction may have at a given point in time.
A set of analyses that are preserved following a run of a transformation pass.
Definition Analysis.h:112
MachineFunctionProperties getClearedProperties() const
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
This is an optimization pass for GlobalISel generic memory operations.
AnalysisManager< MachineFunction > MachineFunctionAnalysisManager
A CRTP mix-in for passes that can be skipped.