Searched refs:OOpt (Results 1 – 4 of 4) sorted by relevance
135 StringRef OOpt = "s"; in ConstructJob() local138 OOpt = "4"; in ConstructJob()140 OOpt = "0"; in ConstructJob()142 OOpt = A->getValue(); in ConstructJob()144 if (OOpt != "0") { in ConstructJob()148 CmdArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt)); in ConstructJob()
49 StringRef OOpt = "0"; in addLLCOptArg() local52 OOpt = "3"; in addLLCOptArg()54 OOpt = "0"; in addLLCOptArg()60 OOpt = llvm::StringSwitch<const char *>(A->getValue()) in addLLCOptArg()69 CmdArgs.push_back(Args.MakeArgString("-O" + OOpt)); in addLLCOptArg()
516 StringRef OOpt; in addLTOOptions() local519 OOpt = "3"; in addLTOOptions()521 OOpt = A->getValue(); in addLTOOptions()522 if (OOpt == "g") in addLTOOptions()523 OOpt = "1"; in addLTOOptions()524 else if (OOpt == "s" || OOpt == "z") in addLTOOptions()525 OOpt = "2"; in addLTOOptions()527 OOpt = "0"; in addLTOOptions()528 if (!OOpt.empty()) in addLTOOptions()529 CmdArgs.push_back(Args.MakeArgString(Twine("-plugin-opt=O") + OOpt)); in addLTOOptions()
438 StringRef OOpt = "3"; in ConstructJob() local441 OOpt = "3"; in ConstructJob()443 OOpt = "0"; in ConstructJob()446 OOpt = llvm::StringSwitch<const char *>(A->getValue()) in ConstructJob()454 CmdArgs.push_back(Args.MakeArgString(llvm::Twine("-O") + OOpt)); in ConstructJob()