Lines Matching refs:Opts
232 Slang::createBackend(const RSCCOptions &Opts, const clang::CodeGenOptions &CodeGenOpts,
234 auto *B = new Backend(mRSContext, &getDiagnostics(), Opts,
408 int Slang::compile(const RSCCOptions &Opts) {
418 mBackend.reset(createBackend(Opts, CodeGenOpts, &mOS->os(), mOT));
612 const RSCCOptions &Opts,
617 if (Opts.mEmitDependency && (DepFiles.size() != IOFiles32.size())) {
625 if (Opts.mEmit3264 && (IOFiles64.size() != IOFiles32.size())) {
635 setIncludePaths(Opts.mIncludePaths);
636 setOutputType(Opts.mOutputType);
637 if (Opts.mEmitDependency) {
638 setAdditionalDepTargets(Opts.mAdditionalDepTargets);
641 setDebugMetadataEmission(Opts.mDebugEmission);
643 setOptimizationLevel(Opts.mOptimizationLevel);
645 mAllowRSPrefix = Opts.mAllowRSPrefix;
647 mTargetAPI = Opts.mTargetAPI;
664 mVerbose = Opts.mVerbose;
668 bool SuppressAllWarnings = (Opts.mOutputType != Slang::OT_Dependency);
694 if (Slang::compile(Opts) > 0)
697 if (!Opts.mJavaReflectionPackageName.empty()) {
698 mRSContext->setReflectJavaPackageName(Opts.mJavaReflectionPackageName);
704 if (Opts.mEmit3264 && (Opts.mBitWidth == 32)) {
709 if (Opts.mOutputType != Slang::OT_Dependency && doReflection) {
711 if (Opts.mBitcodeStorage == BCST_CPP_CODE) {
712 const std::string &outputFileName = (Opts.mBitWidth == 64) ?
714 RSReflectionCpp R(mRSContext, Opts.mJavaReflectionPathBase,
720 if (!Opts.mRSPackageName.empty()) {
721 mRSContext->setRSPackageName(Opts.mRSPackageName);
726 Opts.mJavaReflectionPathBase, getInputFileName(),
728 Opts.mBitcodeStorage == BCST_JAVA_CODE);
743 Opts.mJavaReflectionPathBase.c_str(),
748 if ((Opts.mOutputType == Slang::OT_Bitcode) &&
749 (Opts.mBitcodeStorage == BCST_JAVA_CODE) &&
750 !generateJavaBitcodeAccessor(Opts.mJavaReflectionPathBase,
758 if (Opts.mEmitDependency) {
770 if (generateDepFile(Opts.mEmitPhonyDependency) > 0)