|
LLVM 23.0.0git
|
TargetRegistry - Generic interface to target specific features. More...
#include "llvm/MC/TargetRegistry.h"
Classes | |
| class | iterator |
Public Member Functions | |
| TargetRegistry ()=delete | |
TargetRegistry - Generic interface to target specific features.
Definition at line 671 of file TargetRegistry.h.
|
delete |
|
static |
lookupTarget - Lookup a target based on a target triple.
| Triple | - The triple to use for finding a target. |
| Error | - On failure, an error string describing why no target was found. |
Definition at line 154 of file TargetRegistry.cpp.
References llvm::find_if(), I, T, and targets().
|
static |
lookupTarget - Lookup a target based on an architecture name and a target triple.
If the architecture name is non-empty, then the lookup is done by architecture. Otherwise, the target triple is used.
| ArchName | - The architecture to use for finding a target. |
| TheTriple | - The triple to use for finding a target. The triple is updated with canonical architecture name if a lookup by architecture is done. |
| Error | - On failure, an error string describing why no target was found. |
Definition at line 117 of file TargetRegistry.cpp.
References llvm::StringRef::empty(), llvm::find_if(), llvm::Triple::getArchTypeForLLVMName(), llvm::Triple::getTriple(), I, lookupTarget(), llvm::Triple::setArch(), T, targets(), and llvm::Triple::UnknownArch.
|
inlinestatic |
lookupTarget - Lookup a target based on a target triple.
| TripleStr | - The triple to use for finding a target. |
| Error | - On failure, an error string describing why no target was found. |
Definition at line 733 of file TargetRegistry.h.
References lookupTarget().
Referenced by llvm::ThinLTOCodeGeneratorImpl::TargetMachineBuilder::create(), createTargetMachine(), llvm::orc::JITTargetMachineBuilder::createTargetMachine(), llvm::codegen::createTargetMachineForTriple(), llvm::object::ELFObjectFileBase::getPltEntries(), llvm::dwarf_linker::classic::DwarfStreamer::init(), llvm::dwarf_linker::parallel::DwarfEmitterImpl::init(), initAndLookupTarget(), llvm::initializeLFIMCStreamer(), initializeRecordStreamer(), LLVMCreateDisasmCPUFeatures(), LLVMGetTargetFromTriple(), llvm::logicalview::LVBinaryReader::loadGenericTargetInfo(), lookupTarget(), lookupTarget(), llvm::EngineBuilder::selectTarget(), llvm::SPIRVTranslate(), and llvm::BitcodeWriter::writeSymtab().
|
static |
printRegisteredTargetsForVersion - Print the registered targets appropriately for inclusion in a tool's version output.
Definition at line 210 of file TargetRegistry.cpp.
References llvm::array_pod_sort(), llvm::Target::getShortDescription(), llvm::raw_ostream::indent(), T, TargetArraySortFn(), and targets().
|
inlinestatic |
RegisterAsmPrinter - Register an AsmPrinter implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an AsmPrinter for the target. |
Definition at line 908 of file TargetRegistry.h.
References T.
Referenced by INITIALIZE_PASS(), LLVMInitializeAMDGPUAsmPrinter(), and llvm::RegisterAsmPrinter< AsmPrinterImpl >::RegisterAsmPrinter().
|
inlinestatic |
Definition at line 973 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeSystemZTargetMC().
|
inlinestatic |
Definition at line 977 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARCTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeAVRTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializeNVPTXTargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSparcTargetMC(), LLVMInitializeSPIRVTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeVETargetMC(), LLVMInitializeWebAssemblyTargetMC(), LLVMInitializeX86TargetMC(), LLVMInitializeXCoreTargetMC(), and LLVMInitializeXtensaTargetMC().
|
inlinestatic |
Definition at line 952 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeMipsTargetMC(), and LLVMInitializeX86TargetMC().
|
inlinestatic |
RegisterCustomBehaviour - Register a CustomBehaviour implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct a CustomBehaviour for the target. |
Definition at line 1024 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAMDGPUTargetMCA().
|
inlinestatic |
Definition at line 960 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeAVRTargetMC(), LLVMInitializeBPFTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLanaiTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), and LLVMInitializeX86TargetMC().
|
inlinestatic |
RegisterInstrPostProcess - Register an InstrPostProcess implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an InstrPostProcess for the target. |
Definition at line 1038 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAMDGPUTargetMCA(), and LLVMInitializeX86TargetMCA().
|
inlinestatic |
RegisterInstrumentManager - Register an InstrumentManager implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an InstrumentManager for the target. |
Definition at line 1053 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeRISCVTargetMCA().
|
inlinestatic |
Definition at line 956 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeARMTargetMC(), and LLVMInitializeRISCVTargetMC().
|
inlinestatic |
RegisterMCAsmBackend - Register a MCAsmBackend implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an AsmBackend for the target. |
Definition at line 882 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeAVRTargetMC(), LLVMInitializeBPFTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeDirectXTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLanaiTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeM68kTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializeMSP430TargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSparcTargetMC(), LLVMInitializeSPIRVTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeVETargetMC(), LLVMInitializeWebAssemblyTargetMC(), LLVMInitializeX86TargetMC(), LLVMInitializeXtensaTargetMC(), and llvm::RegisterMCAsmBackend< MCAsmBackendImpl >::RegisterMCAsmBackend().
|
inlinestatic |
RegisterMCAsmInfo - Register a MCAsmInfo implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct a MCAsmInfo for the target. |
Definition at line 796 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeCSKYTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeMSP430TargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeXtensaTargetMC(), llvm::RegisterMCAsmInfo< MCAsmInfoImpl >::RegisterMCAsmInfo(), and llvm::RegisterMCAsmInfoFn::RegisterMCAsmInfoFn().
|
inlinestatic |
RegisterMCAsmParser - Register a MCTargetAsmParser implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an MCTargetAsmParser for the target. |
Definition at line 895 of file TargetRegistry.h.
References T.
Referenced by llvm::RegisterMCAsmParser< MCAsmParserImpl >::RegisterMCAsmParser().
|
inlinestatic |
RegisterMCCodeEmitter - Register a MCCodeEmitter implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an MCCodeEmitter for the target. |
Definition at line 948 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeAVRTargetMC(), LLVMInitializeBPFTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeDirectXTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLanaiTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeM68kTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializeMSP430TargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSparcTargetMC(), LLVMInitializeSPIRVTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeVETargetMC(), LLVMInitializeWebAssemblyTargetMC(), LLVMInitializeX86TargetMC(), LLVMInitializeXtensaTargetMC(), and llvm::RegisterMCCodeEmitter< MCCodeEmitterImpl >::RegisterMCCodeEmitter().
|
inlinestatic |
RegisterMCDisassembler - Register a MCDisassembler implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an MCDisassembler for the target. |
Definition at line 921 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64Disassembler(), LLVMInitializeAMDGPUDisassembler(), LLVMInitializeARCDisassembler(), LLVMInitializeARMDisassembler(), LLVMInitializeAVRDisassembler(), LLVMInitializeBPFDisassembler(), LLVMInitializeCSKYDisassembler(), LLVMInitializeHexagonDisassembler(), LLVMInitializeLanaiDisassembler(), LLVMInitializeLoongArchDisassembler(), LLVMInitializeM68kDisassembler(), LLVMInitializeMipsDisassembler(), LLVMInitializeMSP430Disassembler(), LLVMInitializePowerPCDisassembler(), LLVMInitializeRISCVDisassembler(), LLVMInitializeSparcDisassembler(), LLVMInitializeSystemZDisassembler(), LLVMInitializeVEDisassembler(), LLVMInitializeWebAssemblyDisassembler(), LLVMInitializeX86Disassembler(), LLVMInitializeXCoreDisassembler(), and LLVMInitializeXtensaDisassembler().
|
inlinestatic |
RegisterMCInstPrinter - Register a MCInstPrinter implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an MCInstPrinter for the target. |
Definition at line 935 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARCTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeAVRTargetMC(), LLVMInitializeBPFTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeDirectXTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLanaiTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeM68kTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializeMSP430TargetMC(), LLVMInitializeNVPTXTargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSparcTargetMC(), LLVMInitializeSPIRVTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeVETargetMC(), LLVMInitializeWebAssemblyTargetMC(), LLVMInitializeX86TargetMC(), LLVMInitializeXCoreTargetMC(), and LLVMInitializeXtensaTargetMC().
|
inlinestatic |
RegisterMCInstrAnalysis - Register a MCInstrAnalysis implementation for the given target.
Definition at line 828 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeBPFTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLanaiTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSPIRVTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeX86TargetMC(), llvm::RegisterMCInstrAnalysis< MCInstrAnalysisImpl >::RegisterMCInstrAnalysis(), and llvm::RegisterMCInstrAnalysisFn::RegisterMCInstrAnalysisFn().
|
inlinestatic |
RegisterMCInstrInfo - Register a MCInstrInfo implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct a MCInstrInfo for the target. |
Definition at line 822 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARCTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeAVRTargetMC(), LLVMInitializeBPFTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeDirectXTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLanaiTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeM68kTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializeMSP430TargetMC(), LLVMInitializeNVPTXTargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSparcTargetMC(), LLVMInitializeSPIRVTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeVETargetMC(), LLVMInitializeWebAssemblyTargetMC(), LLVMInitializeX86TargetMC(), LLVMInitializeXCoreTargetMC(), LLVMInitializeXtensaTargetMC(), llvm::RegisterMCInstrInfo< MCInstrInfoImpl >::RegisterMCInstrInfo(), and llvm::RegisterMCInstrInfoFn::RegisterMCInstrInfoFn().
|
inlinestatic |
Definition at line 1058 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC().
|
inlinestatic |
Register a MCObjectFileInfo implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct a MCObjectFileInfo for the target. |
Definition at line 808 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeRISCVTargetMC(), llvm::RegisterMCObjectFileInfo< MCObjectFileInfoImpl >::RegisterMCObjectFileInfo(), and llvm::RegisterMCObjectFileInfoFn::RegisterMCObjectFileInfoFn().
|
inlinestatic |
RegisterMCRegInfo - Register a MCRegisterInfo implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct a MCRegisterInfo for the target. |
Definition at line 842 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARCTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeAVRTargetMC(), LLVMInitializeBPFTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeDirectXTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLanaiTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeM68kTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializeMSP430TargetMC(), LLVMInitializeNVPTXTargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSparcTargetMC(), LLVMInitializeSPIRVTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeVETargetMC(), LLVMInitializeWebAssemblyTargetMC(), LLVMInitializeX86TargetMC(), LLVMInitializeXCoreTargetMC(), LLVMInitializeXtensaTargetMC(), llvm::RegisterMCRegInfo< MCRegisterInfoImpl >::RegisterMCRegInfo(), and llvm::RegisterMCRegInfoFn::RegisterMCRegInfoFn().
|
inlinestatic |
RegisterMCRelocationInfo - Register an MCRelocationInfo implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an MCRelocationInfo for the target. |
Definition at line 997 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeARMTargetMC(), LLVMInitializeLanaiTargetMC(), LLVMInitializeM68kTargetMC(), and LLVMInitializeX86TargetMC().
|
inlinestatic |
RegisterMCSubtargetInfo - Register a MCSubtargetInfo implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct a MCSubtargetInfo for the target. |
Definition at line 855 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARCTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeAVRTargetMC(), LLVMInitializeBPFTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeDirectXTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLanaiTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeM68kTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializeMSP430TargetMC(), LLVMInitializeNVPTXTargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSparcTargetMC(), LLVMInitializeSPIRVTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeVETargetMC(), LLVMInitializeWebAssemblyTargetMC(), LLVMInitializeX86TargetMC(), LLVMInitializeXCoreTargetMC(), LLVMInitializeXtensaTargetMC(), llvm::RegisterMCSubtargetInfo< MCSubtargetInfoImpl >::RegisterMCSubtargetInfo(), and llvm::RegisterMCSubtargetInfoFn::RegisterMCSubtargetInfoFn().
|
inlinestatic |
RegisterMCSymbolizer - Register an MCSymbolizer implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct an MCSymbolizer for the target. |
Definition at line 1011 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64Disassembler(), and LLVMInitializeAMDGPUDisassembler().
|
inlinestatic |
Definition at line 968 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializeNVPTXTargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSparcTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeVETargetMC(), LLVMInitializeWebAssemblyTargetMC(), LLVMInitializeX86TargetMC(), and LLVMInitializeXCoreTargetMC().
|
inlinestatic |
Definition at line 983 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializeAArch64TargetMC(), LLVMInitializeAMDGPUTargetMC(), LLVMInitializeARMTargetMC(), LLVMInitializeAVRTargetMC(), LLVMInitializeCSKYTargetMC(), LLVMInitializeHexagonTargetMC(), LLVMInitializeLoongArchTargetMC(), LLVMInitializeMipsTargetMC(), LLVMInitializeMSP430TargetMC(), LLVMInitializePowerPCTargetMC(), LLVMInitializeRISCVTargetMC(), LLVMInitializeSparcTargetMC(), LLVMInitializeSystemZTargetMC(), LLVMInitializeVETargetMC(), LLVMInitializeWebAssemblyTargetMC(), LLVMInitializeX86TargetMC(), and LLVMInitializeXtensaTargetMC().
|
static |
RegisterTarget - Register the given target.
Attempts to register a target which has already been registered will be ignored.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Name | - The target name. This should be a static string. |
| ShortDesc | - A short target description. This should be a static string. |
| BackendName | - The name of the backend. This should be a static string that is the same for all targets that share a backend implementation and must match the name used in the 'def X : Target ...' in TableGen. |
| ArchMatchFn | - The arch match checking function for this target. |
| HasJIT | - Whether the target supports JIT code generation. |
Definition at line 181 of file TargetRegistry.cpp.
References assert(), FirstTarget, and T.
Referenced by LLVMInitializeAArch64TargetInfo(), LLVMInitializeBPFTargetInfo(), and llvm::RegisterTarget< TargetArchType, HasJIT >::RegisterTarget().
|
inlinestatic |
RegisterTargetMachine - Register a TargetMachine implementation for the given target.
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| T | - The target being registered. |
| Fn | - A function to construct a TargetMachine for the target. |
Definition at line 869 of file TargetRegistry.h.
References T.
Referenced by llvm::RegisterTargetMachine< TargetMachineImpl >::RegisterTargetMachine().
|
inlinestatic |
Definition at line 964 of file TargetRegistry.h.
References T.
Referenced by LLVMInitializePowerPCTargetMC().
|
static |
Definition at line 113 of file TargetRegistry.cpp.
References FirstTarget, and llvm::make_range().
Referenced by LLVMGetFirstTarget(), LLVMGetTargetFromName(), lookupTarget(), lookupTarget(), printRegisteredTargetsForVersion(), and llvm::EngineBuilder::selectTarget().