LLVM API Documentation
#include <TargetRegistry.h>
Public Member Functions | |
RegisterTargetMachine (Target &T) |
RegisterTargetMachine - Helper template for registering a target machine implementation, for use in the target machine initialization function. Usage:
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterTargetMachine<FooTargetMachine> X(TheFooTarget); }
Definition at line 1058 of file TargetRegistry.h.
llvm::RegisterTargetMachine< TargetMachineImpl >::RegisterTargetMachine | ( | Target & | T | ) | [inline] |
Definition at line 1059 of file TargetRegistry.h.