[llvm-commits] CVS: llvm/lib/Target/TargetMachineRegistry.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Jul 10 21:45:09 PDT 2004


Changes in directory llvm/lib/Target:

TargetMachineRegistry.cpp added (r1.1)

---
Log message:

Initial impl of this file.  Yes this is pretty useless right now, but it
will grow in time.


---
Diffs of the changes:  (+21 -0)

Index: llvm/lib/Target/TargetMachineRegistry.cpp
diff -c /dev/null llvm/lib/Target/TargetMachineRegistry.cpp:1.1
*** /dev/null	Sat Jul 10 21:44:36 2004
--- llvm/lib/Target/TargetMachineRegistry.cpp	Sat Jul 10 21:44:26 2004
***************
*** 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;
+ 





More information about the llvm-commits mailing list