search for: aamanager

Displaying 18 results from an estimated 18 matches for "aamanager".

2019 Jul 22
2
Run llvm pass from standalone project
...ing to use LLVM's AliasAnalysis pass, but from a standalone tool that uses llvm libraries. The following is the code snippet I am currently using. PassBuilder PB; auto mod_manager = ModuleAnalysisManager { }; PB.registerModuleAnalyses(mod_manager); AAResults& AAR = mod_manager.getResult<AAManager>(*M); But the code fails at .getResult with the following error: /llvm/include/llvm/IR/PassManager.h:778: typename PassT::Result& llvm::AnalysisManager<IRUnitT, ExtraArgTs>::getResult(IRUnitT&, ExtraArgTs ...) [with PassT = llvm::AAManager; IRUnitT = llvm::Module; ExtraArgTs = {};...
2017 Feb 14
2
addRequired() + getAnalysis() for new / non-legacy pass manager
Hi! I am trying to extend the native AliasAnalysis of LLVM to use an external analysis pass. Doing this with the legacy pass manager works fine through calling addRequired() in the getAnalysisUsage and getAnalysis() in function runOnFunction(). In the new pass manager, I haven't found a similar way of doing this. When running opt with -O3, I encounter the following error: >Assertion
2016 Jul 13
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...o pointers to other analyses. > VerifierAnalysis: No pointers to other analyses. > > Module alias analyses: 1/1 keeps pointer to other analysis. > GlobalsAA: Result keeps pointer to TLI (this is a function analysis). > > Function analyses: 9/17 keep pointers to other analysis > AAManager: Its Result holds TLI pointer and pointers to individual AA > result objects. > AssumptionAnalysis: No pointers to other analyses. > BlockFrequencyAnalysis: Its Result holds pointers to LoopInfo and BPI. > BranchProbabilityAnalysis: Stores no pointers to other analyses. (uses > LoopI...
2016 Jul 13
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
On Tue, Jul 12, 2016 at 11:34 PM Sean Silva <chisophugis at gmail.com> wrote: > On Tue, Jul 12, 2016 at 11:32 PM, Xinliang David Li <davidxl at google.com> > wrote: > >> >> >> On Tue, Jul 12, 2016 at 10:57 PM, Chandler Carruth <chandlerc at gmail.com> >> wrote: >> >>> Yea, this is a nasty problem. >>> >>> One
2016 Jul 14
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...sis: No pointers to other analyses. >>> >>> Module alias analyses: 1/1 keeps pointer to other analysis. >>> GlobalsAA: Result keeps pointer to TLI (this is a function analysis). >>> >>> Function analyses: 9/17 keep pointers to other analysis >>> AAManager: Its Result holds TLI pointer and pointers to individual AA >>> result objects. >>> AssumptionAnalysis: No pointers to other analyses. >>> BlockFrequencyAnalysis: Its Result holds pointers to LoopInfo and BPI. >>> BranchProbabilityAnalysis: Stores no pointers to...
2016 Jul 26
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...the > context (since you can currently only run a single pass pipeline > concurrently on a single LLVMContext)). The net result is that you can > specify a context-global "configuration" for each analysis type (not to be > confused with the analysis *result* type!). Right now, AAManager is the > only thing that uses it though (the "configuration" is the AA pipeline). > > > > btw, I've started to keep a log for this like I do for my projects at > home: > https://docs.google.com/document/d/1-nrq2y_hTiZhrsJDmH8TzFjFEeApfccs6wwGyaXjSkg/edit?usp=shari...
2016 Jul 13
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...ysis: No pointers to other analyses. > VerifierAnalysis: No pointers to other analyses. > Module alias analyses: 1/1 keeps pointer to other analysis. > GlobalsAA: Result keeps pointer to TLI (this is a function analysis). > Function analyses: 9/17 keep pointers to other analysis > AAManager: Its Result holds TLI pointer and pointers to individual AA > result objects. > AssumptionAnalysis: No pointers to other analyses. > BlockFrequencyAnalysis: Its Result holds pointers to LoopInfo and > BPI. > BranchProbabilityAnalysis: Stores no pointers to other analyses. > (use...
2016 Jul 27
0
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...text (since you can currently only run a single pass pipeline >> concurrently on a single LLVMContext)). The net result is that you can >> specify a context-global "configuration" for each analysis type (not to be >> confused with the analysis *result* type!). Right now, AAManager is the >> only thing that uses it though (the "configuration" is the AA pipeline). >> >> >> >> btw, I've started to keep a log for this like I do for my projects at >> home: >> https://docs.google.com/document/d/1-nrq2y_hTiZhrsJDmH8TzFjFEeApfc...
2016 Jul 22
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...dule alias analyses: 1/1 keeps pointer to other analysis. >>>>>>> GlobalsAA: Result keeps pointer to TLI (this is a function analysis). >>>>>>> >>>>>>> Function analyses: 9/17 keep pointers to other analysis >>>>>>> AAManager: Its Result holds TLI pointer and pointers to individual >>>>>>> AA result objects. >>>>>>> AssumptionAnalysis: No pointers to other analyses. >>>>>>> BlockFrequencyAnalysis: Its Result holds pointers to LoopInfo and >>>>&gt...
2016 Jul 16
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...>> >>>>> Module alias analyses: 1/1 keeps pointer to other analysis. >>>>> GlobalsAA: Result keeps pointer to TLI (this is a function analysis). >>>>> >>>>> Function analyses: 9/17 keep pointers to other analysis >>>>> AAManager: Its Result holds TLI pointer and pointers to individual AA >>>>> result objects. >>>>> AssumptionAnalysis: No pointers to other analyses. >>>>> BlockFrequencyAnalysis: Its Result holds pointers to LoopInfo and BPI. >>>>> BranchProbability...
2016 Jul 29
1
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...you can currently only run a single pass pipeline >>> concurrently on a single LLVMContext)). The net result is that you can >>> specify a context-global "configuration" for each analysis type (not to be >>> confused with the analysis *result* type!). Right now, AAManager is the >>> only thing that uses it though (the "configuration" is the AA pipeline). >>> >>> >>> >>> btw, I've started to keep a log for this like I do for my projects at >>> home: >>> https://docs.google.com/document/d/1-n...
2016 Jul 15
5
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...Result keeps pointer to TLI (this is a function > > > > > analysis). > > > > > > > > > > > > > > > Function analyses: 9/17 keep pointers to other analysis > > > > > > > > > > > > > > > AAManager: Its Result holds TLI pointer and pointers to > > > > > individual > > > > > AA > > > > > result objects. > > > > > > > > > > > > > > > AssumptionAnalysis: No pointers to other analyses. > > > &gt...
2016 Jul 25
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...; > > > > > > > > > > > > > > > > > > Function analyses: 9/17 keep pointers to other analysis > > > > > > > > > > > > > > > > > > > > > > > > > > > > AAManager: Its Result holds TLI pointer and pointers to > > > > > > > individual > > > > > > > AA > > > > > > > result objects. > > > > > > > > > > > > > > > > > > > > > > &g...
2016 Jul 15
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...; > > > > > > > > > > > > > > > > > > Function analyses: 9/17 keep pointers to other analysis > > > > > > > > > > > > > > > > > > > > > > > > > > > > AAManager: Its Result holds TLI pointer and pointers to > > > > > > > individual > > > > > > > AA > > > > > > > result objects. > > > > > > > > > > > > > > > > > > > > > > &g...
2016 Jul 15
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...; > > > > > > > > > > > > > > > > > > Function analyses: 9/17 keep pointers to other analysis > > > > > > > > > > > > > > > > > > > > > > > > > > > > AAManager: Its Result holds TLI pointer and pointers to > > > > > > > individual > > > > > > > AA > > > > > > > result objects. > > > > > > > > > > > > > > > > > > > > > > &g...
2016 Jul 15
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...;>>> Module alias analyses: 1/1 keeps pointer to other analysis. >>>>>> GlobalsAA: Result keeps pointer to TLI (this is a function analysis). >>>>>> >>>>>> Function analyses: 9/17 keep pointers to other analysis >>>>>> AAManager: Its Result holds TLI pointer and pointers to individual AA >>>>>> result objects. >>>>>> AssumptionAnalysis: No pointers to other analyses. >>>>>> BlockFrequencyAnalysis: Its Result holds pointers to LoopInfo and BPI. >>>>>> B...
2016 Aug 08
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...dule alias analyses: 1/1 keeps pointer to other analysis. >>>>>>> GlobalsAA: Result keeps pointer to TLI (this is a function analysis). >>>>>>> >>>>>>> Function analyses: 9/17 keep pointers to other analysis >>>>>>> AAManager: Its Result holds TLI pointer and pointers to individual >>>>>>> AA result objects. >>>>>>> AssumptionAnalysis: No pointers to other analyses. >>>>>>> BlockFrequencyAnalysis: Its Result holds pointers to LoopInfo and >>>>&gt...
2016 Jul 25
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...analysis. >>>>>>>>>> GlobalsAA: Result keeps pointer to TLI (this is a function analysis). >>>>>>>>>> >>>>>>>>>> Function analyses: 9/17 keep pointers to other analysis >>>>>>>>>> AAManager: Its Result holds TLI pointer and pointers to individual AA result objects. >>>>>>>>>> AssumptionAnalysis: No pointers to other analyses. >>>>>>>>>> BlockFrequencyAnalysis: Its Result holds pointers to LoopInfo and BPI. >>>>&gt...