Home | History | Annotate | Download | only in Driver

Lines Matching defs:Multilib

1394   for (const auto &Multilib : Multilibs)
1395 OS << "Candidate multilib: " << Multilib << "\n";
1398 OS << "Selected multilib: " << SelectedMultilib << "\n";
1401 bool Generic_GCC::GCCInstallationDetector::getBiarchSibling(Multilib &M) const {
1709 bool operator()(const Multilib &M) {
1755 /// The primary multilib appropriate for the given flags.
1756 Multilib SelectedMultilib;
1758 /// On Biarch systems, this corresponds to the default multilib when
1759 /// targeting the non-default multilib. Otherwise, it is empty.
1760 llvm::Optional<Multilib> BiarchSibling;
1764 static Multilib makeMultilib(StringRef commonSuffix) {
1765 return Multilib(commonSuffix, commonSuffix, commonSuffix);
1861 StringRef TripleStr, const Multilib &M) {
1892 StringRef InstallDir, StringRef TripleStr, const Multilib &M) {
1944 StringRef TripleStr, const Multilib &M) {
1959 .Maybe(Multilib("/mips-r2").flag("+march=mips32r2"))
1960 .Maybe(Multilib("/mips-r6").flag("+march=mips32r6"))
1965 Multilib MAbiN32 =
1966 Multilib().gccSuffix("/n32").includeSuffix("/n32").flag("+mabi=n32");
1968 Multilib M64 = Multilib()
1975 Multilib M32 = Multilib().flag("-m64").flag("+m32").flag("-mabi=n32");
1997 StringRef TripleStr, const Multilib &M) {
2012 Multilib::flags_list Flags;
2076 Result.BiarchSibling = Multilib();
2084 Multilib Default;
2089 Result.BiarchSibling = Multilib();
2109 Multilib Default;
2110 Multilib Alt64 = Multilib()
2116 Multilib Alt32 = Multilib()
2122 Multilib Altx32 = Multilib()
2131 // Determine default multilib from: 32, 64, x32
2166 Multilib::flags_list Flags;
2408 // GCC surprisingly uses *both* the GCC triple with a multilib suffix and
2443 // Select the correct multilib according to the given arguments.
2816 // x86 is special because multilib style uses x86_64-nacl/include for libc
3702 // Add the multilib suffixed paths where they are available.
3706 const Multilib &Multilib = GCCInstallation.getMultilib();
3710 addPathIfExists(D, GCCInstallation.getInstallPath() + Multilib.gccSuffix(),
3732 OSLibDir + Multilib.osSuffix(),
3774 Multilib BiarchSibling;
3781 // See comments above on the multilib variant for details of why this is
3785 const Multilib &Multilib = GCCInstallation.getMultilib();
3787 Multilib.osSuffix(),
3790 // See comments above on the multilib variant for details of why this is
3829 const Multilib &Multilib = GCCInstallation.getMultilib();
3832 (InstallDir + "/../../../../" + TripleStr + "/libc" + Multilib.osSuffix())
3838 Path = (InstallDir + "/../../../../sysroot" + Multilib.osSuffix()).str();
3882 // Add include directories specific to the selected multilib set and multilib.
4073 const Multilib &Multilib = GCCInstallation.getMultilib();
4084 Multilib.includeSuffix(), DriverArgs, CC1Args))
4106 Multilib.includeSuffix(), DriverArgs, CC1Args))
4389 const Multilib &Multilib = GCCInstallation.getMultilib();
4393 "", TripleStr, "", "", Multilib.includeSuffix(), DriverArgs, CC1Args);