Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilderBindings.cpp31 PipelineTuningOptions PTO = PipelineTuningOptions()) in LLVMPassBuilderOptions() argument
32 : DebugLogging(DebugLogging), VerifyEach(VerifyEach), PTO(PTO) {} in LLVMPassBuilderOptions()
36 PipelineTuningOptions PTO; member in llvm::LLVMPassBuilderOptions
57 PassBuilder PB(Machine, PassOpts->PTO, std::nullopt, &PIC); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
99 unwrap(Options)->PTO.LoopInterleaving = LoopInterleaving; in LLVMPassBuilderOptionsSetLoopInterleaving()
104 unwrap(Options)->PTO.LoopVectorization = LoopVectorization; in LLVMPassBuilderOptionsSetLoopVectorization()
109 unwrap(Options)->PTO.SLPVectorization = SLPVectorization; in LLVMPassBuilderOptionsSetSLPVectorization()
114 unwrap(Options)->PTO.LoopUnrolling = LoopUnrolling; in LLVMPassBuilderOptionsSetLoopUnrolling()
119 unwrap(Options)->PTO.ForgetAllSCEVInLoopUnroll = ForgetAllSCEVInLoopUnroll; in LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll()
124 unwrap(Options)->PTO.LicmMssaOptCap = LicmMssaOptCap; in LLVMPassBuilderOptionsSetLicmMssaOptCap()
[all …]
H A DPassBuilderPipelines.cpp460 LPM1.addPass(LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildO1FunctionSimplificationPipeline()
466 LPM1.addPass(LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildO1FunctionSimplificationPipeline()
490 /* OnlyWhenForced= */ !PTO.LoopUnrolling, in buildO1FunctionSimplificationPipeline()
491 PTO.ForgetAllSCEVInLoopUnroll)); in buildO1FunctionSimplificationPipeline()
641 LPM1.addPass(LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildFunctionSimplificationPipeline()
649 LPM1.addPass(LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildFunctionSimplificationPipeline()
681 /* OnlyWhenForced= */ !PTO.LoopUnrolling, in buildFunctionSimplificationPipeline()
682 PTO.ForgetAllSCEVInLoopUnroll)); in buildFunctionSimplificationPipeline()
748 LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in buildFunctionSimplificationPipeline()
800 std::move(FPM), PTO.EagerlyInvalidateAnalyses)); in addPreInlinerPasses()
[all …]
H A DPassBuilder.cpp425 PassBuilder::PassBuilder(TargetMachine *TM, PipelineTuningOptions PTO, in PassBuilder() argument
428 : TM(TM), PTO(PTO), PGOOpt(PGOOpt), PIC(PIC) { in PassBuilder()
1509 PTO.LoopVectorization = in parseModulePass()
1511 PTO.SLPVectorization = in parseModulePass()
1521 if (PTO.UnifiedLTO) in parseModulePass()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp848 PipelineTuningOptions PTO; in RunOptimizationPipeline() local
849 PTO.LoopUnrolling = CodeGenOpts.UnrollLoops; in RunOptimizationPipeline()
852 PTO.LoopInterleaving = CodeGenOpts.UnrollLoops; in RunOptimizationPipeline()
853 PTO.LoopVectorization = CodeGenOpts.VectorizeLoop; in RunOptimizationPipeline()
854 PTO.SLPVectorization = CodeGenOpts.VectorizeSLP; in RunOptimizationPipeline()
855 PTO.MergeFunctions = CodeGenOpts.MergeFunctions; in RunOptimizationPipeline()
858 PTO.CallGraphProfile = !CodeGenOpts.DisableIntegratedAS; in RunOptimizationPipeline()
859 PTO.UnifiedLTO = CodeGenOpts.UnifiedLTO; in RunOptimizationPipeline()
876 PassBuilder PB(TM.get(), PTO, PGOOpt, &PIC); in RunOptimizationPipeline()
1233 Conf.PTO.LoopUnrolling = CGOpts.UnrollLoops; in runThinLTOBackend()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.cpp434 PipelineTuningOptions PTO; in runPassPipeline() local
438 PTO.LoopUnrolling = !DisableLoopUnrolling; in runPassPipeline()
439 PTO.UnifiedLTO = UnifiedLTO; in runPassPipeline()
440 PassBuilder PB(TM, PTO, P, &PIC); in runPassPipeline()
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DConfig.h193 PipelineTuningOptions PTO; member
/freebsd/contrib/llvm-project/lld/ELF/
H A DLTO.cpp110 c.PTO.LoopVectorization = c.OptLevel > 1; in createConfig()
111 c.PTO.SLPVectorization = c.OptLevel > 1; in createConfig()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp252 PipelineTuningOptions PTO; in optimizeModule() local
253 PTO.LoopVectorization = true; in optimizeModule()
254 PTO.SLPVectorization = true; in optimizeModule()
255 PassBuilder PB(&TM, PTO, PGOOpt, &PIC); in optimizeModule()
H A DLTOCodeGenerator.cpp200 Config.PTO.LoopVectorization = Config.OptLevel > 1; in setOptLevel()
201 Config.PTO.SLPVectorization = Config.OptLevel > 1; in setOptLevel()
H A DLTOBackend.cpp271 PassBuilder PB(TM, Conf.PTO, PGOOpt, &PIC); in runNewPMPasses()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp344 Conf.PTO.LoopVectorization = Conf.OptLevel > 1; in run()
345 Conf.PTO.SLPVectorization = Conf.OptLevel > 1; in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/Passes/
H A DPassBuilder.h108 PipelineTuningOptions PTO; variable
127 PipelineTuningOptions PTO = PipelineTuningOptions(),