diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-15 04:24:58 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-15 04:24:58 +0000 |
commit | 078a71e4a92970a66b96959d35b6479032e220cc (patch) | |
tree | 9472256d7ffcae386bf46e4307e9393502d24b5c /llvm/lib/Support/SmallPtrSet.cpp | |
parent | 57fa7e3cc8d84ca20fa569208207e90e3bfc6b6a (diff) | |
download | bcm5719-llvm-078a71e4a92970a66b96959d35b6479032e220cc.tar.gz bcm5719-llvm-078a71e4a92970a66b96959d35b6479032e220cc.zip |
Add new TargetRegistry.
Targets implement a single global Target structure which will live in a new
<Target>/TargetInfo library; this will be present in any image which the target
is usable in.
- Optional target specific classes can then be registered and attached to the
Target description.
- Registration for normal Targets will be done via the initialization functions
instead of using static constructors.
- This allows clients to use a single interface to obtain target data, without
requiring the code generator be linked in. It also provides a natural
extension point for adding new optional target data (assembler parser,
disassembler, etc.).
- This also provides a new entry point for obtaining a target for a particular
triple (without a module).
- Not yet used, however this should eventually replace the TargetMachineRegistry.
llvm-svn: 75739
Diffstat (limited to 'llvm/lib/Support/SmallPtrSet.cpp')
0 files changed, 0 insertions, 0 deletions