LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::RegisterMCCodeEmitter< MCCodeEmitterImpl > Struct Template Reference

RegisterMCCodeEmitter - Helper template for registering a target specific machine code emitter, for use in the target initialization function. More...

#include "llvm/Support/TargetRegistry.h"

Public Member Functions

 RegisterMCCodeEmitter (Target &T)
 

Detailed Description

template<class MCCodeEmitterImpl>
struct llvm::RegisterMCCodeEmitter< MCCodeEmitterImpl >

RegisterMCCodeEmitter - Helper template for registering a target specific machine code emitter, for use in the target initialization function.

Usage:

extern "C" void LLVMInitializeFooMCCodeEmitter() { extern Target TheFooTarget; RegisterMCCodeEmitter<FooCodeEmitter> X(TheFooTarget); }

Definition at line 1165 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCCodeEmitter()

template<class MCCodeEmitterImpl >
llvm::RegisterMCCodeEmitter< MCCodeEmitterImpl >::RegisterMCCodeEmitter ( Target T)
inline

Definition at line 1166 of file TargetRegistry.h.

References Allocator, and llvm::TargetRegistry::RegisterMCCodeEmitter().


The documentation for this struct was generated from the following file: