LLVM 20.0.0git
Public Member Functions | List of all members
llvm::RegisterMCInstrInfo< MCInstrInfoImpl > Struct Template Reference

RegisterMCInstrInfo - Helper template for registering a target instruction info implementation. More...

#include "llvm/MC/TargetRegistry.h"

Public Member Functions

 RegisterMCInstrInfo (Target &T)
 

Detailed Description

template<class MCInstrInfoImpl>
struct llvm::RegisterMCInstrInfo< MCInstrInfoImpl >

RegisterMCInstrInfo - Helper template for registering a target instruction info implementation.

This invokes the static "Create" method on the class to actually do the construction. Usage:

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrInfo<FooMCInstrInfo> X(TheFooTarget); }

Definition at line 1117 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCInstrInfo()

template<class MCInstrInfoImpl >
llvm::RegisterMCInstrInfo< MCInstrInfoImpl >::RegisterMCInstrInfo ( Target T)
inline

Definition at line 1118 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterMCInstrInfo().


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