Richard Trieu 51fc56d603 [RISCV] Create a TargetInfo header. NFC
Move the declarations of getThe<Name>Target() functions into a new header in
TargetInfo and make users of these functions include this new header.
This fixes a layering problem.

llvm-svn: 360732
2019-05-15 00:24:15 +00:00

22 lines
667 B
C++

//===-- RISCVTargetInfo.h - RISCV Target Implementation ---------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TARGET_RISCV_TARGETINFO_RISCVTARGETINFO_H
#define LLVM_LIB_TARGET_RISCV_TARGETINFO_RISCVTARGETINFO_H
namespace llvm {
class Target;
Target &getTheRISCV32Target();
Target &getTheRISCV64Target();
} // namespace llvm
#endif // LLVM_LIB_TARGET_RISCV_TARGETINFO_RISCVTARGETINFO_H