LLVM API Documentation

TargetSelect.cpp File Reference

#include "JIT.h"
#include "llvm/Module.h"
#include "llvm/ModuleProvider.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/System/Host.h"
#include "llvm/Target/SubtargetFeature.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegistry.h"

Include dependency graph for TargetSelect.cpp:

Go to the source code of this file.

Variables

static cl::opt< std::string > MArch ("march", cl::desc("Architecture to generate assembly for (see --version)"))
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<std::string> MArch("march", cl::desc("Architecture to generate assembly for (see --version)")) [static]

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

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::selectTarget().

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::selectTarget().