15#ifndef LLVM_SUPPORT_TARGETSELECT_H
16#define LLVM_SUPPORT_TARGETSELECT_H
18#include "llvm/Config/llvm-config.h"
22#define LLVM_TARGET(TargetName) void LLVMInitialize##TargetName##TargetInfo();
23#include "llvm/Config/Targets.def"
25#define LLVM_TARGET(TargetName) void LLVMInitialize##TargetName##Target();
26#include "llvm/Config/Targets.def"
29#define LLVM_TARGET(TargetName) void LLVMInitialize##TargetName##TargetMC();
30#include "llvm/Config/Targets.def"
33#define LLVM_ASM_PRINTER(TargetName) void LLVMInitialize##TargetName##AsmPrinter();
34#include "llvm/Config/AsmPrinters.def"
37#define LLVM_ASM_PARSER(TargetName) void LLVMInitialize##TargetName##AsmParser();
38#include "llvm/Config/AsmParsers.def"
41#define LLVM_DISASSEMBLER(TargetName) \
42 void LLVMInitialize##TargetName##Disassembler();
43#include "llvm/Config/Disassemblers.def"
46#define LLVM_TARGETMCA(TargetName) void LLVMInitialize##TargetName##TargetMCA();
47#include "llvm/Config/TargetMCAs.def"
57#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
58#include "llvm/Config/Targets.def"
70#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##Target();
71#include "llvm/Config/Targets.def"
80#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
81#include "llvm/Config/Targets.def"
90#define LLVM_ASM_PRINTER(TargetName) LLVMInitialize##TargetName##AsmPrinter();
91#include "llvm/Config/AsmPrinters.def"
100#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
101#include "llvm/Config/AsmParsers.def"
110#define LLVM_DISASSEMBLER(TargetName) LLVMInitialize##TargetName##Disassembler();
111#include "llvm/Config/Disassemblers.def"
121#ifdef LLVM_NATIVE_TARGET
122 LLVM_NATIVE_TARGETINFO();
123 LLVM_NATIVE_TARGET();
124 LLVM_NATIVE_TARGETMC();
135#ifdef LLVM_NATIVE_ASMPRINTER
136 LLVM_NATIVE_ASMPRINTER();
147#ifdef LLVM_NATIVE_ASMPARSER
148 LLVM_NATIVE_ASMPARSER();
159#ifdef LLVM_NATIVE_DISASSEMBLER
160 LLVM_NATIVE_DISASSEMBLER();
171#define LLVM_TARGETMCA(TargetName) LLVMInitialize##TargetName##TargetMCA();
172#include "llvm/Config/TargetMCAs.def"
This is an optimization pass for GlobalISel generic memory operations.
void InitializeAllTargetMCs()
InitializeAllTargetMCs - The main program should call this function if it wants access to all availab...
void InitializeAllDisassemblers()
InitializeAllDisassemblers - The main program should call this function if it wants all disassemblers...
void InitializeAllTargetInfos()
InitializeAllTargetInfos - The main program should call this function if it wants access to all avail...
bool InitializeNativeTargetDisassembler()
InitializeNativeTargetDisassembler - The main program should call this function to initialize the nat...
bool InitializeNativeTarget()
InitializeNativeTarget - The main program should call this function to initialize the native target c...
void InitializeAllAsmParsers()
InitializeAllAsmParsers - The main program should call this function if it wants all asm parsers that...
bool InitializeNativeTargetAsmParser()
InitializeNativeTargetAsmParser - The main program should call this function to initialize the native...
void InitializeAllTargetMCAs()
InitializeAllTargetMCAs - The main program should call this function to initialize the target CustomB...
void InitializeAllTargets()
InitializeAllTargets - The main program should call this function if it wants access to all available...
bool InitializeNativeTargetAsmPrinter()
InitializeNativeTargetAsmPrinter - The main program should call this function to initialize the nativ...
void InitializeAllAsmPrinters()
InitializeAllAsmPrinters - The main program should call this function if it wants all asm printers th...