LLVM 20.0.0git
GCNVOPDUtils.h
Go to the documentation of this file.
1//===- GCNVOPDUtils.h - GCN VOPD Utils ------------------------===//
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/// \file This file contains the AMDGPU DAG scheduling
10/// mutation to pair VOPD instructions back to back. It also contains
11// subroutines useful in the creation of VOPD instructions
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_LIB_TARGET_AMDGPU_VOPDUTILS_H
16#define LLVM_LIB_TARGET_AMDGPU_VOPDUTILS_H
17
19
20namespace llvm {
21
22class SIInstrInfo;
23
24bool checkVOPDRegConstraints(const SIInstrInfo &TII,
25 const MachineInstr &FirstMI,
26 const MachineInstr &SecondMI);
27
28std::unique_ptr<ScheduleDAGMutation> createVOPDPairingMutation();
29
30} // namespace llvm
31
32#endif // LLVM_LIB_TARGET_AMDGPU_VOPDUTILS_H
const HexagonInstrInfo * TII
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
std::unique_ptr< ScheduleDAGMutation > createVOPDPairingMutation()
bool checkVOPDRegConstraints(const SIInstrInfo &TII, const MachineInstr &FirstMI, const MachineInstr &SecondMI)