Searched refs:OOpt (Results 1 – 5 of 5) sorted by relevance
52 StringRef OOpt = "0"; in addLLCOptArg() local55 OOpt = "3"; in addLLCOptArg()57 OOpt = "0"; in addLLCOptArg()63 OOpt = llvm::StringSwitch<const char *>(A->getValue()) in addLLCOptArg()72 CmdArgs.push_back(Args.MakeArgString("-O" + OOpt)); in addLLCOptArg()
137 StringRef OOpt = "s"; in ConstructJob() local140 OOpt = "4"; in ConstructJob()142 OOpt = "0"; in ConstructJob()144 OOpt = A->getValue(); in ConstructJob()146 if (OOpt != "0") { in ConstructJob()150 CmdArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt)); in ConstructJob()
418 StringRef OOpt = "3"; in ConstructJob() local421 OOpt = "3"; in ConstructJob()423 OOpt = "0"; in ConstructJob()426 OOpt = llvm::StringSwitch<const char *>(A->getValue()) in ConstructJob()434 CmdArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt)); in ConstructJob()
521 StringRef OOpt; in addLTOOptions() local524 OOpt = "3"; in addLTOOptions()526 OOpt = A->getValue(); in addLTOOptions()527 if (OOpt == "g") in addLTOOptions()528 OOpt = "1"; in addLTOOptions()529 else if (OOpt == "s" || OOpt == "z") in addLTOOptions()530 OOpt = "2"; in addLTOOptions()532 OOpt = "0"; in addLTOOptions()533 if (!OOpt.empty()) in addLTOOptions()534 CmdArgs.push_back(Args.MakeArgString(Twine("-plugin-opt=O") + OOpt)); in addLTOOptions()
8440 StringRef OOpt; in ConstructJob() local8443 OOpt = "3"; in ConstructJob()8445 OOpt = A->getValue(); in ConstructJob()8446 if (OOpt == "g") in ConstructJob()8447 OOpt = "1"; in ConstructJob()8448 else if (OOpt == "s" || OOpt == "z") in ConstructJob()8449 OOpt = "2"; in ConstructJob()8451 OOpt = "0"; in ConstructJob()8452 if (!OOpt.empty()) in ConstructJob()8453 CmdArgs.push_back(Args.MakeArgString(Twine("--opt-level=O") + OOpt)); in ConstructJob()