LLVM 19.0.0git
DirectXTargetInfo.cpp
Go to the documentation of this file.
1//===- DirectXTargetInfo.cpp - DirectX Target Implementation ----*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8///
9/// \file
10/// This file contains DirectX target initializer.
11///
12//===----------------------------------------------------------------------===//
13
17
18namespace llvm {
20 static Target TheDirectXTarget;
21 return TheDirectXTarget;
22}
23} // namespace llvm
24
25using namespace llvm;
26
28 RegisterTarget<Triple::dxil, /*HasJIT=*/false> X(
29 getTheDirectXTarget(), "dxil", "DirectX Intermediate Language", "DXIL");
30}
#define LLVM_EXTERNAL_VISIBILITY
Definition: Compiler.h:135
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeDirectXTargetInfo()
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
Target - Wrapper for Target specific information.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
Target & getTheDirectXTarget()
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...