LLVM 19.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 1243 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCInstrInfo()

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

Definition at line 1244 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterMCInstrInfo().


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