Lines Matching refs:mCodeGenOpts
83 const clang::CodeGenOptions &mCodeGenOpts; member in __anonadcb53180111::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()
226 } else if (mCodeGenOpts.OptimizationLevel == 3) { in CreateCodeGenPasses()
267 mCodeGenOpts(CodeGenOpts), mPragmas(Pragmas) { in Backend()
269 mCodeGenOpts, mLLVMContext); in Backend()
371 mCodeGenOpts.OptimizationLevel, mCodeGenOpts.getDebugInfo()); in HandleTranslationUnit()