search for: postord

Displaying 20 results from an estimated 26 matches for "postord".

Did you mean: posford
2009 Apr 13
2
[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code
That looks like it does a preorder depth first traversal (I think). I'm looking for postorder. Is there a trivial transform between the two? (I don't know one.) Am I wrong about the preorder/postorder? If not, anything lurking for postorder traversal? Thanks, Dan On Apr 13, 2009, at 2:35 PM, Chris Lattner wrote: > > On Apr 13, 2009, at 11:20 AM, Daniel M Gessel wrote:...
2009 Apr 13
0
[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code
po_iterator (ADT/PostOrderIterator.h) ? On Mon, Apr 13, 2009 at 5:40 PM, Daniel M Gessel <gessel at apple.com> wrote: > That looks like it does a preorder depth first traversal (I think). > I'm looking for postorder. Is there a trivial transform between the > two? (I don't know one.) > > Am I...
2009 Apr 14
1
[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code
Too obvious! Thanks Dan On Apr 13, 2009, at 7:58 PM, John Mosby wrote: > po_iterator (ADT/PostOrderIterator.h) ? > > On Mon, Apr 13, 2009 at 5:40 PM, Daniel M Gessel <gessel at apple.com> > wrote: > That looks like it does a preorder depth first traversal (I think). > I'm looking for postorder. Is there a trivial transform between the > two? (I don't know one.)...
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...
2023 Feb 23
1
`dendrapply` Enhancements
...latively confident this could be optimized more. - Seemingly significant reduction in memory reduction, still working on a robust benchmark. Suggestions for the best way to do that are welcome. - Support for applying functions with an inorder traversal (as in `stats::dendrapply`) as well as using a postorder traversal. This implementation was tested manually as well as running all the unit tests in `dendextend`, which comprises a lot of applications of `dendrapply`. The postorder traversal would be a significant new functionality to dendrapply, as it would allow for functions that use the child nod...
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 Feb 10
1
horrifying slow samba.
...r.gova.lokaal } datasvr etc # the hosts file : Code: datasvr etc # cat hosts 127.0.0.1 localhost 10.0.0.201 adserver.gova.lokaal adserver To enable samba to be a domain member i used the following manual : http://forums.gentoo.org/viewtopic-t-114837-postdays-0-postorder-asc-sta rt-0.html <http://forums.gentoo.org/viewtopic-t-114837-postdays-0-postorder-asc-st art-0.html> thanks a lot ! martijn
2009 Apr 13
0
[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code
On Apr 13, 2009, at 11:20 AM, Daniel M Gessel wrote: > For nefarious reasons I won't go into (this is for a quick hack that > will be thrown away in a week or two), I'd like my Asm printer to get > MBBs in a depth first order. > > Is there an existing pass or function that will let me do this easily? Check out "llvm/ADT/DepthFirstIterator.h", it lets you iterate
2009 Apr 13
3
[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code
For nefarious reasons I won't go into (this is for a quick hack that will be thrown away in a week or two), I'd like my Asm printer to get MBBs in a depth first order. Is there an existing pass or function that will let me do this easily? Thanks, Dan
2007 Nov 25
2
accessing the "address" of items in a recursive list
Dear useRs, I am working on a project involving the clustering of a large dataset. I need to extract specific sub-clusters from the parent dendrogram for further analysis. The data is too large for the use of convenient tools such as identify.clust (it selects the specific group of interest on a graph), so alternatively I have saved the plot as a large image file so that it can be printed or
2012 Jul 13
0
[LLVMdev] Does the pass -postdomfrontier exist?
...t 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. LLVM 3.0 release note said postdomfrontier had been removed [1]. The unused PostOrder Dominator Frontiers and LowerSetJmp passes were removed. I'll send patch to update the document. Regards, chenwj [1] http://llvm.org/releases/3.0/docs/ReleaseNotes.html -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Te...
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
2017 Feb 06
2
Adding Extended-SSA to LLVM
...ot;correct" to obvious clients > > I'm mentioning CVP because it *really* needs to be refactored to use > e-SSA/SSI. The current code is slow, is very limited in scope (w/ somewhat > arbitrary throttling), and is too complicated. > Note that with patches to do LVI in DFS postorder instead of BFS order, it actually should be close to ideal :) If CVP moves forward and queries LVI in RPO order, and LVI is doing PO, it should be as close to O(1) work per LVI call as you can get. Of course, it's still a mess, code wise, but ... -------------- next part -------------- An H...
2016 Feb 11
3
Writing an LLVM Pass that depends on mem2reg
Hi, I read your post in LLVM forum. I want to use getAnalysisUsage(AnalysisUsage &AU) to get MachineLoopInfo. I have used this on my passes before but, this time I am trying to get this information in ScheduleDAGRRList scheduler class. There is no runonmachinefunction function. Do you know how I can implement this? Regards, Fateme I will appreciate it you can help me with this problem.
2013 Apr 25
1
[LLVMdev] 'loop invariant code motion' and 'Reassociate Expression'
...d is by Cooper, Eckhart, & Kennedy, in PACT '08. > > Cooper gives a nice intro in one of his lectures: http://www.cs.rice.edu/~keith/512/2012/Lectures/26ReassocII-1up.pdf > > I can't tell, quickly, what's going on in Reassociate; > > Reasscociate is using a reverse postorder numbering, my guess is that the idea is from Briggs, Cooper ’94. I believe some of the ideas are from Briggs & Cooper, but there's other stuff in there I've never seen, e.g., Carmichael Numbers. I mean, we can all google Carmichael Numbers, but I had never heard of them in relation t...
2003 Sep 09
0
[LLVMdev] induction variables
...es on - condProducer > foreach(inst in loop header) > if(isa PHI ) > if(PHI uses condProducer) > Run InductionVariables on this PHI Loop pair, > save result That is reasonable. If it were me, I would structure it like this: Function Pass: postorder traverse the loop nesting tree for each loop If the first PHI node in the header block for the loop is recognizable as an induction variable... for each exit block find predecessor in loop look at the terminator, see if it uses the indvar. This uses the...
2003 Sep 09
2
[LLVMdev] induction variables
Hello LLVM, Can you suggest a good way to use the loops and induction variable passes to map loop exiting BasicBlocks to InductionVariables. That is, can we use these tools to identify the loop condition. What i have tried Function Pass: foreach BB if(terminal is loop exit of containing loop) trace back to instruction producing the cond that the branch branches on -
2017 Mar 20
5
[GSoC 2017] Clang-based diff tool project
Hello, I am currently studying Computer Science at TU Eindhoven. I am doing a course that involves programming assignments on parts of LLVM such as lowering, scheduling and optimization. For this year's Google Summer of Code I plan to submit a proposal to implement a clang-based diff tool [1]. I think it really pays off to have decent developer tools available, as they can save tons of time.
2005 Jun 17
1
[Q] Is this true and does it mean there is dynamic defragmentation in ext2/3?
Someone recently posted the following statement midway down the page at http://forums.gentoo.org/viewtopic-t-305871-postdays-0-postorder-asc-highlight-ext3+ordered+data-start-25.html >You don't need to defragment ext2/ext3 because as you use the >filesystem file blocks and inodes are moved around and reallocated >to keep the data nearly contiguous. It's not perfect, but it works >fairly well and you should...
2013 Apr 25
0
[LLVMdev] 'loop invariant code motion' and 'Reassociate Expression'
...39;ve seen published is by Cooper, Eckhart, & Kennedy, in PACT '08. > Cooper gives a nice intro in one of his lectures: http://www.cs.rice.edu/~keith/512/2012/Lectures/26ReassocII-1up.pdf > I can't tell, quickly, what's going on in Reassociate; Reasscociate is using a reverse postorder numbering, my guess is that the idea is from Briggs, Cooper ’94. > as usual, the documentation resolutely avoids giving any credit for the ideas. > Why is that? > > Preston > > > > On Apr 23, 2013, at 10:37 AM, Shuxin Yang <shuxin.llvm at gmail.com> wrote: > &...