Searched refs:OOpt (Results 1 – 3 of 3) sorted by relevance
209 StringRef OOpt = "s"; in ConstructJob() local212 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()
434 StringRef OOpt = "3"; in ConstructJob() local437 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()
1057 StringRef OOpt; in addLTOOptions() local1060 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 …]