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

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

#include "llvm/Support/TargetRegistry.h"

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

Constructor & Destructor Documentation

◆ RegisterMCAsmBackend()

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

Definition at line 1104 of file TargetRegistry.h.

References Allocator, MRI, and llvm::TargetRegistry::RegisterMCAsmBackend().


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