Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Passes/
DPassBuilder.h42 enum OptimizationLevel { enum
173 OptimizationLevel Level,
184 OptimizationLevel Level,
193 void addLTODefaultPipeline(ModulePassManager &MPM, OptimizationLevel Level,
/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
DIceCfg.cpp218 OptimizationLevel = in translate()
/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()
DCGExprCXX.cpp1446 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXNewExpr()
DCGCall.cpp3104 if (CGF.CGM.getCodeGenOpts().OptimizationLevel != 0 && in emitWritebackArg()
3362 if (CGM.getCodeGenOpts().OptimizationLevel != 0 && in AddObjCARCExceptionMetadata()
DCGExpr.cpp1342 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar()
2737 if (!CGM.getCodeGenOpts().OptimizationLevel || !TrapBB) { in EmitTrapCheck()
DCodeGenFunction.h1206 return CGM.getCodeGenOpts().OptimizationLevel == 0; in shouldUseFusedARCCalls()
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp282 optimize(*mod, c->getCodeGenOpts().OptimizationLevel, !create_library); in link_program()
/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/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(...);

12