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

  /external/clang/lib/Driver/
ToolChain.cpp 76 // FIXME: Warn on inconsistent use of -mcpu and -march.
82 StringRef MArch;
84 // Otherwise, if we have -march= choose the base CPU for that arch.
85 MArch = A->getValue(Args);
88 MArch = Triple.getArchName();
91 if (MArch == "armv2" || MArch == "armv2a")
93 if (MArch == "armv3")
95 if (MArch == "armv3m")
97 if (MArch == "armv4" || MArch == "armv4t"
    [all...]
ToolChains.cpp 851 const Option *MArch = Opts.getOption(options::OPT_march_EQ);
880 DAL->AddJoinedArg(0, MArch, "i486");
882 DAL->AddJoinedArg(0, MArch, "i586");
884 DAL->AddJoinedArg(0, MArch, "i686");
886 DAL->AddJoinedArg(0, MArch, "pentium");
888 DAL->AddJoinedArg(0, MArch, "pentium2");
890 DAL->AddJoinedArg(0, MArch, "pentiumpro");
892 DAL->AddJoinedArg(0, MArch, "pentium2");
898 DAL->AddJoinedArg(0, MArch, "armv4t");
900 DAL->AddJoinedArg(0, MArch, "armv4t")
    [all...]
Tools.cpp 438 // FIXME: Warn on inconsistent use of -mcpu and -march.
444 StringRef MArch;
446 // Otherwise, if we have -march= choose the base CPU for that arch.
447 MArch = A->getValue(Args);
450 MArch = Triple.getArchName();
453 return llvm::StringSwitch<const char *>(MArch)
544 // Set the CPU based on -march= and -mcpu=.
803 StringRef MArch = A->getValue(Args);
805 CmdArgs.push_back(MArch.str().c_str());
859 // FIXME: Reject attempts to use -march=native unless the target matche
    [all...]
  /external/llvm/lib/ExecutionEngine/
TargetSelect.cpp 11 // the user to specify a specific one on the commandline with -march=x. Clients
27 /// selectTarget - Pick a target either via -march or by guessing the native
30 StringRef MArch,
42 if (!MArch.empty()) {
45 if (MArch == it->getName()) {
52 *ErrorStr = "No available targets are compatible with this -march, "
59 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch);
75 << "-march switch.\n";
ExecutionEngine.cpp 435 StringRef MArch = "";
440 EngineBuilder::selectTarget(M, MArch, MCPU, MAttrs, RM, CMM, ErrorStr);
468 if (TargetMachine *TM = EngineBuilder::selectTarget(M, MArch, MCPU, MAttrs,
    [all...]
  /external/llvm/tools/llc/
llc.cpp 65 MArch("march", cl::desc("Architecture to generate code for (see --version)"));
270 if (!MArch.empty()) {
273 if (MArch == it->getName()) {
280 errs() << argv[0] << ": error: invalid target '" << MArch << "'.\n";
286 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch);
294 << Err << "'. Please use the -march option to explicitly "
  /external/llvm/include/llvm/ExecutionEngine/
ExecutionEngine.h 467 std::string MArch;
549 EngineBuilder &setMArch(StringRef march) {
550 MArch.assign(march.begin(), march.end());
575 /// selectTarget - Pick a target either via -march or by guessing the native
578 StringRef MArch,
  /external/llvm/tools/lli/
lli.cpp 76 MArch("march",
196 builder.setMArch(MArch);

Completed in 110 milliseconds