HomeSort by relevance Sort by last modified time
    Searched refs:MArch (Results 1 - 8 of 8) sorted by null

  /external/llvm/lib/ExecutionEngine/
TargetSelect.cpp 11 // allows the user to specify a specific one on the commandline with -march=x,
29 StringRef MArch = "";
34 return selectTarget(TT, MArch, MCPU, MAttrs);
37 /// selectTarget - Pick a target either via -march or by guessing the native
40 StringRef MArch,
49 if (!MArch.empty()) {
52 if (MArch == it->getName()) {
59 *ErrorStr = "No available targets are compatible with this -march, "
66 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch);
  /external/clang/lib/Driver/
ToolChain.cpp 79 // corresponding -march option) should determine the architecture
82 // FIXME: Warn on inconsistent use of -mcpu and -march.
88 StringRef MArch;
90 // Otherwise, if we have -march= choose the base CPU for that arch.
91 MArch = A->getValue(Args);
94 MArch = Triple.getArchName();
97 return llvm::StringSwitch<const char *>(MArch)
ToolChains.cpp 893 const Option *MArch = Opts.getOption(options::OPT_march_EQ);
    [all...]
Tools.cpp 430 // FIXME: Warn on inconsistent use of -mcpu and -march.
436 StringRef MArch;
438 // Otherwise, if we have -march= choose the base CPU for that arch.
439 MArch = A->getValue(Args);
442 MArch = Triple.getArchName();
445 return llvm::StringSwitch<const char *>(MArch)
681 // Set the CPU based on -march= and -mcpu=.
955 // FIXME: Reject attempts to use -march=native unless the target matches
    [all...]
  /external/llvm/tools/llc/
llc.cpp 64 MArch("march", cl::desc("Architecture to generate code for (see --version)"));
377 if (!MArch.empty()) {
380 if (MArch == it->getName()) {
387 errs() << argv[0] << ": error: invalid target '" << MArch << "'.\n";
393 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch);
401 << Err << "'. Please use the -march option to explicitly "
  /external/llvm/include/llvm/ExecutionEngine/
ExecutionEngine.h 489 std::string MArch;
579 EngineBuilder &setMArch(StringRef march) {
580 MArch.assign(march.begin(), march.end());
607 /// selectTarget - Pick a target either via -march or by guessing the native
610 StringRef MArch,
  /external/llvm/tools/lli/
lli.cpp 77 MArch("march",
219 builder.setMArch(MArch);
  /frameworks/compile/mclinker/tools/llvm-mcld/
llvm-mcld.cpp 79 MArch("march", cl::desc("Architecture to generate code for (see --version)"));
761 if (!MArch.empty()) {
764 if (MArch == (*it)->get()->getName()) {
771 errs() << argv[0] << ": error: invalid target '" << MArch << "'.\n";
777 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch);
786 << Err << "'. Please use the -march option to explicitly "

Completed in 735 milliseconds