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