search for: traverse

Displaying 20 results from an estimated 2238 matches for "traverse".

2006 Jan 10
0
[LLVMdev] passmanager, significant rework idea...
...e captured in a place generic to all passes. I'd much rather have this implemented as a new kind of "batcher" pass manager: In the current pass manager, when you add a sequence of function passes to a "Module PassManager", a batcher is created. This batcher happens to traverse the module from beginning to end, running each function pass on the functions in this order. However, there is no specific reason to do this, it could run them from end to beginning, random order, or even callgraphscc order. To handle this notion, I'd suggest two things: 1) having a batche...
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...
Okay, I've been studying passmanagert and company for quite a while. Here are my conclusions. It's actually not nearly as bad as I thought. I'll outline the 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. Current...
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? T...
2006 Jan 10
1
[LLVMdev] Re: passmanager, significant rework idea...
...ems that don't neatly fit into the hierarchy. eg. CGSCC, Immutable, loop and reverse dependencies (module -> function). > In the current pass manager, when you add a sequence of function passes to > a "Module PassManager", a batcher is created. This batcher happens to > traverse the module from beginning to end, running each function pass on > the functions in this order. However, there is no specific reason to do > this, it could run them from end to beginning, random order, or even > callgraphscc order. Yup. > To handle this notion, I'd suggest two thi...
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 call setup times could be improved. How can we
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 Trav...
2010 Nov 24
0
[LLVMdev] A way to traverse machine basic blocks in order?
..._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. Cameron On Nov 23, 2010, at 9:21 PM, Villmow, Micah wrote: > 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? >...
2011 Jun 09
1
[LLVMdev] Traverse SelectionDAG in gdb
...hs is not possible. Is there a way that I can dump the output of viewGraph() in a file and run dot over it offline and then copy the final pictures to my windows machine to have some idea about the SelectionDAG. Also, can someone please point me to a location in source code where selectionDAG is traversed. So that I may use similar code to traverse and know about the structure of Selection DAG. If something like this is possible through gdb, it will be even better. Thanks, Ankur -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm...
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...
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...
2017 Aug 09
2
[ThinLTO] Suggestions on how to traverse SCCs in the Module Summary Index bottom up
...aphTrait<CallGraph *> definition, the getEntryNode function returns the external calling node ( http://llvm-cs.pcc.me.uk/include/llvm/Analysis/CallGraph.h#450), which I assume is supposed to be at the bottom of the callgraph. Would doing same for the ModuleSummaryIndex ensure the scc_iterator traverses bottom up (if that even makes sense)? Rather than returning a dummy FunctionSummary that's empty for external functions (which is what I'm doing right now), would it make more sense to have one node that represents all external FunctionSummaries? If I used this FunctionSummary as the entr...
2013 Dec 03
0
[LLVMdev] Segmentation fault when traverse call graph
...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, lucefe wrote: > 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...
2009 Feb 17
2
install.rb:655:in `command'': system("make") failed (RuntimeError) (GatoLinux)
...76: error: syntax error before "struct" make: *** [librb.o] Error 1 install.rb:655:in `command'': system("make") failed (RuntimeError) from install.rb:664:in `make'' from install.rb:1258:in `setup_dir_ext'' from install.rb:1532:in `traverse'' from install.rb:1549:in `dive_into'' from install.rb:1530:in `traverse'' from install.rb:1534:in `traverse'' from install.rb:1533:in `traverse'' from install.rb:1549:in `dive_into'' from install.rb:153...
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 ba...
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 = this->ge...
2017 May 02
1
IP address getting overridden by Samba and domain member?
...that has been working just fine for for 2 or 3 years. Lately, I added a VirtualBox XP guest virtual machine to the domain running SQL Server 2005 to service a legacy application. The virtual machine implements a virtual "router" which dhcp assigns an IP to the XP: 10.0.2.15 (host name: traverse). In the VM I have configured port-forwarding to forward requests made to the Linux VM host (192.168.02) on port 1433 to the VM port 1433. >From domain workstations you cannot access the SQL Server via 10.0.2.15:1433. You can, however, access the SQL Server via 192.168.0.2:1433. No problem,...
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", someBlock); for(int i = 0; i < 1000000; i++) { Value *i...
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 the items contained within a TreeCtrl. A neat ruby-ish method would allow a block to be passed which would receive the id''s of each treectrl item in turn. An optional parameter to the method could...