Home
last modified time | relevance | path

Searched refs:OOpt (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DWebAssembly.cpp209 StringRef OOpt = "s"; in ConstructJob() local
212 OOpt = "4"; in ConstructJob()
214 OOpt = "0"; in ConstructJob()
216 OOpt = A->getValue(); in ConstructJob()
218 if (OOpt != "0") { in ConstructJob()
222 OptArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt)); in ConstructJob()
H A DCuda.cpp434 StringRef OOpt = "3"; in ConstructJob() local
437 OOpt = "3"; in ConstructJob()
439 OOpt = "0"; in ConstructJob()
442 OOpt = llvm::StringSwitch<const char *>(A->getValue()) in ConstructJob()
450 CmdArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt)); in ConstructJob()
H A DCommonArgs.cpp1057 StringRef OOpt; in addLTOOptions() local
1060 OOpt = "3"; in addLTOOptions()
1062 OOpt = A->getValue(); in addLTOOptions()
1063 if (OOpt == "g") in addLTOOptions()
1064 OOpt = "1"; in addLTOOptions()
1065 else if (OOpt == "s" || OOpt == "z") in addLTOOptions()
1066 OOpt = "2"; in addLTOOptions()
1068 OOpt = "0"; in addLTOOptions()
1069 if (!OOpt.empty()) { in addLTOOptions()
1071 Args.MakeArgString(Twine(PluginOptPrefix) + ExtraDash + "O" + OOpt)); in addLTOOptions()
[all …]