Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] DominanceFrontier"
2012 Aug 21
0
[LLVMdev] DominanceFrontier
George Baah <georgebaah at gmail.com> writes:
> Hi Guys,
>
> I saw in the API that DominanceFrontier has been deprecated. Is this
> for real?
> I have read the computational issues but shouldn't that be left to the
> users of llvm?
> My concern is I am writing a Control Dependence module that uses
> Dominance-Frontier information.
> Getting rid of Dominance
2012 Aug 20
0
[LLVMdev] DominanceFrontier
Hi George,
> I saw in the API that DominanceFrontier has been deprecated. Is this for real?
> I have read the computational issues but shouldn't that be left to the users of
> llvm?
> My concern is I am writing a Control Dependence module that uses
> Dominance-Frontier information.
> Getting rid of Dominance Frontiers will put me in a tight spot.
if the dominancefrontier
2015 Jun 29
2
[LLVMdev] Inferring dependencies in phi instructions
On Mon, Jun 29, 2015 at 10:16 AM, Evgeny Astigeevich
<Evgeny.Astigeevich at arm.com> wrote:
> Hi Anirudh,
>
>
>
> I hope these lecture slides about SSA and the dominance frontier will help
> you with SSA and control flow analysis:
>
>
>
> http://www.seas.harvard.edu/courses/cs252/2011sp/slides/Lec04-SSA.pdf
>
>
>
> Unfortunately a use of
2013 Nov 02
0
[LLVMdev] DominanceFrontier/PostDominanceFrontier for PRE
Hi,
I'm not able to answer your question. I'm wondering if you can
create your own if it is just your own hobby project,
or a project that you don't have to commit to the main repository.
Creating DominatorFrontier seems to be expensive. However, if you
are using bit-vector to represent a basic-block-set, I
guess it can be done in linear time in practice. Following is the
2013 Nov 02
2
[LLVMdev] DominanceFrontier/PostDominanceFrontier for PRE
Hi all,
Does anyone know how to recreate the DominanceFronter and
PostDominanceFrontier structures using the API of the latest release? To my
knowledge, these are needed to implement a PRE pass (as done in the
past<https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_13/lib/Transforms/Scalar/PRE.cpp>),
but they were removed a while ago for efficiency reasons. Is there a better
way to
2013 Nov 03
4
[LLVMdev] DominanceFrontier/PostDominanceFrontier for PRE
Is there a reason this is better than the modified algorithm created
by Ferrante?
It looks like yours has as bad a worst case time bound in reality.
That is, the algorithm runs in O(sum of the size of all the dominance
frontiers).
http://www.cs.rice.edu/~keith/Embed/dom.pdf
See figure 5. It will only touch nodes actually in the dominance frontier.
This is what GCC uses.
There are actually real
2013 Nov 03
0
[LLVMdev] DominanceFrontier/PostDominanceFrontier for PRE
On Sun, Nov 3, 2013 at 1:02 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
> Is there a reason this is better than the modified algorithm created
> by Ferrante?
> It looks like yours has as bad a worst case time bound in reality.
> That is, the algorithm runs in O(sum of the size of all the dominance
> frontiers).
>
> http://www.cs.rice.edu/~keith/Embed/dom.pdf
>
2011 Dec 23
4
[LLVMdev] dominance frontiers
Reading the comments in Analysis/DominanceFrontier.h, I see a note that the
structure is deprecated and we're not to use it for anything new.
Has it been replaced with something equally useful, or shall I redo the
calculation for myself, or ...?
Thanks,
Preston
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Apr 12
2
[LLVMdev] Control Dependence Graph builder
Thank you John.
Actually the opt tool (from LLVM 3.2 version) can generate the needed graphs
(with pass "-domfrontier").
But I just want to surely know is there some pass or builder which can be
integrated somehow so it will be possible directly to generate CDG?
--
View this message in context: http://llvm.1065342.n5.nabble.com/Control-Dependence-Graph-builder-tp56687p56689.html
Sent
2011 Dec 23
0
[LLVMdev] dominance frontiers
On Dec 23, 2011, at 1:35 PM, Preston Briggs wrote:
> Reading the comments in Analysis/DominanceFrontier.h, I see a note that the structure is deprecated and we're not to use it for anything new.
>
> Has it been replaced with something equally useful, or shall I redo the calculation for myself, or ...?
We're hoping to remove them, because they're inherently an N^2 data
2012 Jul 13
2
[LLVMdev] Does the pass -postdomfrontier exist?
On 07/13/2012 04:30 PM, Duncan Sands wrote:
> Hi,
>
>> I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but
>> 'opt' does not accept it. I could not find the relevant codes in
>> PostDominance.cpp in SVN trunk, but I found some relevant codes here
>> http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp.
2012 Jul 13
4
[LLVMdev] Does the pass -postdomfrontier exist?
Hi,
I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but
'opt' does not accept it. I could not find the relevant codes in
PostDominance.cpp in SVN trunk, but I found some relevant codes here
http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp.
I am wondering why this pass is removed and what should I do if I want
the post
2013 Apr 12
0
[LLVMdev] Control Dependence Graph builder
On 4/12/13 3:19 PM, Arsen wrote:
> Thank you John.
> Actually the opt tool (from LLVM 3.2 version) can generate the needed graphs
> (with pass "-domfrontier").
> But I just want to surely know is there some pass or builder which can be
> integrated somehow so it will be possible directly to generate CDG?
Yes and no. There's isn't a control dependence pass in LLVM
2013 Nov 03
0
[LLVMdev] DominanceFrontier/PostDominanceFrontier for PRE
On Sun, Nov 3, 2013 at 1:02 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
> As for a "better" way to implement PRE, it depends on what algorithm
> you want to use. If you just want to write a PRE pass, that's easy
> enough without dominance frontiers.
>
I simply want to write a PRE pass to get a better understanding of the
transformation. Any tips on where to
2010 Jun 29
3
[LLVMdev] Queries of an invalidated AA ModulePass
Hi all,
While working on a loadable Alias Analysis module pass, I'm running
into the following issue:
I'm finding my pass queried for results after it has had
'releaseMemory' called on it and its dependencies, but before
runOnModule is called again (on my pass or its deps). As you might
expect, this makes my pass rather unhappy (and I think correctly so).
This happens with LICM
2012 Jul 13
0
[LLVMdev] Does the pass -postdomfrontier exist?
Hi shadowkernel,
> I searched the archives and found
> http://llvm.1065342.n5.nabble.com/post-dominance-frontier-fix-td10221.html
> http://llvm.1065342.n5.nabble.com/Is-there-a-control-dependence-graph-builder-td35919.html#a35921
> http://llvm.1065342.n5.nabble.com/post-dominance-frontier-td6783.html
>
> It seems none of them are relevant. Could you give me more hints about
2013 Nov 04
1
[LLVMdev] DominanceFrontier/PostDominanceFrontier for PRE
On Sun, Nov 3, 2013 at 9:19 AM, Christopher Wood
<christopherwood07 at gmail.com> wrote:
> On Sun, Nov 3, 2013 at 1:02 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
>>
>> As for a "better" way to implement PRE, it depends on what algorithm
>> you want to use. If you just want to write a PRE pass, that's easy
>> enough without dominance
2013 Apr 12
2
[LLVMdev] Control Dependence Graph builder
Hello All,
I am interested in Control Dependence Graph building using the CFG and
Dominance Frontier provided by corresponding passes. Just wandering whether
LLVM provides some kind of pass or builder which will generate the Control
Dependence Graph?
Thanks,
Arsen
--
View this message in context: http://llvm.1065342.n5.nabble.com/Control-Dependence-Graph-builder-tp56687.html
Sent from the
2014 Jun 27
3
[LLVMdev] The implementation algorithm behind LLVM's RegionInfo class
Thanks very much for the quick response. I have read the text many times,
but it was not very clear to me why checking the two conditions involving
dominance frontiers is equivalent to proving the pair {entry, exit} defines
a refined region. I was asking for an mathematical proof really. It sounds
to me like there should be a theorem or two in the graph theory endorsing
it. Or do you mean, the
2019 Jan 29
2
Finding label of basic block where a conditional branch merges
Joshua, David
much appreciate your quick help!
What I am actually doing is statically tracing values. If one of the traced values is part of a condition (e.g. in an if statement) all instructions in the then and else part are also traced. The automatic tracing of instructions however needs to stop when I hit the first instruction after the if statement (same for switch).
Dominators seem to be a