| 1 | //===- SISpillUtils.h - SI spill helper functions ---------------*- 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_SISPILLUTILS_H |
| 10 | #define LLVM_LIB_TARGET_AMDGPU_SISPILLUTILS_H |
| 11 | |
| 12 | namespace llvm { |
| 13 | |
| 14 | class BitVector; |
| 15 | class MachineBasicBlock; |
| 16 | class MachineFrameInfo; |
| 17 | |
| 18 | /// Replace frame index operands with null registers in debug value instructions |
| 19 | /// for the specified spill frame indices. |
| 20 | void clearDebugInfoForSpillFIs(MachineFrameInfo &MFI, MachineBasicBlock &MBB, |
| 21 | const BitVector &SpillFIs); |
| 22 | |
| 23 | } // end namespace llvm |
| 24 | |
| 25 | #endif // LLVM_LIB_TARGET_AMDGPU_SISPILLUTILS_H |
| 26 | |