LLVM API Documentation

Public Member Functions
llvm::RegisterMCCodeEmitter< MCCodeEmitterImpl > Struct Template Reference

#include <TargetRegistry.h>

List of all members.

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 1146 of file TargetRegistry.h.


Constructor & Destructor Documentation

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

Definition at line 1147 of file TargetRegistry.h.


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