search for: requireanalysispass

Displaying 7 results from an estimated 7 matches for "requireanalysispass".

2019 Mar 04
2
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...ysisPass for PSI before each >>> non-module pass that needs it. PSI can be technically >>> invalidated but unlikely. If it does, we insert another >>> RequiredAnalysisPass[6]. >>> >>> - Conditionally insert RequireAnalysisPass for BFI, if >>> PGO, right before each loop pass that needs it. This >>> doesn't seem avoidable because BFI can be invalidated >>> whenever the CFG changes. We detect PGO based on the >>> command line flags and/...
2019 Feb 27
2
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...rofile summary in the IR is written in the pass pipeline [5]. This would avoid the need to insert RequiredAnalysisPass for PSI before each non-module pass that needs it. PSI can be technically invalidated but unlikely. If it does, we insert another RequiredAnalysisPass [6]. - Conditionally insert RequireAnalysisPass for BFI, if PGO, right before each loop pass that needs it. This doesn't seem avoidable because BFI can be invalidated whenever the CFG changes. We detect PGO based on the command line flags and/or whether the module has the profile summary info (we may need to pass the module to more functions...
2019 Mar 01
4
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...ritten in the > pass pipeline [5]. This would avoid the need to insert RequiredAnalysisPass > for PSI before each non-module pass that needs it. PSI can be technically > invalidated but unlikely. If it does, we insert another RequiredAnalysisPass > [6]. > > - Conditionally insert RequireAnalysisPass for BFI, if PGO, right before > each loop pass that needs it. This doesn't seem avoidable because BFI can > be invalidated whenever the CFG changes. We detect PGO based on the command > line flags and/or whether the module has the profile summary info (we may > need to pass the modu...
2019 Mar 13
2
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
Overall seems fine to me. On 3/11/19 8:12 PM, Hiroshi Yamauchi wrote: > Here's a revised approach based on the discussion: > > - Cache PSI right after the profile summary in the IR is written in > the pass pipeline. This would avoid the need to insert > RequireAnalysisPass for PSI before each non-module pass that needs it. > PSI can be technically invalidated but unlikely as PSI is immutable. > If it does, we can insert another RequireAnalysisPass. ProfileSummaryInfo::invalidate always return false, so it does not need any extra handling (as soon as it finds...
2019 Mar 04
2
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...ass pipeline [5]. This would avoid the need to insert RequiredAnalysisPass >> for PSI before each non-module pass that needs it. PSI can be technically >> invalidated but unlikely. If it does, we insert another RequiredAnalysisPass >> [6]. >> >> - Conditionally insert RequireAnalysisPass for BFI, if PGO, right before >> each loop pass that needs it. This doesn't seem avoidable because BFI can >> be invalidated whenever the CFG changes. We detect PGO based on the command >> line flags and/or whether the module has the profile summary info (we >> may need...
2019 Mar 13
1
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...n-module pass that needs it. PSI can be >>>>> technically invalidated but unlikely. If it >>>>> does, we insert another RequiredAnalysisPass[6]. >>>>> >>>>> - Conditionally insert RequireAnalysisPass for >>>>> BFI, if PGO, right before each loop pass that >>>>> needs it. This doesn't seem avoidable because >>>>> BFI can be invalidated whenever the CFG >>>>>...
2019 Aug 07
2
Status of the New Pass Manager
On 8/7/19 6:20 PM, Hiroshi Yamauchi wrote: > I basically run "clang > -fexperimental-new-pass-manager -print-after-all ..." > > It's conceivable that something is different in our setup or in clang > (from opt)... I'll see if I can reproduce it outside our setup. Does it depend on machine architecture? I generally use x86... regards,   Fedor. > > Thanks.