LLVM API Documentation

TargetSelect.cpp File Reference

#include "JIT.h"
#include "llvm/Module.h"
#include "llvm/ModuleProvider.h"
#include "llvm/Target/SubtargetFeature.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetMachineRegistry.h"
#include <iostream>

Include dependency graph for TargetSelect.cpp:

Go to the source code of this file.

Variables

static cl::opt< const TargetMachineRegistry::Entry *,
false, TargetNameParser
MArch ("march", cl::desc("Architecture to generate assembly for:"))
static cl::opt< std::string > MCPU ("mcpu", cl::desc("Target a specific cpu type (-mcpu=help for details)"), cl::value_desc("cpu-name"), cl::init(""))
static cl::list< std::string > MAttrs ("mattr", cl::CommaSeparated, cl::desc("Target specific attributes (-mattr=help for details)"), cl::value_desc("a1,+a2,-a3,..."))


Variable Documentation

cl::opt<const TargetMachineRegistry::Entry*, false, TargetNameParser> MArch("march", cl::desc("Architecture to generate assembly for:")) [static]

Referenced by llvm::JIT::create().

cl::list<std::string> MAttrs("mattr", cl::CommaSeparated, cl::desc("Target specific attributes (-mattr=help for details)"), cl::value_desc("a1,+a2,-a3,...")) [static]

Referenced by llvm::JIT::create().

cl::opt<std::string> MCPU("mcpu", cl::desc("Target a specific cpu type (-mcpu=help for details)"), cl::value_desc("cpu-name"), cl::init("")) [static]

Referenced by llvm::JIT::create().