search for: transform1

Displaying 5 results from an estimated 5 matches for "transform1".

Did you mean: transforms
2014 Jun 13
2
[LLVMdev] Passes calling
...nvalidated analysis. I supposed that set by default contains all the cached analyses and the transform selectively prunes what it preserves? Here is a simple example of my ideal model—just a rough idea: 1. DomTree and LoopInfo analyses run. They register with the PassManager as CFG dependents. 2. Transform1 runs and acquires a reference to this function’s DomTree 3. Transform1 adds a CFG edge 4. Transform1 immediately notifies the PassManager that all analyses depending on the CFG must be invalidated 5. PassManager invalidates its reference to the DomTree and LoopInfo 6. Transform1 incrementally updat...
2014 Jun 13
2
[LLVMdev] Passes calling
On Jun 12, 2014, at 9:41 AM, Chandler Carruth <chandlerc at google.com> wrote: > > On Thu, Jun 12, 2014 at 5:23 PM, John Criswell <criswell at illinois.edu> wrote: > On 6/12/14, 11:03 AM, Chandler Carruth wrote: >> >> On Thu, Jun 12, 2014 at 4:45 PM, Hanbing Li <hanbing.li at inria.fr> wrote: >> Hi, >> >> I know when a pass needs other
2008 Jun 24
2
[LLVMdev] undefined reference to .Llabel
...k -o exe.comb.bc x.bc y.bc // Next we run several steps that involve: // - linking the combined bc file with support code // - running the combined bc file through a transform of mine // For example: 3: llvm-link -o exe.comb.support1.bc exe.comb.bc support1.bc 4: opt -load=mytransformlib.so -mytransform1 -o exe.comb.support1.transform1.bc exe.comb.support1.bc ... // After performing those steps, we link the result and form a // native executable 5: llvm-ld -native -o exe exe.comb.support1.transform1.bc ------------------------------ My problem is that if I use the -g option in lines 1 and 2,...
2012 Apr 25
0
[LLVMdev] Tool for loop transformations
...-debug-pass=Structure when using opt, and the PassManager will print the call list for you. If you want only one transformation to be called, you could disable in opt all analysis and transformations (I guess -o0 is the default), and enable only the ones that you are interested in (something like -transform1 -transform2 etc.). Keep in mind that the transformations could need different types of analysis (that will be also printed by the PassManager), and, sometimes, should be interesting for a transformation the combination of it with another transformations that only will clean up the code (such as dea...
2012 Apr 24
4
[LLVMdev] Tool for loop transformations
Hi everyone! I would like to create a tool which would "simulate" several loop transformations. It should serve as a part of my bachelor thesis. Typical usage of that tool would be this: Mark a loop in a source (probably C/C++) file and specify desired transformation in a predefined way (for example a special comment or something). -> Run the tool on that "crafted"