1*06c3fb27SDimitry Andric //===- AMDGPURegBankSelect.h -------------------------------------*- C++ -*-==// 2*06c3fb27SDimitry Andric // 3*06c3fb27SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*06c3fb27SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*06c3fb27SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*06c3fb27SDimitry Andric // 7*06c3fb27SDimitry Andric //===----------------------------------------------------------------------===// 8*06c3fb27SDimitry Andric 9*06c3fb27SDimitry Andric #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUREGBANKSELECT_H 10*06c3fb27SDimitry Andric #define LLVM_LIB_TARGET_AMDGPU_AMDGPUREGBANKSELECT_H 11*06c3fb27SDimitry Andric 12*06c3fb27SDimitry Andric #include "llvm/CodeGen/GlobalISel/RegBankSelect.h" 13*06c3fb27SDimitry Andric 14*06c3fb27SDimitry Andric namespace llvm { 15*06c3fb27SDimitry Andric 16*06c3fb27SDimitry Andric class AMDGPURegBankSelect final : public RegBankSelect { 17*06c3fb27SDimitry Andric public: 18*06c3fb27SDimitry Andric static char ID; 19*06c3fb27SDimitry Andric 20*06c3fb27SDimitry Andric AMDGPURegBankSelect(Mode RunningMode = Fast); 21*06c3fb27SDimitry Andric 22*06c3fb27SDimitry Andric StringRef getPassName() const override; 23*06c3fb27SDimitry Andric 24*06c3fb27SDimitry Andric void getAnalysisUsage(AnalysisUsage &AU) const override; 25*06c3fb27SDimitry Andric bool runOnMachineFunction(MachineFunction &MF) override; 26*06c3fb27SDimitry Andric }; 27*06c3fb27SDimitry Andric 28*06c3fb27SDimitry Andric } // namespace llvm 29*06c3fb27SDimitry Andric #endif 30