1480093f4SDimitry Andric //===-- VETargetInfo.cpp - VE Target Implementation -----------------------===// 2480093f4SDimitry Andric // 3480093f4SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4480093f4SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5480093f4SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6480093f4SDimitry Andric // 7480093f4SDimitry Andric //===----------------------------------------------------------------------===// 8480093f4SDimitry Andric 95ffd83dbSDimitry Andric #include "TargetInfo/VETargetInfo.h" 10*349cc55cSDimitry Andric #include "llvm/MC/TargetRegistry.h" 11480093f4SDimitry Andric 12480093f4SDimitry Andric using namespace llvm; 13480093f4SDimitry Andric getTheVETarget()14480093f4SDimitry AndricTarget &llvm::getTheVETarget() { 15480093f4SDimitry Andric static Target TheVETarget; 16480093f4SDimitry Andric return TheVETarget; 17480093f4SDimitry Andric } 18480093f4SDimitry Andric LLVMInitializeVETargetInfo()19e8d8bef9SDimitry Andricextern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeVETargetInfo() { 20480093f4SDimitry Andric RegisterTarget<Triple::ve, /*HasJIT=*/false> X(getTheVETarget(), "ve", 21480093f4SDimitry Andric "VE", "VE"); 22480093f4SDimitry Andric } 23