Home
last modified time | relevance | path

Searched refs:OptimizationLevel (Results 1 – 25 of 31) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Passes/
DPassBuilder.h92 enum OptimizationLevel { enum
233 buildFunctionSimplificationPipeline(OptimizationLevel Level,
253 buildModuleSimplificationPipeline(OptimizationLevel Level,
270 ModulePassManager buildModuleOptimizationPipeline(OptimizationLevel Level,
284 ModulePassManager buildPerModuleDefaultPipeline(OptimizationLevel Level,
300 buildThinLTOPreLinkDefaultPipeline(OptimizationLevel Level,
315 buildThinLTODefaultPipeline(OptimizationLevel Level, bool DebugLogging,
330 ModulePassManager buildLTOPreLinkDefaultPipeline(OptimizationLevel Level,
344 ModulePassManager buildLTODefaultPipeline(OptimizationLevel Level,
423 const std::function<void(FunctionPassManager &, OptimizationLevel)> &C) { in registerPeepholeEPCallback()
[all …]
/external/llvm/include/llvm/Passes/
DPassBuilder.h42 enum OptimizationLevel { enum
173 OptimizationLevel Level,
184 OptimizationLevel Level,
193 void addLTODefaultPipeline(ModulePassManager &MPM, OptimizationLevel Level,
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DNewPMDriver.cpp136 FunctionPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
144 LoopPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
150 LoopPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
158 FunctionPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
164 CGSCCPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
170 FunctionPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/
DPassBuilder.cpp196 static bool isOptimizingForSize(PassBuilder::OptimizationLevel Level) { in isOptimizingForSize()
303 FunctionPassManager &FPM, PassBuilder::OptimizationLevel Level) { in invokePeepholeEPCallbacks()
345 PassBuilder::buildFunctionSimplificationPipeline(OptimizationLevel Level, in buildFunctionSimplificationPipeline()
493 PassBuilder::OptimizationLevel Level, in addPGOInstrPasses()
554 getInlineParamsFromOptLevel(PassBuilder::OptimizationLevel Level) { in getInlineParamsFromOptLevel()
562 PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level, in buildModuleSimplificationPipeline()
712 PassBuilder::buildModuleOptimizationPipeline(OptimizationLevel Level, in buildModuleOptimizationPipeline()
860 PassBuilder::buildPerModuleDefaultPipeline(OptimizationLevel Level, in buildPerModuleDefaultPipeline()
887 PassBuilder::buildThinLTOPreLinkDefaultPipeline(OptimizationLevel Level, in buildThinLTOPreLinkDefaultPipeline()
926 OptimizationLevel Level, bool DebugLogging, in buildThinLTODefaultPipeline()
[all …]
/external/llvm/lib/Passes/
DPassBuilder.cpp235 OptimizationLevel Level, in addPerModuleDefaultPipeline()
248 OptimizationLevel Level, in addLTOPreLinkDefaultPipeline()
255 OptimizationLevel Level, in addLTODefaultPipeline()
328 auto L = StringSwitch<OptimizationLevel>(Matches[2]) in parseModulePassName()
/external/swiftshader/third_party/subzero/src/
DIceCfg.h46 OptLevel getOptLevel() const { return OptimizationLevel; } in getOptLevel()
315 OptLevel OptimizationLevel = Opt_m1; variable
/external/swiftshader/third_party/LLVM/include/llvm/
DDefaultPasses.h107 static unsigned OptimizationLevel(unsigned flags) { in OptimizationLevel() function
/external/clang/lib/CodeGen/
DCGVTables.cpp492 !CGM.getCodeGenOpts().OptimizationLevel) in maybeEmitThunkForVTable()
719 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable()
744 assert((def || CodeGenOpts.OptimizationLevel > 0) && in getVTableLinkage()
747 if (!def && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
DBackendUtil.cpp318 unsigned OptLevel = CodeGenOpts.OptimizationLevel; in CreatePasses()
563 switch (CodeGenOpts.OptimizationLevel) { in CreateTargetMachine()
672 if (CodeGenOpts.OptimizationLevel > 0) in AddEmitPasses()
DCGCXX.cpp40 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias()
DCodeGenTBAA.cpp94 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTBAAInfo()
DCGClass.cpp1377 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue()
1394 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue()
1568 CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitDestructorBody()
2165 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall()
2475 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in InitializeVTablePointer()
2570 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in GetVTablePtr()
DCGBlocks.cpp1107 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in setBlockContextParameter()
1202 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction()
1447 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction()
1703 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
DCGDeclCXX.cpp125 if (!CGF.CGM.getCodeGenOpts().OptimizationLevel) in EmitDeclInvariant()
DCGObjC.cpp142 CGM.getCodeGenOpts().OptimizationLevel != 0); in EmitObjCCollectionLiteral()
1990 } else if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitAutoreleasedReturnValueMarker()
2081 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCDestroyStrong()
2243 CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCInitWeak()
DCGDecl.cpp924 return CGOpts.OptimizationLevel != 0; in shouldEmitLifetimeMarkers()
1821 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitParmDecl()
DCGStmt.cpp1204 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt()
1601 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitSwitchStmt()
DCodeGenFunction.cpp1074 } else if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCode()
1358 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBranchOnBoolExpr()
DCodeGenModule.cpp126 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
427 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { in Release()
1736 if (CodeGenOpts.OptimizationLevel == 0 && !F->hasAttr<AlwaysInlineAttr>()) in shouldEmitFunction()
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp282 optimize(*mod, c->getCodeGenOpts().OptimizationLevel, !create_library);
/external/clang/lib/Frontend/
DCompilerInvocation.cpp427 unsigned OptimizationLevel = getOptimizationLevel(Args, IK, Diags); in ParseCodeGenArgs() local
430 if (OptimizationLevel > MaxOptLevel) { in ParseCodeGenArgs()
435 OptimizationLevel = MaxOptLevel; in ParseCodeGenArgs()
437 Opts.OptimizationLevel = OptimizationLevel; in ParseCodeGenArgs()
441 (Opts.OptimizationLevel > 1) ? CodeGenOptions::NormalInlining in ParseCodeGenArgs()
527 (Opts.OptimizationLevel > 1)); in ParseCodeGenArgs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOBackend.cpp179 PassBuilder::OptimizationLevel OL; in runNewPMPasses()
/external/clang/include/clang/Frontend/
DCodeGenOptions.def117 VALUE_CODEGENOPT(OptimizationLevel, 2, 0) ///< The -O[0-3] option specified.
/external/llvm/docs/
DCommandLine.rst353 cl::opt<OptLevel> OptimizationLevel(cl::desc("Choose optimization level:"),
362 if (OptimizationLevel >= O2) doPartialRedundancyElimination(...);
365 This declaration defines a variable "``OptimizationLevel``" of the
399 cl::opt<OptLevel> OptimizationLevel(cl::desc("Choose optimization level:"),
408 if (OptimizationLevel == Debug) outputDebugInfo(...);
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DCommandLine.rst353 cl::opt<OptLevel> OptimizationLevel(cl::desc("Choose optimization level:"),
361 if (OptimizationLevel >= O2) doPartialRedundancyElimination(...);
364 This declaration defines a variable "``OptimizationLevel``" of the
397 cl::opt<OptLevel> OptimizationLevel(cl::desc("Choose optimization level:"),
405 if (OptimizationLevel == Debug) outputDebugInfo(...);

12