Searched refs:OOpt (Results 1 – 4 of 4) sorted by relevance
181 StringRef OOpt = "s"; in ConstructJob() local184 OOpt = "4"; in ConstructJob()186 OOpt = "0"; in ConstructJob()188 OOpt = A->getValue(); in ConstructJob()190 if (OOpt != "0") { in ConstructJob()194 OptArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt)); in ConstructJob()
430 StringRef OOpt = "3"; in ConstructJob() local433 OOpt = "3"; in ConstructJob()435 OOpt = "0"; in ConstructJob()438 OOpt = llvm::StringSwitch<const char *>(A->getValue()) in ConstructJob()446 CmdArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt)); in ConstructJob()
897 StringRef OOpt; in addLTOOptions() local900 OOpt = "3"; in addLTOOptions()902 OOpt = A->getValue(); in addLTOOptions()903 if (OOpt == "g") in addLTOOptions()904 OOpt = "1"; in addLTOOptions()905 else if (OOpt == "s" || OOpt == "z") in addLTOOptions()906 OOpt = "2"; in addLTOOptions()908 OOpt = "0"; in addLTOOptions()909 if (!OOpt.empty()) { in addLTOOptions()911 Args.MakeArgString(Twine(PluginOptPrefix) + ExtraDash + "O" + OOpt)); in addLTOOptions()[all …]
9064 StringRef OOpt; in ConstructJob() local9067 OOpt = "3"; in ConstructJob()9069 OOpt = A->getValue(); in ConstructJob()9070 if (OOpt == "g") in ConstructJob()9071 OOpt = "1"; in ConstructJob()9072 else if (OOpt == "s" || OOpt == "z") in ConstructJob()9073 OOpt = "2"; in ConstructJob()9075 OOpt = "0"; in ConstructJob()9076 if (!OOpt.empty()) in ConstructJob()9077 CmdArgs.push_back(Args.MakeArgString(Twine("--opt-level=O") + OOpt)); in ConstructJob()