search for: acyclic

Displaying 20 results from an estimated 76 matches for "acyclic".

Did you mean: cyclic
2016 Oct 28
2
mischeduler
Hi, Regarding the mischeduler, I wonder // For loops that are acyclic path limited, aggressively schedule for // latency. This can result in very long dependence chains scheduled in // sequence, so once every cycle (when CurrMOps == 0), switch to normal // heuristics. if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() && tryLatency(TryCan...
2016 Mar 15
2
GSoC Proposal : Path Profiling Support
This proposal adds support for path profiling [Ball96] to LLVM. Path profiling compactly represents acyclic paths in a directed acyclic graph representation of the control flow graph of a routine. Instrumentation can be added to uniquely identify paths executed at runtime. Path profiles enable precise enumeration of the sequence of basic blocks executed in order for a particular path. Using path profiles...
2013 Mar 05
3
[LLVMdev] tbaa metadata representation
...he trees be replaced by a type DAG then. While working on this compiler <http://disciple.ouroborus.net/>, I ended up using an undirected graph to represent aliasing instead, I believe it might be suitable for TBAA's purposes as well, for the following reasons. * Does the graph need to be acyclic? Consider these struct types: struct a { type1 x; type2 y } struct b { type2 y; type3 z } struct c { type3 z; type1 x } They form the following alias graph (sorry about the crappy ascii art): a --> b --> c -+ ^______________| Which won't be representable if we f...
2004 Oct 28
1
transitivity
Dear all, Is there a function in R that checks transitivity and acyclicity of a given nXn matrix with entries representing a decision-maker's comparisons of n objects? Like 0 1 0 1 1 1 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 1 represents xPy and 0 represents ~xPy. Is there a vectorized solution to this? n can be quite large. Thanks in advan...
2009 Sep 16
1
cycles in a graphical model
Hi, Is there is any R package or existing codes in R to detect cycles in a graphical model or DAGĀ  (Directed Acyclic Graph) ? Thanks. [[alternative HTML version deleted]]
2015 May 13
8
[LLVMdev] RFC: Convergent attribute
...nt operations - Auditing SimplifyCFG for additional transforms that break convergent guarantees *** WHY *** SPMD/SIMT programming models are a family of related programming models in which multiple threads execute in a per-instruction lockstep fashion. Predication is typically used to implement acyclic control flow that would otherwise diverge the PC address of the lockstep threads. In these models, each thread's register set is typically indepedent, but there exist a small number of important circumstances in which a thread may access register storage from one of its lockstep neighbors. Ex...
2008 Feb 08
2
xyplot and lsegments
Hi, How might I use xyplot to plot segments where the segments are in the input data? (ie a directed acyclic forest). Here's an example in base graphics: n = data.frame(id = c(1,2,3,4), parent = c(0,1,2,2), value = c(5,5.5,7,3), date = c(1,2,3,3.5)) plot(n$date, n$value) do.call( segments, with( merge(n,n,by.x="parent", by.y="id"), data.frame(x0=date.x, y0=value....
2011 Jul 11
3
Intransitive DAG
Aloha all, I have an adjacency matrix for an acyclic digraph that contains transitive relations, e.g. (u,v), (v,w), (u,w). I want a DAG with only intransitive relations. Can someone point me to an R function that will take my adjacency matrix and give me back one with only intransitive relations? In the example, I'd like to get rid of (u,w) an...
2011 Mar 09
2
[LLVMdev] Question about TableGen when adding LLVM Backend.
...gisterInfo.td input file. 3. Describe the instruction set of the target. Use "TableGen" to generate code for target-specific instructions from target-specific versions of TargetInstrFormats.td andTargetInstrInfo.td. 4. Describe the selection and conversion of the LLVM IR from a Directed Acyclic Graph (DAG) representation of instructions to native target-specific instructions. Use "TableGen" to generate code that matches patterns and selects instructions based on additional information in a target-specific version of TargetInstrInfo.td. I have already read the document "Tab...
2015 May 14
2
[LLVMdev] RFC: Convergent attribute
...transforms that break convergent guarantees >> >> *** WHY *** >> >> SPMD/SIMT programming models are a family of related programming models in >> which multiple threads execute in a per-instruction lockstep fashion. >> Predication is typically used to implement acyclic control flow that would >> otherwise diverge the PC address of the lockstep threads. >> >> In these models, each thread's register set is typically indepedent, but there >> exist a small number of important circumstances in which a thread may access >> register st...
2015 Aug 14
2
[LLVMdev] RFC: Convergent attribute
...plifyCFG for additional transforms that break convergent guarantees > > *** WHY *** > > SPMD/SIMT programming models are a family of related programming models in > which multiple threads execute in a per-instruction lockstep fashion. > Predication is typically used to implement acyclic control flow that would > otherwise diverge the PC address of the lockstep threads. > > In these models, each thread's register set is typically indepedent, but there > exist a small number of important circumstances in which a thread may access > register storage from one of it...
2013 Mar 06
0
[LLVMdev] tbaa metadata representation
...se mutually recursive types are impossible. > However, It's entirely possible that Dan has described a > representation/implementation that causes cycles :) I believe you are right. I'm not saying cycles are bad, for my use case I don't actually care whether the representation is acyclic or not, it's just to make sure we don't make the graph more restrictive than it has to be. >> The reason why I assumed direction wasn't needed is because I thought the >> relation `alias` was symmetric: if x aliases y then y alias x in all cases. >> Is this the case f...
2007 Oct 07
3
[LLVMdev] Predication before CodeGen
...ition under which an instruction will be "reached" -- this is straightforward since my input program is not allowed to have cycles in the CFG. 2) Run a pass that requires the above analysis and uses it to: - merge all basic blocks in topological sort order (which exists, because CFG is acyclic). - insert appropriate instructions to generate the predicates. - change all PHI-nodes into Select nodes. - predicate memory operations (well, at least the stores). It is this final predication step that I am not sure how to handle. Since LLVM does not have predicated load/store instructi...
2018 Jun 18
2
Building rpcclient statically linked?
...ts of Samba) would build as you suggest because it does identify real-world issues. While this file has no static data, if a C file is linked in twice with static data the results can be un-desired. >From here however you can only try, and work to break up our dependency list into a directed acyclic graph. This is harder than is looks! Finally, perhaps you could detail what you are hoping to achieve with a static rpcclient? We may have another way to assist you with your aims. Sorry, Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Deve...
2015 Aug 21
3
Would a spreadsheet be a good project using LLVM?
...cell values quickly. Each cell of a spreadsheet contains an expression, much like an expression in any programming language. The big difference is that the ordering of the expression evaluations is governed by the dependencies of each cell on other cells and end up being turned into a directed acyclic graph (DAG). It would be good if the actual conversion of cell expressions from strings that the user enters into a cell, would be converted into a representation that can be recalculated very quickly. I was thinking that LLVM machine code might be a good target. Overall, is this a good proje...
2008 Mar 21
1
idea for GSoC: an R package for fitting Bayesian Hierarchical Models
Dear R developers, these days I'm working on some R code for fitting completely generic Bayesian Hierarchical Models in R, a la OpenBUGS and JAGS. A key feature of OpenBUGS and JAGS is that they automatically build an appropriate MCMC sampler from a generic model, specified as a directed acyclic graph (DAG). The spirit of my (would-be) implementation is instead more focused on experimentation and prototyping, i.e. is the user who explicitely assign samplers for each model variable after specifying the model. The sampler can be chosed in a set of predefined samplers, as well as customly spe...
2016 Jan 29
2
Specifying DAG patterns in the instruction
...gt; ``` > > Each instruction forms a DAG with its operands being subnodes. > > The core instruction selection logic just looks for the pattern `(set > GPR:$rd, (add GPR:$rA, GPR:$rB))`. It then becomes a simple substitution. > This is a DAG because there all nodes are directed and acyclic. > Am I correct in my understanding that each node can either be a register or of type SDNode defined in TargetSelectionDAG.td? > On Thu, Jan 28, 2016 at 7:33 PM, Rail Shafigulin via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> I'm confused about how to speci...
2011 Mar 09
0
[LLVMdev] Question about TableGen when adding LLVM Backend.
...le. > > 3. Describe the instruction set of the target. Use "TableGen" to generate code for target-specific instructions from target-specific versions of TargetInstrFormats.td andTargetInstrInfo.td. > > 4. Describe the selection and conversion of the LLVM IR from a Directed Acyclic Graph (DAG) representation of instructions to native target-specific instructions. Use "TableGen" to generate code that matches patterns and selects instructions based on additional information in a target-specific version of TargetInstrInfo.td. > > I have already read the documen...
2015 Aug 14
2
[LLVMdev] RFC: Convergent attribute
...rms that break convergent >> guarantees >> >> *** WHY *** >> >> SPMD/SIMT programming models are a family of related programming models in >> which multiple threads execute in a per-instruction lockstep fashion. >> Predication is typically used to implement acyclic control flow that would >> otherwise diverge the PC address of the lockstep threads. >> >> In these models, each thread's register set is typically indepedent, but >> there >> exist a small number of important circumstances in which a thread may >> access &gt...
2016 Jan 28
2
Specifying DAG patterns in the instruction
I'm confused about how to specify DAG patterns for a given instruction Here is an example for my target class ALU1_RR<bits<4> subOp, string asmstr, SDNode OpNode> : ALU_RR<subOp, asmstr, [(set GPR:$rD, (OpNode (i32 GPR:$rA), (i32 GPR:$rB)))]>; def ADD : ALU1_RR<0x0, "l.add", add>; The set operation simply creates a list. The add operation