Lines Matching refs:Opts
87 RSCCOptions &Opts, clang::DiagnosticOptions &DiagOpts,
143 Opts.mIncludePaths = Args.getAllArgValues(OPT_I);
145 Opts.mBitcodeOutputDir = Args.getLastArgValue(OPT_o);
150 Opts.mEmitDependency = true;
151 Opts.mOutputType = Slang::OT_Dependency;
155 Opts.mEmitDependency = true;
156 Opts.mOutputType = Slang::OT_Bitcode;
160 Opts.mEmitDependency = true;
161 Opts.mOutputType = Slang::OT_Bitcode;
162 Opts.mEmitPhonyDependency = true;
172 Opts.mOutputType = Slang::OT_Assembly;
176 Opts.mOutputType = Slang::OT_LLVMAssembly;
180 Opts.mOutputType = Slang::OT_Bitcode;
184 Opts.mOutputType = Slang::OT_Nothing;
191 if (Opts.mEmitDependency && ((Opts.mOutputType != Slang::OT_Bitcode) &&
192 (Opts.mOutputType != Slang::OT_Dependency)))
197 Opts.mAllowRSPrefix = Args.hasArg(OPT_allow_rs_prefix);
199 Opts.mJavaReflectionPathBase =
201 Opts.mJavaReflectionPackageName =
204 Opts.mRSPackageName = Args.getLastArgValue(OPT_rs_package_name);
209 Opts.mBitcodeStorage = BCST_APK_RESOURCE;
211 Opts.mBitcodeStorage = BCST_JAVA_CODE;
218 Opts.mBitcodeStorage = BCST_CPP_CODE;
221 if (Opts.mJavaReflectionPathBase.empty()) {
222 Opts.mJavaReflectionPathBase = Opts.mBitcodeOutputDir;
228 Opts.mBitWidth = 32;
230 Opts.mBitWidth = 64;
239 Opts.mBitWidth = 32;
241 Opts.mBitWidth = 64;
243 Opts.mEmit3264 = false;
252 Opts.mDependencyOutputDir =
253 Args.getLastArgValue(OPT_output_dep_dir, Opts.mBitcodeOutputDir);
254 Opts.mAdditionalDepTargets = Args.getAllArgValues(OPT_additional_dep_target);
256 Opts.mShowHelp = Args.hasArg(OPT_help);
257 Opts.mShowVersion = Args.hasArg(OPT_version);
258 Opts.mDebugEmission = Args.hasArg(OPT_emit_g);
259 Opts.mVerbose = Args.hasArg(OPT_verbose);
260 Opts.mASTPrint = Args.hasArg(OPT_ast_print);
285 Opts.mOptimizationLevel =
288 Opts.mTargetAPI =
291 if (Opts.mTargetAPI == 0) {
292 Opts.mTargetAPI = UINT_MAX;
295 if ((Opts.mTargetAPI < 21) || (Opts.mBitcodeStorage == BCST_CPP_CODE))
296 Opts.mEmit3264 = false;
297 if (Opts.mEmit3264)
298 Opts.mBitcodeStorage = BCST_JAVA_CODE;