Displaying 20 results from an estimated 2259 matches for "traversal".
2006 Jan 10
0
[LLVMdev] passmanager, significant rework idea...
...l be required,
+// one ordered and another unordered. This will allow either batches of
+// Passes which can be run in parallel (unordered) or a sequence of Passes
+// which depend upon each other.
+
+//The following is the foundation for the above.
+
+class PassUnit {
+ Pass *pass;
+
+ enum Traversal {
+ LINEAR, // Standard top down traversal.
+ CALLGRAPHSCC // Bottom Up Traversal
+ };
+
+ Traversal traversal;
*** 'Traversals' as you have them here don't really make sense. The
notion of whether to run a Function pass in module order or in bottom-up-
on-the-callgra...
2006 Jan 10
3
[LLVMdev] passmanager, significant rework idea...
The patch below basically hammers out some ideas as to where I'd like
to take the passmanager in LLVM. I've tried thinking things through,
but I'm still a n00b, so some criticism would be more than welcome. =)
Starting from line 191 down. If you're wondering why I created a
patch, well that's because I found thinking in passmanagert.h the most
productive.
--
Regards.
2005 Dec 22
1
[LLVMdev] passmanagert and co improvement...
...problem as I see it.
We want to be able to manage the way passes traverse things, in
particular a module's worth of functions. As was in your example, we
want inliner and mem2reg calls interleaved, as we traverse functions
in callgraphscc order. More generally, we want the ability to specify
traversals. And specify passes that should use these traversals.
Currently, when you tell a function pass to go to work on a module, it
iterates through the module, as it pleases. Now, this behaviour is
fine, but insufficient.
What we want is the ability to say, function pass, "run on traversal"...
2010 Nov 24
2
[LLVMdev] A way to traverse machine basic blocks in order?
I'm looking for a way to traverse machine basic blocks in a specific order.
Basically I want all blocks that are predecessors to the current block to be traversed before the current block. I've looked at MachineDominatorTree but this doesn't traverse them in quite the way I want them to. Anyone know of a way to do this?
Thanks,
Micah
-------------- next part --------------
An HTML
2006 Jan 10
1
[LLVMdev] Re: passmanager, significant rework idea...
...nondot.org> wrote:
> Interesting approach. :)
Thanks.
> Comments below, with ***'s before the notes:
> +class LoopPass : public Pass {}; // Temporary.
>
> *** I wouldn't worry about loop passes yet.
Sure.
> +class PassUnit {
> + Pass *pass;
> +
> + enum Traversal {
> + LINEAR, // Standard top down traversal.
> + CALLGRAPHSCC // Bottom Up Traversal
> + };
> +
> + Traversal traversal;
>
> *** 'Traversals' as you have them here don't really make sense. The
> notion of whether to run a Function pass in module or...
2007 Oct 22
2
NAT traversal packet loss measurement
How can one measure the effect of NAT traversal packet loss?
We currently have no solution for NAT traversal for our SIP clients. There
is no doubt that packets are getting lost. What is not clear is how much
damage this does. On the face of it, everything seems fine. Could this be
so? Perhaps we're suffering a degradation in quality or our...
2009 May 01
1
question on aggregate
Hi,
I am trying to sum column information in a list with 3 instances.
For example:
ID Traversed ID Traversed ID Traversed
1 5 1 7 1 8
2 8 2 11 2 7
3 11 3 22 3 16
What I want to do is sum the
2010 Nov 24
0
[LLVMdev] A way to traverse machine basic blocks in order?
The reverse postorder iterator does what you want. It's defined in ADT/PostOrderIterator.h, and is used like this:
ReversePostOrderTraversal<Function*> RPOT(&F);
for (ReversePostOrderTraversal<Function*>::rpo_iterator RI = RPOT.begin(),
RE = RPOT.end(); RI != RE; ++RI)
<work here>
Creating a ReversePostOrderTraversal is not cheap, because it first has to do a postorder walk of the entire graph.
Camer...
2011 Jun 09
1
[LLVMdev] Traverse SelectionDAG in gdb
Hi,
I am some difficulty in traversing and quering about selectionDAG.
One great way of doing it is through Dot as described in the docs. However,
in my case the llvm source code is installed on a remote linux machine and I
am accessing it through a Windows PC. So the "popping out" of graphs is not
possible. Is there a way that I can dump the output of viewGraph() in a file
and run dot
2013 Dec 02
2
[LLVMdev] Segmentation fault when traverse call graph
Dear everyone,
I want to traverse call graph, but I have some trouble .
In my pass MyPass which need to traverse call graph, I firstly added the
CallGraph analysis to the pass requirements by
*AU.addRequired<CallGraph>();*
My pass MyPass then will be added to a pass manager by
*manager.add(new MyPass());*
and then I want to traverse the call graph such as:
CallGraph CG =
2011 Jan 13
2
[PATCH] One more -x to not traverse cyclic bind-mounts
This patch allows one to repeat the '-x' option a third time to stop
rsync from traversing potentially cyclic bind mounts that are on the
same filesystem.
For example, the following scenario would cyclically traverse the bind
mounts until the OS (Linux in this case) hits a maximum traversal count,
thank goodness. Other OSes may traverse the bind mount indefinitely...
su
cd
mkdir ~/cycle
touch ~/cycle/file.txt
mkdir ~/cycle/cycle
mount -o bind ~/cycle ~/cycle/cycle
rsync -avxx ~/cycle ~/cycle2
Please let me if there is any feedback on this patch and when/if this
patch can be merge...
2017 Aug 09
2
[ThinLTO] Suggestions on how to traverse SCCs in the Module Summary Index bottom up
Hey all,
I'm working on adding function attribute propagation to function summaries
in the ThinLTO index, and have run into some trouble with ensuring
bottom-up traversal when finding the SCCs in the call graph.
I'm basing my implementation for the GraphTraits for the ModuleSummaryIndex
off the GraphTraits<CallGraph *> implementation (
http://llvm-cs.pcc.me.uk/include/llvm/Analysis/CallGraph.h#407). In the
GraphTrait<CallGraph *> definition, the get...
2013 Dec 03
0
[LLVMdev] Segmentation fault when traverse call graph
I recall having a similar problem while coding my own special-purpose
"opt". My guess: try adding the following lines before your pass is
inserted into the PassManager:
PassRegistry &Registry = *PassRegistry::getPassRegistry();
initializeIPA(Registry);
You might require other library initializations. Have a look at the
"opt" source code.
On 02/12/13 10:36,
2009 Feb 17
2
install.rb:655:in `command'': system("make") failed (RuntimeError) (GatoLinux)
I am using ruby *1.8.4* (2005-12-24).
I added this code:
#define RARRAY_LEN(a) \
((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \
(long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \
(RARRAY_EMBED_LEN_MASK >> RARRAY_EMBED_LEN_SHIFT)) : \
RARRAY(a)->as.heap.len)
#define RARRAY_PTR(a) \
((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \
2016 Jun 27
2
How to traverse llvm DAG for analysis
Hello All,
I would like your help to learn how to traverse an LLVM DAG and perform some analysis. I know that llc can be used to view a DAG, but I would like to manipulate them. In particular I'm interested in the instruction selection and the scheduling DAGs.
I have read the documentation about writing an analysis pass and I know how to traverse a basic block on a LLVM IR assembly file, but
2011 Mar 30
1
[LLVMdev] Trouble traversing the CallGraph
I am finding some weird behavior in the CallGraph, and am not sure what am I doing wrong. When trying to traverse nodes
in the CallGraph I get stuck in nodes representing external functions. Take the following code:
-----
#include <stdio.h>
int main() {
printf( "Hello World!\n" );
}
-----
If I try to traverse the CallGraph using the following code:
-----
CallGraph CG
2017 May 02
1
IP address getting overridden by Samba and domain member?
I have been running Samba 4 as an AD/DC for a couple of years now with few problems. I
provisioned the domain using --dns-backend=BIND9_FLATFILE and the /etc/named.conf includes the
samba-tool provision created file /var/lib/samba/private/named.conf, with zone files in
/var/lib/samba/private/dns.
All that has been working just fine for for 2 or 3 years.
Lately, I added a VirtualBox XP guest
2010 Mar 26
1
[LLVMdev] Using GetElementPtr to traverse large arrays
Hi all,
This question was probably asked million times before, but I wasted
few hours and didn't find the solution..
What is the best way to traverse a large array (say size of million)
with GetElementPtr
The problem with the following code, is that it forces you to create
million constant index values:
intVars = new AllocaInst(Type::getInt32Ty(ctx), allocaSize, "intVars",
2010 Jul 18
2
[LLVMdev] How to traverse Dominator Tree in pre-order manner
Hi,
Can anyone tell me how to traverse Dominator tree in pre-order manner?
Regards,
Chayan
2006 Nov 23
0
[ wxruby-Feature Requests-6826 ] Add a traverse method to Wx::TreeCtrl
Feature Requests item #6826, was opened at 2006-11-22 19:06
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=221&aid=6826&group_id=35
Category: None
Group: None
Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Add a traverse method to Wx::TreeCtrl
Initial Comment:
There is no simple way at the moment to iterate all