Files
clang-p2996/llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.cpp
Daniil Fukalov 48958d02d2 [NFC][AMDGPU] Reduce includes dependencies.
1. Splitted out some parts of R600 target to separate modules/headers.
2. Reduced some include lists in headers.
3. Found and fixed issue with override `GCNTargetMachine::getSubtargetImpl()`
   and `R600TargetMachine::getSubtargetImpl()` had different return value type
   than base class.
4. Minor forward declarations cleanup.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D108596
2021-08-25 12:01:55 +03:00

27 lines
805 B
C++

//===-- R600MCTargetDesc.cpp - R600 Target Descriptions -------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
/// \file
/// \brief This file provides R600 specific target descriptions.
//
//===----------------------------------------------------------------------===//
#include "R600MCTargetDesc.h"
#include "llvm/MC/MCInstrInfo.h"
using namespace llvm;
#define GET_INSTRINFO_MC_DESC
#include "R600GenInstrInfo.inc"
MCInstrInfo *llvm::createR600MCInstrInfo() {
MCInstrInfo *X = new MCInstrInfo();
InitR600MCInstrInfo(X);
return X;
}