LLVM
8.0.1
|
RegisterTargetMachine - Helper template for registering a target machine implementation, for use in the target machine initialization function. More...
#include "llvm/Support/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 1102 of file TargetRegistry.h.
|
inline |
Definition at line 1103 of file TargetRegistry.h.
References Allocator, llvm::EngineKind::JIT, llvm::TargetRegistry::RegisterTargetMachine(), llvm::NVPTX::PTXCvtMode::RM, and llvm::Target::Target().