From cfca06d7963fa0909f90483b42a6d7d194d01e08 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 26 Jul 2020 19:36:28 +0000 Subject: Vendor import of llvm-project master 2e10b7a39b9, the last commit before the llvmorg-12-init tag, from which release/11.x was branched. --- llvm/lib/Target/VE/TargetInfo/VETargetInfo.cpp | 3 +-- llvm/lib/Target/VE/TargetInfo/VETargetInfo.h | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 llvm/lib/Target/VE/TargetInfo/VETargetInfo.h (limited to 'llvm/lib/Target/VE/TargetInfo') diff --git a/llvm/lib/Target/VE/TargetInfo/VETargetInfo.cpp b/llvm/lib/Target/VE/TargetInfo/VETargetInfo.cpp index be68fe7d2429..65bd142fe0db 100644 --- a/llvm/lib/Target/VE/TargetInfo/VETargetInfo.cpp +++ b/llvm/lib/Target/VE/TargetInfo/VETargetInfo.cpp @@ -6,8 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "VE.h" -#include "llvm/IR/Module.h" +#include "TargetInfo/VETargetInfo.h" #include "llvm/Support/TargetRegistry.h" using namespace llvm; diff --git a/llvm/lib/Target/VE/TargetInfo/VETargetInfo.h b/llvm/lib/Target/VE/TargetInfo/VETargetInfo.h new file mode 100644 index 000000000000..7879e6f069a1 --- /dev/null +++ b/llvm/lib/Target/VE/TargetInfo/VETargetInfo.h @@ -0,0 +1,20 @@ +//===-- VETargetInfo.h - VE 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_VE_TARGETINFO_VETARGETINFO_H +#define LLVM_LIB_TARGET_VE_TARGETINFO_VETARGETINFO_H + +namespace llvm { + +class Target; + +Target &getTheVETarget(); + +} // namespace llvm + +#endif // LLVM_LIB_TARGET_VE_TARGETINFO_VETARGETINFO_H -- cgit v1.2.3