Home
last modified time | relevance | path

Searched refs:PTO (Results 1 – 14 of 14) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Passes/
H A DPassBuilderBindings.cpp30 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 DPassBuilderPipelines.cpp372 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 DPassBuilder.cpp399 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 DBackendUtil.cpp823 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 DNewPMDriver.cpp410 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 DPassBuilder.h98 PipelineTuningOptions PTO; variable
117 PipelineTuningOptions PTO = PipelineTuningOptions(),
/openbsd-src/gnu/llvm/llvm/include/llvm/LTO/
H A DConfig.h193 PipelineTuningOptions PTO; member
/openbsd-src/gnu/llvm/lld/ELF/
H A DLTO.cpp132 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 DThinLTOCodeGenerator.cpp249 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 DLTOCodeGenerator.cpp201 Config.PTO.LoopVectorization = Config.OptLevel > 1; in setOptLevel()
202 Config.PTO.SLPVectorization = Config.OptLevel > 1; in setOptLevel()
H A DLTOBackend.cpp262 PassBuilder PB(TM, Conf.PTO, PGOOpt, &PIC); in runNewPMPasses()
/openbsd-src/gnu/llvm/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp322 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 Dgold-plugin.cpp891 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 DClangLinkerWrapper.cpp525 Conf.PTO.LoopVectorization = Conf.OptLevel > 1;
526 Conf.PTO.SLPVectorization = Conf.OptLevel > 1;