1 //===-- AllTargets.cpp ----------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements functions for initialization of different
11 // aspects of all configured targets. When calling any of these
12 // functions all configured targets must be linked in.
14 //===----------------------------------------------------------------------===//
16 #include "llvm-c/Target.h"
17 #include "llvm/Support/TargetSelect.h"
21 void LLVMInitializeAllTargetInfos(void) {
22 InitializeAllTargetInfos();
25 void LLVMInitializeAllTargets(void) {
26 InitializeAllTargets();
29 void LLVMInitializeAllTargetMCs(void) {
30 InitializeAllTargetMCs();
33 void LLVMInitializeAllAsmPrinters(void) {
34 InitializeAllAsmPrinters();
37 void LLVMInitializeAllAsmParsers(void) {
38 InitializeAllAsmParsers();
41 void LLVMInitializeAllDisassemblers(void) {
42 InitializeAllDisassemblers();