Home
last modified time | relevance | path

Searched refs:Opts (Results 1 – 7 of 7) sorted by relevance

/frameworks/compile/slang/
Drs_cc_options.cpp87 RSCCOptions &Opts, clang::DiagnosticOptions &DiagOpts, in ParseArguments() argument
148 Opts.mIncludePaths = Args.getAllArgValues(OPT_I); in ParseArguments()
150 Opts.mBitcodeOutputDir = Args.getLastArgValue(OPT_o); in ParseArguments()
155 Opts.mEmitDependency = true; in ParseArguments()
156 Opts.mOutputType = Slang::OT_Dependency; in ParseArguments()
160 Opts.mEmitDependency = true; in ParseArguments()
161 Opts.mOutputType = Slang::OT_Bitcode; in ParseArguments()
165 Opts.mEmitDependency = true; in ParseArguments()
166 Opts.mOutputType = Slang::OT_Bitcode; in ParseArguments()
167 Opts.mEmitPhonyDependency = true; in ParseArguments()
[all …]
Dllvm-rs-cc.cpp150 const llvm::SmallVector<const char*, 16> &Inputs, slang::RSCCOptions &Opts, in makeFileList() argument
155 if (Opts.mEmit3264) { in makeFileList()
156 if (Opts.mBitWidth == 64) { in makeFileList()
166 const char *BCOutputFile = DetermineOutputFile(Opts.mBitcodeOutputDir, in makeFileList()
168 Opts.mOutputType, in makeFileList()
172 if (Opts.mEmitDependency) { in makeFileList()
177 DetermineOutputFile(Opts.mDependencyOutputDir, "", InputFile, in makeFileList()
179 if (Opts.mOutputType == slang::Slang::OT_Dependency) { in makeFileList()
246 slang::RSCCOptions Opts; in main() local
249 if (!slang::ParseArguments(llvm::makeArrayRef(argv, argc), Inputs, Opts, in main()
[all …]
Dslang.cpp228 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()
[all …]
Dslang.h210 clang::ASTConsumer *createBackend(const RSCCOptions &Opts,
261 int compile(const RSCCOptions &Opts);
285 const RSCCOptions &Opts,
Drs_cc_options.h143 RSCCOptions &Opts, clang::DiagnosticOptions &DiagOpts,
Dslang_backend.h167 const RSCCOptions &Opts,
Dslang_backend.cpp245 const RSCCOptions &Opts, in Backend() argument
257 mSourceMgr(SourceMgr), mASTPrint(Opts.mASTPrint), mAllowRSPrefix(AllowRSPrefix), in Backend()