Displaying 7 results from an estimated 7 matches for "jschmitt".
Did you mean:
schmitt
2008 Dec 04
1
[LLVMdev] optimization whith call of Intrinsics
Thanks Eli.
I will try your solution, but then, what is the difference between
[IntrReadArgMem] and
[IntrReadMem] when specifying an intrinsic ? It seems that both options
specify that a function is 'readonly'
(maybe the difference is not well supported for then moment ?)
Julien
> Dead store elimination is that pass that could do the optimizations in
> question. The second
2008 Dec 04
0
[LLVMdev] optimization whith call of Intrinsics
On Thu, Dec 4, 2008 at 7:38 AM, Julien Schmitt <jschmitt at dibcom.fr> wrote:
> Dear LLVMer ;
>
> i'm trying to use LLVM for a specific target, using different memory banks.
> I have written the frontend to generate a valid IR and want to use the
> existing passes (as defined in tool opt) to optimize the code.
>
> The target h...
2008 Dec 04
2
[LLVMdev] optimization whith call of Intrinsics
Dear LLVMer ;
i'm trying to use LLVM for a specific target, using different memory banks.
I have written the frontend to generate a valid IR and want to use the
existing passes (as defined in tool opt) to optimize the code.
The target has specific instructions, so following advices given in
documentation, I created an intrinsic function, with attribute
[IntrReadArgMem].
My test case is
2008 Dec 09
2
[LLVMdev] AliasAnalysis tutorial
Hi !
I'm writting an AliasAnalysis using the online tutorial
(http://www.llvm.org/docs/AliasAnalysis.html).
My problem is to chain this pass (function Pass in my case) with the
basicAA ...
I know that my pass is running (runOnFunction) but the virtual methods
derived from AliasAnalysis
(alias, getModRefInfo, etc ... ) are never called (even in the case
wherer the basicAA reaches the end
2008 Dec 09
1
[LLVMdev] AliasAnalysis tutorial 2
Hi !
In my quest of implementing my own AA, i understood that it doesn't work
because i don't use the 'opt' tool but i create my own PassManager (this
for other reasons).
The problem is the same with other existing AA (AndersensPass or
globalModRefPass) :
these AApasses are not chained with the basicAA when they are created in
PassManager ...
So my question is now : how to
2008 Dec 10
0
[LLVMdev] AliasAnalysis tutorial 2
Well, now i added the creation of my AA just before the
creation of DSE, (in the former case it was done at top of all passes list)
and it's working (alias and getModRefInfo are called)...
Maybe a particular pass destroyed the AliasAnalysGroup ??
However he solution is not very clean, since i don't know which
pass need an AA (i guess this should be automatic whith the
method
2008 Dec 10
2
[LLVMdev] AliasAnalysis tutorial 2
Thank you very much John for your answer , you understood well my problem
(and the signification of my "own" PassManager).
I already tried your solution but it is not enough. The problem is the
same with
existing AA (andersen for example) : when calling with opt, this works
well, but
when adding in local PassManager ( with add() ), it is not working (I
test this with
the