Lines Matching refs:Opts
83 slang::RSCCOptions &Opts, in ParseArguments() argument
118 Opts.mIncludePaths = Args->getAllArgValues(OPT_I); in ParseArguments()
120 Opts.mBitcodeOutputDir = Args->getLastArgValue(OPT_o); in ParseArguments()
125 Opts.mEmitDependency = true; in ParseArguments()
126 Opts.mOutputType = slang::Slang::OT_Dependency; in ParseArguments()
130 Opts.mEmitDependency = true; in ParseArguments()
131 Opts.mOutputType = slang::Slang::OT_Bitcode; in ParseArguments()
141 Opts.mOutputType = slang::Slang::OT_Assembly; in ParseArguments()
145 Opts.mOutputType = slang::Slang::OT_LLVMAssembly; in ParseArguments()
149 Opts.mOutputType = slang::Slang::OT_Bitcode; in ParseArguments()
153 Opts.mOutputType = slang::Slang::OT_Nothing; in ParseArguments()
162 if (Opts.mEmitDependency && in ParseArguments()
163 ((Opts.mOutputType != slang::Slang::OT_Bitcode) && in ParseArguments()
164 (Opts.mOutputType != slang::Slang::OT_Dependency))) in ParseArguments()
169 Opts.mAllowRSPrefix = Args->hasArg(OPT_allow_rs_prefix); in ParseArguments()
171 Opts.mJavaReflectionPathBase = in ParseArguments()
173 Opts.mJavaReflectionPackageName = in ParseArguments()
176 Opts.mRSPackageName = Args->getLastArgValue(OPT_rs_package_name); in ParseArguments()
181 Opts.mBitcodeStorage = slang::BCST_APK_RESOURCE; in ParseArguments()
183 Opts.mBitcodeStorage = slang::BCST_JAVA_CODE; in ParseArguments()
191 Opts.mBitcodeStorage = slang::BCST_CPP_CODE; in ParseArguments()
194 if (Opts.mJavaReflectionPathBase.empty()) { in ParseArguments()
195 Opts.mJavaReflectionPathBase = Opts.mBitcodeOutputDir; in ParseArguments()
201 Opts.mBitWidth = 32; in ParseArguments()
203 Opts.mBitWidth = 64; in ParseArguments()
213 Opts.mDependencyOutputDir = in ParseArguments()
214 Args->getLastArgValue(OPT_output_dep_dir, Opts.mBitcodeOutputDir); in ParseArguments()
215 Opts.mAdditionalDepTargets = in ParseArguments()
218 Opts.mShowHelp = Args->hasArg(OPT_help); in ParseArguments()
219 Opts.mShowVersion = Args->hasArg(OPT_version); in ParseArguments()
220 Opts.mDebugEmission = Args->hasArg(OPT_emit_g); in ParseArguments()
221 Opts.mVerbose = Args->hasArg(OPT_verbose); in ParseArguments()
228 Opts.mOptimizationLevel = in ParseArguments()
231 Opts.mTargetAPI = clang::getLastArgIntValue(*Args, OPT_target_api, in ParseArguments()
234 if (Opts.mTargetAPI == 0) { in ParseArguments()
235 Opts.mTargetAPI = UINT_MAX; in ParseArguments()
238 Opts.mEmit3264 = (Opts.mTargetAPI >= 21) && (Opts.mBitcodeStorage != slang::BCST_CPP_CODE); in ParseArguments()
239 if (Opts.mEmit3264) { in ParseArguments()
240 Opts.mBitcodeStorage = slang::BCST_JAVA_CODE; in ParseArguments()