• Home
  • Raw
  • Download

Lines Matching refs:Opts

228 Slang::createBackend(const RSCCOptions &Opts, const clang::CodeGenOptions &CodeGenOpts,  in createBackend()  argument
230 auto *B = new Backend(mRSContext, &getDiagnostics(), Opts, in createBackend()
403 int Slang::compile(const RSCCOptions &Opts) { in compile() argument
413 mBackend.reset(createBackend(Opts, CodeGenOpts, &mOS->os(), mOT)); in compile()
572 const RSCCOptions &Opts, in compile() argument
578 if (Opts.mEmitDependency && (DepFiles.size() != IOFiles32.size())) { in compile()
586 if (Opts.mEmit3264 && (IOFiles64.size() != IOFiles32.size())) { in compile()
596 setIncludePaths(Opts.mIncludePaths); in compile()
597 setOutputType(Opts.mOutputType); in compile()
598 if (Opts.mEmitDependency) { in compile()
599 setAdditionalDepTargets(Opts.mAdditionalDepTargets); in compile()
602 setDebugMetadataEmission(Opts.mDebugEmission); in compile()
604 setOptimizationLevel(Opts.mOptimizationLevel); in compile()
606 mAllowRSPrefix = Opts.mAllowRSPrefix; in compile()
608 mTargetAPI = Opts.mTargetAPI; in compile()
626 mVerbose = Opts.mVerbose; in compile()
630 bool SuppressAllWarnings = (Opts.mOutputType != Slang::OT_Dependency); in compile()
633 if (Opts.mEmit3264 && (Opts.mBitWidth == 32)) { in compile()
645 if (Opts.mEmit3264) { in compile()
646 if (Opts.mBitWidth == 32) in compile()
649 slangAssert(Opts.mBitWidth == 64); in compile()
673 if (Slang::compile(Opts) > 0) in compile()
676 if (!Opts.mJavaReflectionPackageName.empty()) { in compile()
677 mRSContext->setReflectJavaPackageName(Opts.mJavaReflectionPackageName); in compile()
682 if (Opts.mOutputType != Slang::OT_Dependency) { in compile()
684 if (Opts.mBitcodeStorage == BCST_CPP_CODE) { in compile()
686 const std::string &outputFileName = (Opts.mBitWidth == 64) ? in compile()
688 RSReflectionCpp R(mRSContext, Opts.mJavaReflectionPathBase, in compile()
695 if (!Opts.mRSPackageName.empty()) { in compile()
696 mRSContext->setRSPackageName(Opts.mRSPackageName); in compile()
701 Opts.mJavaReflectionPathBase, getInputFileName(), in compile()
703 Opts.mBitcodeStorage == BCST_JAVA_CODE, in compile()
720 Opts.mJavaReflectionPathBase.c_str(), in compile()
725 if ((Opts.mOutputType == Slang::OT_Bitcode) && in compile()
726 (Opts.mBitcodeStorage == BCST_JAVA_CODE) && in compile()
727 !generateJavaBitcodeAccessor(Opts.mJavaReflectionPathBase, in compile()
736 if (Opts.mEmitDependency) { in compile()
748 if (generateDepFile(Opts.mEmitPhonyDependency) > 0) in compile()
764 if (Opts.mEmit3264) { in compile()
765 if (Opts.mBitWidth == 32) in compile()
768 slangAssert(Opts.mBitWidth == 64); in compile()