LLVM API Documentation
#include <TargetRegistry.h>
Public Member Functions | |
| RegisterTarget (Target &T, const char *Name, const char *Desc) | |
Static Public Member Functions | |
| static unsigned | getTripleMatchQuality (const std::string &TT) |
Target TheFooTarget; // The global target instance.
extern "C" void LLVMInitializeFooTargetInfo() { RegisterTarget<Triple::foo> X(TheFooTarget, "foo", "Foo description"); }
Definition at line 323 of file TargetRegistry.h.
| llvm::RegisterTarget< TargetArchType, HasJIT >::RegisterTarget | ( | Target & | T, | |
| const char * | Name, | |||
| const char * | Desc | |||
| ) | [inline] |
Definition at line 324 of file TargetRegistry.h.
References llvm::RegisterTarget< TargetArchType, HasJIT >::getTripleMatchQuality(), and llvm::TargetRegistry::RegisterTarget().
| static unsigned llvm::RegisterTarget< TargetArchType, HasJIT >::getTripleMatchQuality | ( | const std::string & | TT | ) | [inline, static] |
Definition at line 330 of file TargetRegistry.h.
Referenced by llvm::RegisterTarget< TargetArchType, HasJIT >::RegisterTarget().