Displaying 3 results from an estimated 3 matches for "initialize_analysis_group".
2011 Jul 27
0
[LLVMdev] Analysis Groups in Mainline LLVM
Dear All,
What is the appropriate way to create analysis groups when using
mainline LLVM? Following the directions in the "Writing an LLVM Pass"
doesn't appear to work, and the INITIALIZE_ANALYSIS_GROUP() and
INITIALIZE_AG_PASS() macros seem to each call a function defined by the
other.
-- John T.
2010 Oct 08
1
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
...uctors. Don't use them if you don't want static constructors.
* WHAT THIS MEANS FOR LLVM DEVELOPERS
I have already done this work for all passes already in the LLVM tree, but developers need to be aware for future work:
You MUST use the new-style INITIALIZE_PASS, INITIALIZE_AG_PASS, and INITIALIZE_ANALYSIS_GROUP macros in place of the old-style RegisterPass<> templates. These macros will create an initializeMyPass() method, which you *MUST* declare in InitializePasses.h, and which you must add to your library's batch initialization method.
--Owen Anderson
2010 Oct 08
0
[LLVMdev] Fwd: Re: MAJOR API CHANGE: Pass initialization without static constructors
...you don't want static constructors.
>
> * WHAT THIS MEANS FOR LLVM DEVELOPERS
>
> I have already done this work for all passes already in the LLVM tree, but developers need to be aware for future work:
>
> You MUST use the new-style INITIALIZE_PASS, INITIALIZE_AG_PASS, and INITIALIZE_ANALYSIS_GROUP macros in place of the old-style RegisterPass<> templates. These macros will create an initializeMyPass() method, which you *MUST* declare in InitializePasses.h, and which you must add to your library's batch initialization method.
>
> --Owen Anderson
> _____________________...