LLVM 20.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 1269 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCAsmBackend()

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

Definition at line 1270 of file TargetRegistry.h.

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


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