LLVM API Documentation
#include <TargetMachineRegistry.h>
Collaboration diagram for llvm::TargetMachineRegistry:
Static Public Member Functions | |
static const Entry * | getList () |
static const Entry * | getClosestStaticTargetForModule (const Module &M, std::string &Error) |
static const Entry * | getClosestTargetForJIT (std::string &Error) |
Classes | |
struct | Entry |
Definition at line 27 of file TargetMachineRegistry.h.
|
getClosestStaticTargetForModule - Given an LLVM module, pick the best target that is compatible with the module. If no close target can be found, this returns null and sets the Error string to a reason. Definition at line 53 of file TargetMachineRegistry.cpp. References E, getList(), and llvm::TargetMachineRegistry::Entry::Name. |
|
getClosestTargetForJIT - Given an LLVM module, pick the best target that is compatible with the current host and the specified module. If no close target can be found, this returns null and sets the Error string to a reason. Definition at line 83 of file TargetMachineRegistry.cpp. References E, first, and getList(). Referenced by llvm::JIT::create(). |
|
TargetMachineRegistry::getList - This static method returns the list of target machines that are registered with the system. Definition at line 32 of file TargetMachineRegistry.h. Referenced by getClosestStaticTargetForModule(), getClosestTargetForJIT(), and llvm::TargetNameParser::initialize(). |