LLVM  14.0.0git
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/MC/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 1296 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCAsmBackend()

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

Definition at line 1297 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterMCAsmBackend(), and T.


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