Displaying 20 results from an estimated 900 matches similar to: "[LLVMdev] Seeking advice on Structural Analysis pass"
2010 Mar 19
1
[LLVMdev] Seeking advice on Structural Analysis pass
On 03/15/2010 05:51 PM, James Stanier wrote:
>
> Hi Tobias,
Hi,
>
> Thanks for getting back to me. I have just had a peek at the documentation
> for your region pass, and it looks really cool, and thanks also for the
> pointers to the literature.
>
> If you want an overview of how structural analysis works, some of the pages
> from Muchnick's textbook are available
2010 Mar 21
0
[LLVMdev] Seeking advice on Structural Analysis pass
On 03/16/2010 05:02 PM, James Stanier wrote:
>
> Hi Trevor,
>
> I just studied your diagrams -- I *think* that the "control tree" of
> structural analysis is not same as the "control flow tree" from your own
> Java work. However, as you understand your work more than I do, I present
> you with some fancy coloured diagrams that I drew that might help you
[LLVMdev] Add a function splitting pass to LLVM which extracts cold regions into their own functions
2012 May 21
1
[LLVMdev] Add a function splitting pass to LLVM which extracts cold regions into their own functions
Tobias,
Thanks for taking the time to summarize all this. It's a great writeup. I'm moving the thread to llvm-dev. My responses below.
On May 21, 2012, at 5:06 AM, Tobias Grosser <tobias at grosser.es> wrote:
> First of all some information about the RegionInfo pass:
>
> =======================================================================
> The very first paper I
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
2012 Jul 31
0
[LLVMdev] Assertion failure on region analysis
Hi ,
It will be good ,If you get us the sample that assert.
Thanks
~Umesh
On Tue, Jul 31, 2012 at 11:40 AM, 田中 太郎 <dontforgettobringatowel at live.jp>wrote:
>
> Hi all,
>
> I ran across an assertion failure while using region analysis in my passes.
> I get the same thing when doing: opt -regions -analyze
>
> [...]
> [1] entry => if.end
> End region tree
2014 Feb 06
2
[LLVMdev] The implementation algorithm behind LLVM's RegionInfo class
Hi Tobias,
Thanks a lot for the detailed reply. I am working on several new
optimizations for OpenCL kernels for a DSP architecture. The project itself
has an NDA associated with it, so I cannot go into more details, but the
source will be open to public after completion. One of the first steps is
to serialize the work-items in a work-group (e.g., insert nested loops
around REGIONs in
2012 Jul 31
2
[LLVMdev] Assertion failure on region analysis
Hi all,
I ran across an assertion failure while using region analysis in my passes.
I get the same thing when doing: opt -regions -analyze
[...]
[1] entry => if.end
End region tree
Printing analysis 'Detect single entry single exit regions' for function 'njDecodeSOF':
Region tree:
[0] entry => <Function Return>
[1] entry => return
[2] if.end => return
2012 Feb 07
2
3D confidence ellipsoid with ellipse projections onto 2D plane
I have a 3xN matrix of parameters obtained from N regressions where the 3
parameters are jointly statistically significant. I would like to reproduce
a 3D confidence ellipsoid projecting 2D ellipses onto the XY plane as in
Figure 5.2 in this
2011 Feb 03
1
[LLVMdev] Preserve RegionInfo after regionsimplify
Hi Tobias,
My RegionSimplify pass adds new exit node for refined regions to convert
them into simple region.
However, the RegionInfo pass does not seem to recognize those changes.
For example, in the attached file, bb4.region is supposed to be in the first
region.
My RegionExtractor pass required the extracted region to be simple.
Should we modify RegionInfo or is their away to preserve the
2010 Dec 09
2
[LLVMdev] Bad gcc versions
Török Edwin <edwintorok at gmail.com> writes:
>> > Which regression tests are failing with LLVM 2.8 and GCC 4.4.x?
>>
>> Too many to list.
>
> Can you give me 2 or 3 examples (that fail with LLVM 2.8 and GCC 4.4
> but work with LLVM 2.8 and GCC 4.3), also I'd like to know how they
> fail.
> If I have some time I'll check with my 4.4 to see if
2016 Feb 16
4
Mapping UIDs on Linux to same UID as AD-bound Mac is mapping to
Hi all
I have a Linux machine bound to AD, and a Mac bound to AD. Both have me log
in with different UIDs for the same AD user. This makes sense, as AD doesn't
have a UNIX-compliant uid/gid attribute.
One thing I have found that interests me is this:
https://books.google.com.au/books?id=yNILCwAAQBAJ
2012 Sep 17
1
[LLVMdev] Create superblock in LLVM IR
Last time I asked here about superblocks (which we were using in the
first version of ThreadSanitizer instrumentation) Tobias Grosser has
suggested to use RegionInfo:
did you have a look at the RegionInfo pass? It currently detects some
kind of refinded SESE regions. I use them in Polly and as far as I know
the Intel OpenCL SDK also uses them in some way. It is not SEME, but it
may
2014 Jun 27
2
[LLVMdev] The implementation algorithm behind LLVM's RegionInfo class
Hi Tobi,
I have one additional question about the RegionInfo::isRegion
function. In the second case (i.e. Entry dominates Exit), why is checking
the following two conditions are equivalent to checking it's a refined
region:
For any BB in DF(exit), 1) BB should be in DF(entry)
2) BB reachable only from entry through
a path passing exit.
2014 Feb 06
2
[LLVMdev] The implementation algorithm behind LLVM's RegionInfo class
Hi fellows,
I am writing to ask what is the algorithm implemented in LLVM's
RegionInfo.h/cpp. In the header file "RegionInfo.h", it says "Calculates a
program structure tree built out of single entry single exit regions
(defined in a 1994 paper called "The Program Structure Tree"). ... ... The
algorithm to calculate these data structures however is COMPLETELY
2010 Jul 27
0
[LLVMdev] DominanceFrontier for MachineBB
hi,
On Tue, Jul 27, 2010 at 3:32 PM, Tobias Grosser
<grosser at fim.uni-passau.de> wrote:
> On 07/27/10 09:24, Evan Cheng wrote:
>> Any chance you could templatify this so someone can add a MachineRegionInfo later? It would be useful for region based register allocation, etc.
>>
>> Thanks,
>>
>> Evan
>
> Hi Evan,
>
> ether did once a templated
2010 Dec 06
0
[LLVMdev] Question on using analysis passes to do program analysis
Hi everyone, I'm doing a bit of hacking on klee, which uses the llvm
libraries. For my purposes it would be most useful to know the information
that the RegionInfo pass (http://wiki.llvm.org/RegionInfo) produces; for
instance, I would like to take a BasicBlock and find out whether it
terminates a region, etc.
Now the thing is I have a pointer to a llvm::Module, and I know that you can
create
2010 Jul 20
0
[LLVMdev] Is structural analysis pass available?
On 07/20/10 02:24, Jianzhou Zhao wrote:
> Hi,
>
> Is the structural analysis pass discussed in
> http://comments.gmane.org/gmane.comp.compilers.llvm.devel/30213 still
> available to download?
Hi,
I recently proposed the RegionInfo pass for LLVM. It is not a complete
structural analysis pass, however it builds an sese region tree and can
probably be extended to classify the
2010 Mar 13
2
[LLVMdev] Seeking advice on Structural Analysis pass
Hi folks,
A few months back I finished writing and testing a pass which implements
"structural analysis" as described originally by Sharir in 1980 ("Structural
analysis: A new approach to flow analysis in optimizing compilers") and more
recently by Muchnick in Advanced Compiler Design and Implementation. It
analyses the CFG and recognises specific region schema, such as
2014 May 02
2
[LLVMdev] An unexpected behavior in RegionInfo's block_iterator
Hi Tobias,
Thanks so much for the quick response. Your approach fixes the issue.
On a bigger context, would it make more sense to make the region exit
part of the region? For example, a while loop gets lowered down to LLVM IR
contains while.cond, while.body and while.end. If one tries to use
RegionInfo as a substitute for structural analysis, she might think
while.end should belong to
2017 Jun 13
2
RFC: Dynamic dominators
Btw, here is another interesting paper about post-dominators and control
dependence:
https://pdfs.semanticscholar.org/cbb2/9a0e4895025bd9df24f9263217df12f1ed1e.pdf
I think a great outcome of your internship would be some precise
documentation regarding the guarantees the LLVM dominators give --
possibly also considering classic and weak control dependence and the
difference between