forked from OSchip/llvm-project
remove two headers subsumed by TargetSelect.h
llvm-svn: 73612
This commit is contained in:
parent
5dcc4f6999
commit
f44da17824
|
@ -1,34 +0,0 @@
|
|||
//===- llvm/InitializeAllAsmPrinters.h - Init Asm Printers ------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This header initializes all assembler printers for all configured
|
||||
// LLVM targets, ensuring that they are registered.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLVM_INITIALIZE_ALL_ASM_PRINTERS_H
|
||||
#define LLVM_INITIALIZE_ALL_ASM_PRINTERS_H
|
||||
|
||||
namespace llvm {
|
||||
|
||||
// Declare all of the target-initialization functions.
|
||||
#define LLVM_ASM_PRINTER(TargetName) void Initialize##TargetName##AsmPrinter();
|
||||
#include "llvm/Config/AsmPrinters.def"
|
||||
|
||||
namespace {
|
||||
struct InitializeAllAsmPrinters {
|
||||
InitializeAllAsmPrinters() {
|
||||
// Call all of the target-initialization functions.
|
||||
#define LLVM_ASM_PRINTER(TargetName) llvm::Initialize##TargetName##AsmPrinter();
|
||||
#include "llvm/Config/AsmPrinters.def"
|
||||
}
|
||||
} DoInitializeAllAsmPrinters;
|
||||
}
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_INITIALIZE_ALL_ASM_PRINTERS_H
|
|
@ -1,34 +0,0 @@
|
|||
//===- llvm/InitializeAllTargets.h - Initialize All Targets -----*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This header initializes all configured LLVM targets, ensuring that they
|
||||
// are registered.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLVM_INITIALIZE_ALL_TARGETS_H
|
||||
#define LLVM_INITIALIZE_ALL_TARGETS_H
|
||||
|
||||
namespace llvm {
|
||||
|
||||
// Declare all of the target-initialization functions.
|
||||
#define LLVM_TARGET(TargetName) void Initialize##TargetName##Target();
|
||||
#include "llvm/Config/Targets.def"
|
||||
|
||||
namespace {
|
||||
struct InitializeAllTargets {
|
||||
InitializeAllTargets() {
|
||||
// Call all of the target-initialization functions.
|
||||
#define LLVM_TARGET(TargetName) llvm::Initialize##TargetName##Target();
|
||||
#include "llvm/Config/Targets.def"
|
||||
}
|
||||
} DoInitializeAllTargets;
|
||||
}
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_INITIALIZE_ALL_TARGETS_H
|
Loading…
Reference in New Issue