Lines Matching refs:OptLevel
129 OptLevel = 2; in PassManagerBuilder()
207 bool ExpensiveCombines = OptLevel > 2; in addInstructionCombiningPass()
219 if (OptLevel == 0) return; in populateFunctionPassManager()
262 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in addFunctionSimplificationPasses()
276 if (OptLevel > 1) { in addFunctionSimplificationPasses()
310 if (OptLevel > 1 && UseGVNAfterVectorization) in addFunctionSimplificationPasses()
338 if (OptLevel == 0) { in populateModulePassManager()
406 if (OptLevel > 2) in populateModulePassManager()
416 if (!DisableUnitAtATime && OptLevel > 1 && !PrepareForLTO && in populateModulePassManager()
505 if (OptLevel > 1 && ExtraVectorizerPasses) { in populateModulePassManager()
516 MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3)); in populateModulePassManager()
524 if (OptLevel > 1 && ExtraVectorizerPasses) { in populateModulePassManager()
533 if (OptLevel > 1 && UseGVNAfterVectorization) in populateModulePassManager()
574 if (OptLevel > 1) { in populateModulePassManager()
603 if (OptLevel > 1) { in addLTOOptimizationPasses()
625 if (OptLevel == 1) in addLTOOptimizationPasses()
768 if (OptLevel != 0) in populateLTOPassManager()
780 if (OptLevel != 0) in populateLTOPassManager()
807 unsigned OptLevel) { in LLVMPassManagerBuilderSetOptLevel() argument
809 Builder->OptLevel = OptLevel; in LLVMPassManagerBuilderSetOptLevel()