search for: pgoinstrumentationuse

Displaying 10 results from an estimated 10 matches for "pgoinstrumentationuse".

2018 Aug 15
2
Queries Regarding Usage of PGOInstrumentation Passes instead of Deprecated ProfileInfo
...nd BlockFrequency, I wish to update the above snippet, in particular, obtaining the edge weights (highlighted in the code above) using the new tools. In order to do that, I'm first generating edge count profile by the PGOInstrumentationGen pass and then interpreting the edge count profile with PGOInstrumentationUse. In the original code, where I had au.addRequired< ProfileInfo >(), I now have *au.addRequired< BlockFrequencyInfoWrapperPass >();au.addRequired< BranchProbabilityInfoWrapperPass >();* Now, I have the following queries. - How do I use the edge count and branch weights data...
2018 Aug 15
3
Queries Regarding Usage of PGOInstrumentation Passes instead of Deprecated ProfileInfo
...e snippet, in particular, obtaining the edge weights (highlighted >> in the code above) using the new tools. >> >> In order to do that, I'm first generating edge count profile by the >> PGOInstrumentationGen pass and then interpreting the edge count profile >> with PGOInstrumentationUse. >> >> In the original code, where I had >> au.addRequired< ProfileInfo >(), I now have >> >> >> *au.addRequired< BlockFrequencyInfoWrapperPass >();au.addRequired< >> BranchProbabilityInfoWrapperPass >();* >> Now, I have the followin...
2018 Aug 15
2
Queries Regarding Usage of PGOInstrumentation Passes instead of Deprecated ProfileInfo
...edge >>>> weights (highlighted in the code above) using the new tools. >>>> >>>> In order to do that, I'm first generating edge count profile by the >>>> PGOInstrumentationGen pass and then interpreting the edge count profile >>>> with PGOInstrumentationUse. >>>> >>>> In the original code, where I had >>>> au.addRequired< ProfileInfo >(), I now have >>>> >>>> >>>> *au.addRequired< BlockFrequencyInfoWrapperPass >();au.addRequired< >>>> BranchProbabilityIn...
2019 Aug 22
3
[RFC] Adding target-specific overrides for Indirect Call Promotion
...mInfo` (TTI) about the above 3 values (basically add 3 integer-returning query functions).</font></div><div style="box-sizing: inherit;"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" style="box-sizing: inherit;"> - make `PGOinstrumentationUse`, `PGOIndirectCallPromotion`, and `ModuleSummaryIndexAnalysis` passes require the `TargetIRAnalysis` pass so that they can access the TTI instance, and pass it to `ICallPromotionAnalysis`.</font></div><div style="box-sizing: inherit;"><font face="Verdana, Arial,...
2019 Mar 01
4
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...4] For example, we could check whether the module has the profile summary > metadata annotated when building pass pipelines but we don’t always pass > the module down to the place where we build pass pipelines. > [5] By inserting RequireAnalysisPass<ProfileSummaryInfo> after the > PGOInstrumentationUse and the SampleProfileLoaderPass passes (and around > the PGOIndirectCallPromotion pass for the Thin LTO post link pipeline.) > [6] For example, the context-sensitive PGO. > [7] Directly calling its constructor along with the dependent analyses > results, eg. the jump threading pass. &gt...
2019 Feb 27
2
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...post link builds. [4] For example, we could check whether the module has the profile summary metadata annotated when building pass pipelines but we don’t always pass the module down to the place where we build pass pipelines. [5] By inserting RequireAnalysisPass<ProfileSummaryInfo> after the PGOInstrumentationUse and the SampleProfileLoaderPass passes (and around the PGOIndirectCallPromotion pass for the Thin LTO post link pipeline.) [6] For example, the context-sensitive PGO. [7] Directly calling its constructor along with the dependent analyses results, eg. the jump threading pass. -------------- next par...
2019 Mar 04
2
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...we could check whether the module has the profile >> summary metadata annotated when building pass pipelines but we don’t always >> pass the module down to the place where we build pass pipelines. >> [5] By inserting RequireAnalysisPass<ProfileSummaryInfo> after the >> PGOInstrumentationUse and the SampleProfileLoaderPass passes (and around >> the PGOIndirectCallPromotion pass for the Thin LTO post link pipeline.) >> [6] For example, the context-sensitive PGO. >> [7] Directly calling its constructor along with the dependent analyses >> results, eg. the jump thr...
2019 Mar 04
2
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...ta annotated when building >>> pass pipelines but we don’t always pass the module down >>> to the place where we build pass pipelines. >>> [5] By inserting RequireAnalysisPass<ProfileSummaryInfo> >>> after the PGOInstrumentationUse and the >>> SampleProfileLoaderPass passes (and around the >>> PGOIndirectCallPromotion pass for the Thin LTO post link >>> pipeline.) >>> [6] For example, the context-sensitive PGO. >>> [7] Dir...
2019 Mar 13
2
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...s >>>> the module down to the place where we build pass >>>> pipelines. >>>> [5] By inserting >>>> RequireAnalysisPass<ProfileSummaryInfo> after the >>>> PGOInstrumentationUse and the >>>> SampleProfileLoaderPass passes (and around the >>>> PGOIndirectCallPromotion pass for the Thin LTO post >>>> link pipeline.) >>>> [6] For example, the context-sensitive PGO....
2019 Mar 13
1
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...ss the module down to the place >>>>> where we build pass pipelines. >>>>> [5] By inserting >>>>> RequireAnalysisPass<ProfileSummaryInfo> after >>>>> the PGOInstrumentationUse and the >>>>> SampleProfileLoaderPass passes (and around the >>>>> PGOIndirectCallPromotion pass for the Thin LTO >>>>> post link pipeline.) >>>>> [6] For exam...