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
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()
[all …]
Dllvm-rs-cc.cpp149 const llvm::SmallVector<const char*, 16> &Inputs, slang::RSCCOptions &Opts, in makeFileList() argument
154 if (Opts.mEmit3264) { in makeFileList()
155 if (Opts.mBitWidth == 64) { in makeFileList()
165 const char *BCOutputFile = DetermineOutputFile(Opts.mBitcodeOutputDir, in makeFileList()
167 Opts.mOutputType, in makeFileList()
171 if (Opts.mEmitDependency) { in makeFileList()
176 DetermineOutputFile(Opts.mDependencyOutputDir, "", InputFile, in makeFileList()
178 if (Opts.mOutputType == slang::Slang::OT_Dependency) { in makeFileList()
232 slang::RSCCOptions Opts; in main() local
235 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()