Home
last modified time | relevance | path

Searched refs:mCodeGenOpts (Results 1 – 2 of 2) sorted by relevance

/frameworks/compile/slang/
Dslang_backend.cpp83 const clang::CodeGenOptions &mCodeGenOpts; member in __anon2462bda10111::VersionInfoPass
86 if (mCodeGenOpts.getDebugInfo() != clang::codegenoptions::NoDebugInfo) in getSlangLLVMVersion()
94 : ModulePass(ID), mCodeGenOpts(codegenOpts) {} in VersionInfoPass()
122 PMBuilder.OptLevel = mCodeGenOpts.OptimizationLevel; in CreateFunctionPasses()
132 PMBuilder.OptLevel = mCodeGenOpts.OptimizationLevel; in CreateModulePasses()
133 PMBuilder.SizeLevel = mCodeGenOpts.OptimizeSize; in CreateModulePasses()
136 if (mCodeGenOpts.UnrollLoops) { in CreateModulePasses()
148 mPerModulePasses->add(createVersionInfoPass(mCodeGenOpts)); in CreateModulePasses()
219 llvm::RegisterRegAlloc::setDefault((mCodeGenOpts.OptimizationLevel == 0) ? in CreateCodeGenPasses()
224 if (mCodeGenOpts.OptimizationLevel == 0) { in CreateCodeGenPasses()
[all …]
Dslang_backend.h143 const clang::CodeGenOptions &mCodeGenOpts; variable