Home
last modified time | relevance | path

Searched refs:OptLevel (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp156 OptLevel = 2; in PassManagerBuilder()
274 bool ExpensiveCombines = OptLevel > 2; in addInstructionCombiningPass()
287 if (OptLevel == 0) return; in populateFunctionPassManager()
309 if (OptLevel > 0 && SizeLevel == 0 && !DisablePreInliner && in addPGOInstrPasses()
344 if (OptLevel > 0 && !IsCS) in addPGOInstrPasses()
352 assert(OptLevel >= 1 && "Calling function optimizer with no optimization level!"); in addFunctionSimplificationPasses()
356 if (OptLevel > 1) { in addFunctionSimplificationPasses()
365 if (OptLevel > 1) { in addFunctionSimplificationPasses()
374 if (OptLevel > 2) in addFunctionSimplificationPasses()
386 if (OptLevel > 1) in addFunctionSimplificationPasses()
[all …]
DInlineSimple.cpp104 Pass *llvm::createFunctionInliningPass(unsigned OptLevel, in createFunctionInliningPass() argument
107 auto Param = llvm::getInlineParams(OptLevel, SizeOptLevel); in createFunctionInliningPass()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DLoopUnrollPass.h27 const int OptLevel; variable
40 explicit LoopFullUnrollPass(int OptLevel = 2, bool OnlyWhenForced = false,
42 : OptLevel(OptLevel), OnlyWhenForced(OnlyWhenForced), in OptLevel() argument
68 int OptLevel; member
80 LoopUnrollOptions(int OptLevel = 2, bool OnlyWhenForced = false,
82 : OptLevel(OptLevel), OnlyWhenForced(OnlyWhenForced), in OptLevel() function
113 OptLevel = O; in setOptLevel()
DLoopUnrollAndJamPass.h22 const int OptLevel; variable
25 explicit LoopUnrollAndJamPass(int OptLevel = 2) : OptLevel(OptLevel) {} in OptLevel() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSchedulerRegistry.h64 CodeGenOpt::Level OptLevel);
69 CodeGenOpt::Level OptLevel);
88 CodeGenOpt::Level OptLevel);
94 CodeGenOpt::Level OptLevel);
98 CodeGenOpt::Level OptLevel);
103 CodeGenOpt::Level OptLevel);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp281 OptimizationRemarkEmitter &ORE, int OptLevel) { in tryToUnrollAndJamLoop() argument
298 gatherUnrollingPreferences(L, SE, TTI, nullptr, nullptr, OptLevel, None, in tryToUnrollAndJamLoop()
435 int OptLevel) { in tryToUnrollAndJamLoop() argument
455 tryToUnrollAndJamLoop(L, DT, &LI, SE, TTI, AC, DI, ORE, OptLevel); in tryToUnrollAndJamLoop()
468 unsigned OptLevel; member in __anonf4e31f220111::LoopUnrollAndJam
470 LoopUnrollAndJam(int OptLevel = 2) : FunctionPass(ID), OptLevel(OptLevel) { in LoopUnrollAndJam() argument
487 return tryToUnrollAndJamLoop(F, DT, LI, SE, TTI, AC, DI, ORE, OptLevel); in runOnFunction()
519 Pass *llvm::createLoopUnrollAndJamPass(int OptLevel) { in INITIALIZE_PASS_DEPENDENCY()
520 return new LoopUnrollAndJam(OptLevel); in INITIALIZE_PASS_DEPENDENCY()
534 if (!tryToUnrollAndJamLoop(F, DT, LI, SE, TTI, AC, DI, ORE, OptLevel)) in run()
DLoopUnrollPass.cpp179 BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI, int OptLevel, in gatherUnrollingPreferences() argument
188 UP.Threshold = OptLevel > 2 ? 300 : 150; in gatherUnrollingPreferences()
1017 ProfileSummaryInfo *PSI, bool PreserveLCSSA, int OptLevel, in tryToUnrollLoop() argument
1046 L, SE, TTI, BFI, PSI, OptLevel, ProvidedThreshold, ProvidedCount, in tryToUnrollLoop()
1182 int OptLevel; member in __anon2e5b0ef70711::LoopUnroll
1203 LoopUnroll(int OptLevel = 2, bool OnlyWhenForced = false, in LoopUnroll() argument
1211 : LoopPass(ID), OptLevel(OptLevel), OnlyWhenForced(OnlyWhenForced), in LoopUnroll()
1240 L, DT, LI, SE, TTI, AC, ORE, nullptr, nullptr, PreserveLCSSA, OptLevel, in runOnLoop()
1273 Pass *llvm::createLoopUnrollPass(int OptLevel, bool OnlyWhenForced, in INITIALIZE_PASS_DEPENDENCY()
1281 OptLevel, OnlyWhenForced, ForgetAllSCEV, in INITIALIZE_PASS_DEPENDENCY()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DJITTargetMachineBuilder.h95 JITTargetMachineBuilder &setCodeGenOptLevel(CodeGenOpt::Level OptLevel) { in setCodeGenOptLevel() argument
96 this->OptLevel = OptLevel; in setCodeGenOptLevel()
146 CodeGenOpt::Level OptLevel = CodeGenOpt::None; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetMachine.cpp61 CodeGenOpt::Level OptLevel, bool JIT) in LanaiTargetMachine() argument
65 OptLevel), in LanaiTargetMachine()
67 OptLevel), in LanaiTargetMachine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCISelDAGToDAG.cpp41 ARCDAGToDAGISel(ARCTargetMachine &TM, CodeGenOpt::Level OptLevel) in ARCDAGToDAGISel() argument
42 : SelectionDAGISel(TM, OptLevel) {} in ARCDAGToDAGISel()
71 CodeGenOpt::Level OptLevel) { in createARCISelDag() argument
72 return new ARCDAGToDAGISel(TM, OptLevel); in createARCISelDag()
DARC.h26 CodeGenOpt::Level OptLevel);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelDAGToDAG.cpp41 CodeGenOpt::Level OptLevel) in WebAssemblyDAGToDAGISel() argument
42 : SelectionDAGISel(TM, OptLevel), Subtarget(nullptr) { in WebAssemblyDAGToDAGISel()
236 CodeGenOpt::Level OptLevel) { in createWebAssemblyISelDag() argument
237 return new WebAssemblyDAGToDAGISel(TM, OptLevel); in createWebAssemblyISelDag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/
DScalar.h192 Pass *createLoopUnrollPass(int OptLevel = 2, bool OnlyWhenForced = false,
198 Pass *createSimpleLoopUnrollPass(int OptLevel = 2, bool OnlyWhenForced = false,
205 Pass *createLoopUnrollAndJamPass(int OptLevel = 2);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp217 SavedOptLevel = IS.OptLevel; in OptLevelChanger()
220 IS.OptLevel = NewOptLevel; in OptLevelChanger()
237 if (IS.OptLevel == SavedOptLevel) in ~OptLevelChanger()
241 LLVM_DEBUG(dbgs() << "\tBefore: -O" << IS.OptLevel << " ; After: -O" in ~OptLevelChanger()
243 IS.OptLevel = SavedOptLevel; in ~OptLevelChanger()
253 CodeGenOpt::Level OptLevel) { in createDefaultScheduler() argument
258 if (auto *SchedulerCtor = ST.getDAGScheduler(OptLevel)) { in createDefaultScheduler()
259 return SchedulerCtor(IS, OptLevel); in createDefaultScheduler()
262 if (OptLevel == CodeGenOpt::None || in createDefaultScheduler()
265 return createSourceListDAGScheduler(IS, OptLevel); in createDefaultScheduler()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp230 unsigned OptLevel, bool Freestanding, in optimizeModule() argument
239 PMB.OptLevel = OptLevel; in optimizeModule()
319 const GVSummaryMapTy &DefinedGVSummaries, unsigned OptLevel, in ModuleCacheEntry() argument
334 Conf.OptLevel = OptLevel; in ModuleCacheEntry()
408 bool Freestanding, unsigned OptLevel, unsigned count) { in ProcessThinLTOModule() argument
440 optimizeModule(TheModule, TM, OptLevel, Freestanding, &Index); in ProcessThinLTOModule()
851 optimizeModule(TheModule, *TMBuilder.create(), OptLevel, Freestanding, in optimize()
1053 DefinedGVSummaries, OptLevel, Freestanding, in run()
1099 DisableCodeGen, SaveTempsDir, Freestanding, OptLevel, count); in run()
DLTOBackend.cpp157 unsigned OptLevel, bool IsThinLTO, in runNewPMPasses() argument
202 switch (OptLevel) { in runNewPMPasses()
289 PMB.OptLevel = Conf.OptLevel; in runOldPMPasses()
311 runNewPMPasses(Conf, Mod, TM, Conf.OptLevel, IsThinLTO, ExportSummary, in opt()
DLTOCodeGenerator.cpp202 OptLevel = Level; in setOptLevel()
203 switch (OptLevel) { in setOptLevel()
571 PMB.OptLevel = OptLevel; in optimize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp41 XCoreDAGToDAGISel(XCoreTargetMachine &TM, CodeGenOpt::Level OptLevel) in XCoreDAGToDAGISel() argument
42 : SelectionDAGISel(TM, OptLevel) {} in XCoreDAGToDAGISel()
83 CodeGenOpt::Level OptLevel) { in createXCoreISelDag() argument
84 return new XCoreDAGToDAGISel(TM, OptLevel); in createXCoreISelDag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430ISelDAGToDAG.cpp94 MSP430DAGToDAGISel(MSP430TargetMachine &TM, CodeGenOpt::Level OptLevel) in MSP430DAGToDAGISel() argument
95 : SelectionDAGISel(TM, OptLevel) {} in MSP430DAGToDAGISel()
127 CodeGenOpt::Level OptLevel) { in createMSP430ISelDag() argument
128 return new MSP430DAGToDAGISel(TM, OptLevel); in createMSP430ISelDag()
354 IsLegalToFold(N1, Op, Op, OptLevel)) { in tryIndexedBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DExecutionEngine.h44 unsigned OptLevel; member
84 unsigned OptLevel,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h97 void setOptLevel(unsigned OptLevel);
237 unsigned OptLevel = 2; member
DThinLTOCodeGenerator.h226 OptLevel = (NewOptLevel > 3) ? 3 : NewOptLevel; in setOptLevel()
343 unsigned OptLevel = 3; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPU.h38 FunctionPass *createR600ISelDag(TargetMachine *TM, CodeGenOpt::Level OptLevel);
188 CodeGenOpt::Level OptLevel = CodeGenOpt::Default);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.h36 CodeGenOpt::Level OptLevel) in HexagonDAGToDAGISel() argument
37 : SelectionDAGISel(tm, OptLevel), HST(nullptr), HII(nullptr), in HexagonDAGToDAGISel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetMachine.cpp238 CodeGenOpt::Level TargetMachine::getOptLevel() const { return OptLevel; } in getOptLevel()
240 void TargetMachine::setOptLevel(CodeGenOpt::Level Level) { OptLevel = Level; } in setOptLevel()

1234