Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Drs_cc_options.cpp83 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()
[all …]
Dslang_rs.cpp277 const RSCCOptions &Opts) { in compile() argument
281 if (Opts.mEmitDependency && (DepFiles.size() != IOFiles32.size())) { in compile()
286 if (Opts.mEmit3264 && (IOFiles64.size() != IOFiles32.size())) { in compile()
300 setIncludePaths(Opts.mIncludePaths); in compile()
301 setOutputType(Opts.mOutputType); in compile()
302 if (Opts.mEmitDependency) { in compile()
303 setAdditionalDepTargets(Opts.mAdditionalDepTargets); in compile()
306 setDebugMetadataEmission(Opts.mDebugEmission); in compile()
308 setOptimizationLevel(Opts.mOptimizationLevel); in compile()
310 mAllowRSPrefix = Opts.mAllowRSPrefix; in compile()
[all …]
Dllvm-rs-cc.cpp140 const llvm::SmallVector<const char*, 16> &Inputs, slang::RSCCOptions &Opts, in compileFiles() argument
149 if (Opts.mEmit3264) { in compileFiles()
150 if (Opts.mBitWidth == 64) { in compileFiles()
161 const char *BCOutputFile = DetermineOutputFile(Opts.mBitcodeOutputDir, in compileFiles()
167 if (Opts.mEmitDependency) { in compileFiles()
172 DetermineOutputFile(Opts.mDependencyOutputDir, "", InputFile, in compileFiles()
174 if (Opts.mOutputType == slang::Slang::OT_Dependency) { in compileFiles()
185 Compiler->init(Opts.mBitWidth, DiagEngine, DiagClient); in compileFiles()
186 int CompileFailed = !Compiler->compile(*IOFiles, *IOFiles32, DepFiles, Opts); in compileFiles()
214 slang::RSCCOptions Opts; in main() local
[all …]
Drs_cc_options.h130 RSCCOptions &Opts, clang::DiagnosticsEngine &DiagEngine);
Dslang_rs.h113 const RSCCOptions &Opts);