Displaying 3 results from an estimated 3 matches for "proposepass".
2011 Dec 02
5
[LLVMdev] Passes propose passes
..."I need at least one more $XYZ pass" call that can be
invoked from a Pass?
So my suggestion to implement in LLVM is:
- Detect where exactly constants are inserted
- Detect which pass is responsible to continue folding it
- Insert that pass if allowed and if it is not in the queue by a
ProposePass function
ProposePass should decide wether it's worth to further constant fold the
block by running the proposed pass. Once accepted, the pass should be
inserted into the pass queue at a position where it is most effective.
What do you think about that idea? How much would be the effort of
imp...
2011 Dec 02
0
[LLVMdev] Passes propose passes
...Z pass" call that can be
> invoked from a Pass?
>
> So my suggestion to implement in LLVM is:
> - Detect where exactly constants are inserted
> - Detect which pass is responsible to continue folding it
> - Insert that pass if allowed and if it is not in the queue by a
> ProposePass function
>
> ProposePass should decide wether it's worth to further constant fold the
> block by running the proposed pass. Once accepted, the pass should be
> inserted into the pass queue at a position where it is most effective.
>
> What do you think about that idea? How muc...
2011 Dec 05
0
[LLVMdev] Passes propose passes
...more $XYZ pass" call that can be invoked from a Pass?
>
> So my suggestion to implement in LLVM is:
> - Detect where exactly constants are inserted
> - Detect which pass is responsible to continue folding it
> - Insert that pass if allowed and if it is not in the queue by a ProposePass function
>
> ProposePass should decide wether it's worth to further constant fold the block by running the proposed pass. Once accepted, the pass should be inserted into the pass queue at a position where it is most effective.
>
> What do you think about that idea? How much would...