diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-11 02:44:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-11 02:44:26 +0000 |
commit | bf5733737fb8afbc0389fd2507c53a3c85b72ebd (patch) | |
tree | 57a4f34730ca3cfd6fe05f1d2c6ad5bf8d5e8092 /lib/Target/TargetMachineRegistry.cpp | |
parent | 9f27ede92d42fde91cd118ab3a2146b59801a06a (diff) |
Initial impl of this file. Yes this is pretty useless right now, but it
will grow in time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachineRegistry.cpp')
-rw-r--r-- | lib/Target/TargetMachineRegistry.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Target/TargetMachineRegistry.cpp b/lib/Target/TargetMachineRegistry.cpp new file mode 100644 index 0000000000..f5286efaab --- /dev/null +++ b/lib/Target/TargetMachineRegistry.cpp @@ -0,0 +1,21 @@ +//===-- TargetMachineRegistry.cpp - Target Auto Registration Impl ---------===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by the LLVM research group and is distributed under +// the University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file exposes the RegisterTarget class, which TargetMachine +// implementations should use to register themselves with the system. This file +// also exposes the TargetMachineRegistry class, which allows tools to inspect +// all of registered targets. +// +//===----------------------------------------------------------------------===// + +#include "llvm/Target/TargetMachineRegistry.h" +using namespace llvm; + +const TargetMachineRegistry::Entry *TargetMachineRegistry::List = 0; + |