| /openbsd-src/gnu/llvm/llvm/lib/Passes/ |
| H A D | PassBuilderBindings.cpp | 30 PipelineTuningOptions PTO = PipelineTuningOptions()) in LLVMPassBuilderOptions() argument 31 : DebugLogging(DebugLogging), VerifyEach(VerifyEach), PTO(PTO) {} in LLVMPassBuilderOptions() 35 PipelineTuningOptions PTO; member in llvm::LLVMPassBuilderOptions 56 PassBuilder PB(Machine, PassOpts->PTO, std::nullopt, &PIC); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 98 unwrap(Options)->PTO.LoopInterleaving = LoopInterleaving; in LLVMPassBuilderOptionsSetLoopInterleaving() 103 unwrap(Options)->PTO.LoopVectorization = LoopVectorization; in LLVMPassBuilderOptionsSetLoopVectorization() 108 unwrap(Options)->PTO.SLPVectorization = SLPVectorization; in LLVMPassBuilderOptionsSetSLPVectorization() 113 unwrap(Options)->PTO.LoopUnrolling = LoopUnrolling; in LLVMPassBuilderOptionsSetLoopUnrolling() 118 unwrap(Options)->PTO.ForgetAllSCEVInLoopUnroll = ForgetAllSCEVInLoopUnroll; in LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll() 123 unwrap(Options)->PTO.LicmMssaOptCap = LicmMssaOptCap; in LLVMPassBuilderOptionsSetLicmMssaOptCap() [all …]
|
| H A D | PassBuilderPipelines.cpp | 372 LPM1.addPass(LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildO1FunctionSimplificationPipeline() 378 LPM1.addPass(LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildO1FunctionSimplificationPipeline() 403 /* OnlyWhenForced= */ !PTO.LoopUnrolling, in buildO1FunctionSimplificationPipeline() 404 PTO.ForgetAllSCEVInLoopUnroll)); in buildO1FunctionSimplificationPipeline() 554 LPM1.addPass(LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildFunctionSimplificationPipeline() 561 LPM1.addPass(LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildFunctionSimplificationPipeline() 588 /* OnlyWhenForced= */ !PTO.LoopUnrolling, in buildFunctionSimplificationPipeline() 589 PTO.ForgetAllSCEVInLoopUnroll)); in buildFunctionSimplificationPipeline() 658 LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildFunctionSimplificationPipeline() 721 std::move(FPM), PTO.EagerlyInvalidateAnalyses)); in addPGOInstrPasses() [all …]
|
| H A D | PassBuilder.cpp | 399 PassBuilder::PassBuilder(TargetMachine *TM, PipelineTuningOptions PTO, in PassBuilder() argument 402 : TM(TM), PTO(PTO), PGOOpt(PGOOpt), PIC(PIC) { in PassBuilder() 1201 PTO.LoopVectorization = in parseModulePass() 1203 PTO.SLPVectorization = in parseModulePass()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 823 PipelineTuningOptions PTO; in RunOptimizationPipeline() local 824 PTO.LoopUnrolling = CodeGenOpts.UnrollLoops; in RunOptimizationPipeline() 827 PTO.LoopInterleaving = CodeGenOpts.UnrollLoops; in RunOptimizationPipeline() 828 PTO.LoopVectorization = CodeGenOpts.VectorizeLoop; in RunOptimizationPipeline() 829 PTO.SLPVectorization = CodeGenOpts.VectorizeSLP; in RunOptimizationPipeline() 830 PTO.MergeFunctions = CodeGenOpts.MergeFunctions; in RunOptimizationPipeline() 833 PTO.CallGraphProfile = !CodeGenOpts.DisableIntegratedAS; in RunOptimizationPipeline() 850 PassBuilder PB(TM.get(), PTO, PGOOpt, &PIC); in RunOptimizationPipeline() 1159 Conf.PTO.LoopUnrolling = CGOpts.UnrollLoops; in runThinLTOBackend() 1162 Conf.PTO.LoopInterleaving = CGOpts.UnrollLoops; in runThinLTOBackend() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/opt/ |
| H A D | NewPMDriver.cpp | 410 PipelineTuningOptions PTO; in runPassPipeline() local 414 PTO.LoopUnrolling = !DisableLoopUnrolling; in runPassPipeline() 415 PassBuilder PB(TM, PTO, P, &PIC); in runPassPipeline()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Passes/ |
| H A D | PassBuilder.h | 98 PipelineTuningOptions PTO; variable 117 PipelineTuningOptions PTO = PipelineTuningOptions(),
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/LTO/ |
| H A D | Config.h | 193 PipelineTuningOptions PTO; member
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | LTO.cpp | 132 c.PTO.LoopVectorization = c.OptLevel > 1; in createConfig() 133 c.PTO.SLPVectorization = c.OptLevel > 1; in createConfig()
|
| /openbsd-src/gnu/llvm/llvm/lib/LTO/ |
| H A D | ThinLTOCodeGenerator.cpp | 249 PipelineTuningOptions PTO; in optimizeModule() local 250 PTO.LoopVectorization = true; in optimizeModule() 251 PTO.SLPVectorization = true; in optimizeModule() 252 PassBuilder PB(&TM, PTO, PGOOpt, &PIC); in optimizeModule()
|
| H A D | LTOCodeGenerator.cpp | 201 Config.PTO.LoopVectorization = Config.OptLevel > 1; in setOptLevel() 202 Config.PTO.SLPVectorization = Config.OptLevel > 1; in setOptLevel()
|
| H A D | LTOBackend.cpp | 262 PassBuilder PB(TM, Conf.PTO, PGOOpt, &PIC); in runNewPMPasses()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 322 Conf.PTO.LoopVectorization = Conf.OptLevel > 1; in run() 323 Conf.PTO.SLPVectorization = Conf.OptLevel > 1; in run()
|
| /openbsd-src/gnu/llvm/llvm/tools/gold/ |
| H A D | gold-plugin.cpp | 891 Conf.PTO.LoopVectorization = options::OptLevel > 1; in createLTO() 892 Conf.PTO.SLPVectorization = options::OptLevel > 1; in createLTO()
|
| /openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/ |
| H A D | ClangLinkerWrapper.cpp | 525 Conf.PTO.LoopVectorization = Conf.OptLevel > 1; 526 Conf.PTO.SLPVectorization = Conf.OptLevel > 1;
|