Lines Matching refs:Options
116 namespace options {
140 // Additional options to pass into the code generator.
141 // Note: This array will contain all plugin options which are not claimed
143 // For example, "generate-api-file" and "as"options are for the plugin
235 options::process_plugin_option(tv->tv_u.tv_string);
434 if (options::thinlto)
641 if (options::generate_api_file)
746 PMB.VerifyOutput = !options::DisableVerify;
749 PMB.OptLevel = options::OptLevel;
771 if (unsigned NumOpts = options::extra.size())
772 cl::ParseCommandLineOptions(NumOpts, &options::extra[0]);
779 TargetOptions Options = InitTargetOptionsFromCodeGenFlags();
781 switch (options::OptLevel) {
796 TripleStr, options::mcpu, Features.getString(), Options, RelocationModel,
801 if (options::TheOutputType == options::OT_SAVE_TEMPS)
805 if (!options::obj_path.empty())
806 Filename = options::obj_path;
807 else if (options::TheOutputType == options::OT_SAVE_TEMPS)
810 std::vector<SmallString<128>> Filenames(options::Parallelism);
816 std::vector<llvm::raw_pwrite_stream *> OSPtrs(options::Parallelism);
817 for (unsigned I = 0; I != options::Parallelism; ++I) {
827 if (options::Parallelism != 1)
839 splitCodeGen(std::move(M), OSPtrs, options::mcpu, Features.getString(),
840 Options, RelocationModel, CodeModel::Default, CGOptLevel);
863 if (options::thinlto) {
905 if (!options::triple.empty())
906 M->setTargetTriple(options::triple.c_str());
929 if (options::TheOutputType == options::OT_DISABLE)
932 if (options::TheOutputType != options::OT_NORMAL) {
934 if (options::TheOutputType == options::OT_BC_ONLY)
939 if (options::TheOutputType == options::OT_BC_ONLY)
945 if (!options::extra_library_path.empty() &&
946 set_extra_library_path(options::extra_library_path.c_str()) != LDPS_OK)
954 if (!options::generate_api_file) {
967 if (options::TheOutputType == options::OT_BC_ONLY ||
968 options::TheOutputType == options::OT_DISABLE) {
969 if (options::TheOutputType == options::OT_DISABLE)