• Home
  • Raw
  • Download

Lines Matching refs:Opts

41                       const LangOptions &Opts) {  in DefineStd()  argument
46 if (Opts.GNUMode) in DefineStd()
64 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple,
68 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
70 TgtInfo::getTargetDefines(Opts, Builder); in getTargetDefines()
71 getOSDefines(Opts, TgtInfo::getTriple(), Builder); in getTargetDefines()
78 static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts, in getDarwinDefines() argument
87 if (!Opts.ObjCAutoRefCount) { in getDarwinDefines()
92 if (Opts.getGCMode() != LangOptions::NonGC) in getDarwinDefines()
110 if (Opts.Static) in getDarwinDefines()
115 if (Opts.POSIXThreads) in getDarwinDefines()
191 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
193 getDarwinDefines(Builder, Opts, Triple, this->PlatformName, in getOSDefines()
226 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
234 DefineStd(Builder, "unix", Opts); in getOSDefines()
245 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
255 DefineStd(Builder, "unix", Opts); in getOSDefines()
288 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
299 DefineStd(Builder, "unix", Opts); in getOSDefines()
312 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
315 DefineStd(Builder, "unix", Opts); in getOSDefines()
316 DefineStd(Builder, "linux", Opts); in getOSDefines()
319 if (Opts.POSIXThreads) in getOSDefines()
321 if (Opts.CPlusPlus) in getOSDefines()
336 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
342 if (Opts.POSIXThreads) in getOSDefines()
356 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
361 DefineStd(Builder, "unix", Opts); in getOSDefines()
363 if (Opts.POSIXThreads) in getOSDefines()
375 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
394 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
424 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
441 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
443 DefineStd(Builder, "sun", Opts); in getOSDefines()
444 DefineStd(Builder, "unix", Opts); in getOSDefines()
462 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
464 DefineStd(Builder, "sun", Opts); in getOSDefines()
465 DefineStd(Builder, "unix", Opts); in getOSDefines()
483 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
487 void getVisualStudioDefines(const LangOptions &Opts, in getVisualStudioDefines() argument
489 if (Opts.CPlusPlus) { in getVisualStudioDefines()
490 if (Opts.RTTI) in getVisualStudioDefines()
493 if (Opts.Exceptions) in getVisualStudioDefines()
497 if (!Opts.CharIsSigned) in getVisualStudioDefines()
502 if (Opts.POSIXThreads) in getVisualStudioDefines()
505 if (Opts.MSCVersion != 0) in getVisualStudioDefines()
506 Builder.defineMacro("_MSC_VER", llvm::Twine(Opts.MSCVersion)); in getVisualStudioDefines()
508 if (Opts.Microsoft) { in getVisualStudioDefines()
511 if (Opts.CPlusPlus0x) { in getVisualStudioDefines()
547 virtual void getTargetDefines(const LangOptions &Opts,
667 void PPCTargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
696 if (Opts.AltiVec) { in getTargetDefines()
888 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
978 virtual void getTargetDefines(const LangOptions &Opts,
1010 void MBlazeTargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1162 virtual void getTargetDefines(const LangOptions &Opts,
1371 void X86TargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1382 DefineStd(Builder, "i386", Opts); in getTargetDefines()
1425 if (Opts.Microsoft && PointerWidth == 32) { in getTargetDefines()
1598 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1600 WindowsTargetInfo<X86_32TargetInfo>::getTargetDefines(Opts, Builder); in getTargetDefines()
1615 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1617 WindowsX86_32TargetInfo::getTargetDefines(Opts, Builder); in getTargetDefines()
1618 WindowsX86_32TargetInfo::getVisualStudioDefines(Opts, Builder); in getTargetDefines()
1634 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1636 WindowsX86_32TargetInfo::getTargetDefines(Opts, Builder); in getTargetDefines()
1637 DefineStd(Builder, "WIN32", Opts); in getTargetDefines()
1638 DefineStd(Builder, "WINNT", Opts); in getTargetDefines()
1645 if (Opts.Microsoft) in getTargetDefines()
1668 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1670 X86_32TargetInfo::getTargetDefines(Opts, Builder); in getTargetDefines()
1673 DefineStd(Builder, "unix", Opts); in getTargetDefines()
1674 if (Opts.CPlusPlus) in getTargetDefines()
1691 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1693 X86_32TargetInfo::getTargetDefines(Opts, Builder); in getTargetDefines()
1704 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
1750 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1752 X86_32TargetInfo::getTargetDefines(Opts, Builder); in getTargetDefines()
1817 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1819 WindowsTargetInfo<X86_64TargetInfo>::getTargetDefines(Opts, Builder); in getTargetDefines()
1837 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1839 WindowsX86_64TargetInfo::getTargetDefines(Opts, Builder); in getTargetDefines()
1840 WindowsX86_64TargetInfo::getVisualStudioDefines(Opts, Builder); in getTargetDefines()
1854 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
1856 WindowsX86_64TargetInfo::getTargetDefines(Opts, Builder); in getTargetDefines()
1857 DefineStd(Builder, "WIN64", Opts); in getTargetDefines()
1864 if (Opts.Microsoft) in getTargetDefines()
2069 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
2250 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
2252 getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion); in getOSDefines()
2290 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
2292 DefineStd(Builder, "sparc", Opts); in getTargetDefines()
2413 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
2473 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
2532 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
2534 DefineStd(Builder, "bfin", Opts); in getTargetDefines()
2535 DefineStd(Builder, "BFIN", Opts); in getTargetDefines()
2634 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
2636 DefineStd(Builder, "tce", Opts); in getTargetDefines()
2689 virtual void getArchDefines(const LangOptions &Opts, in getArchDefines() argument
2696 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
2698 DefineStd(Builder, "mips", Opts); in getTargetDefines()
2700 DefineStd(Builder, "MIPSEB", Opts); in getTargetDefines()
2703 getArchDefines(Opts, Builder); in getTargetDefines()
2804 virtual void getTargetDefines(const LangOptions &Opts,
2808 void MipselTargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument
2810 DefineStd(Builder, "mips", Opts); in getTargetDefines()
2812 DefineStd(Builder, "MIPSEL", Opts); in getTargetDefines()
2815 getArchDefines(Opts, Builder); in getTargetDefines()
3016 TargetOptions &Opts) { in CreateTargetInfo() argument
3017 llvm::Triple Triple(Opts.Triple); in CreateTargetInfo()
3027 if (!Opts.CPU.empty() && !Target->setCPU(Opts.CPU)) { in CreateTargetInfo()
3028 Diags.Report(diag::err_target_unknown_cpu) << Opts.CPU; in CreateTargetInfo()
3033 if (!Opts.ABI.empty() && !Target->setABI(Opts.ABI)) { in CreateTargetInfo()
3034 Diags.Report(diag::err_target_unknown_abi) << Opts.ABI; in CreateTargetInfo()
3039 if (!Opts.CXXABI.empty() && !Target->setCXXABI(Opts.CXXABI)) { in CreateTargetInfo()
3040 Diags.Report(diag::err_target_unknown_cxxabi) << Opts.CXXABI; in CreateTargetInfo()
3047 Target->getDefaultFeatures(Opts.CPU, Features); in CreateTargetInfo()
3050 for (std::vector<std::string>::const_iterator it = Opts.Features.begin(), in CreateTargetInfo()
3051 ie = Opts.Features.end(); it != ie; ++it) { in CreateTargetInfo()
3066 Opts.Features.clear(); in CreateTargetInfo()
3069 Opts.Features.push_back(std::string(it->second ? "+" : "-") + in CreateTargetInfo()
3071 Target->HandleTargetFeatures(Opts.Features); in CreateTargetInfo()