search for: passconcept

Displaying 2 results from an estimated 2 matches for "passconcept".

2018 Sep 02
2
possible inconsistency in PassManagerInternal.h
...udying the structure of the new PassManager in the hopes of using it soon. After watching a couple of talks (Chandler / Sergeev), I decided to start with the Concept/Model classes in PassManagerInternal.h While I could make sense of almost everything there, two details caught my attention: 1- The PassConcept abstract class has a function `run = 0;` which returns an object of type `PreservedAnalysis`. Such object is forward-declared in this header, but it is defined in PassManager.h This is the only place in the file where we reference this class. However, right after, we define the PassModel class wh...
2014 Jun 18
2
[LLVMdev] PM: High-level review of the new Pass Manager (so far)
...t's a huge step to have an AnalysisManager that can reason about analyses separately from the pass pipeline. I haven't analysed the algorithms in LazyCallGraph carefully, but I think it's great that they keep the traversal valid amid a changing call graph. Questions and concerns: 1. PassConcept requires a `name()` for passes. Why don't AnalysisPassConcept and AnalysisResultConcept? 2. AnalysisManagerBase defines two versions of `invalidate()` -- one of which takes a `Module*` (instead of `IRUnitT`). It's not clear to me why the analysis managers (other than ModuleA...