LLVM API Documentation

Public Member Functions
llvm::RegisterMCAsmBackend< MCAsmBackendImpl > Struct Template Reference

#include <TargetRegistry.h>

List of all members.

Public Member Functions

 RegisterMCAsmBackend (Target &T)

Detailed Description

template<class MCAsmBackendImpl>
struct llvm::RegisterMCAsmBackend< MCAsmBackendImpl >

RegisterMCAsmBackend - Helper template for registering a target specific assembler backend. Usage:

extern "C" void LLVMInitializeFooMCAsmBackend() { extern Target TheFooTarget; RegisterMCAsmBackend<FooAsmLexer> X(TheFooTarget); }

Definition at line 1082 of file TargetRegistry.h.


Constructor & Destructor Documentation

template<class MCAsmBackendImpl >
llvm::RegisterMCAsmBackend< MCAsmBackendImpl >::RegisterMCAsmBackend ( Target T) [inline]

Definition at line 1083 of file TargetRegistry.h.


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