Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for AddEdgeTo (0.15 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    		bResult := s.f.NewBlock(ssa.BlockPlain)
    		if n.Op() == ir.OANDAND {
    			b.AddEdgeTo(bRight)
    			b.AddEdgeTo(bResult)
    		} else if n.Op() == ir.OOROR {
    			b.AddEdgeTo(bResult)
    			b.AddEdgeTo(bRight)
    		}
    
    		s.startBlock(bRight)
    		er := s.expr(n.Y)
    		s.vars[n] = er
    
    		b = s.endBlock()
    		b.AddEdgeTo(bResult)
    
    		s.startBlock(bResult)
    		return s.variable(n, types.Types[types.TBOOL])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/writebarrier.go

    		flag = b.NewValue2(pos, OpNeq32, cfgtypes.Bool, flag, const0)
    		b.Kind = BlockIf
    		b.SetControl(flag)
    		b.Likely = BranchUnlikely
    		b.Succs = b.Succs[:0]
    		b.AddEdgeTo(bThen)
    		b.AddEdgeTo(bEnd)
    		bThen.AddEdgeTo(bEnd)
    
    		// For each write barrier store, append write barrier code to bThen.
    		memThen := mem
    		var curCall *Value
    		var curPtr *Value
    		addEntry := func(pos src.XPos, v *Value) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/block.go

    func (b *Block) truncateValues(i int) {
    	tail := b.Values[i:]
    	for j := range tail {
    		tail[j] = nil
    	}
    	b.Values = b.Values[:i]
    }
    
    // AddEdgeTo adds an edge from block b to block c.
    func (b *Block) AddEdgeTo(c *Block) {
    	i := len(b.Succs)
    	j := len(c.Preds)
    	b.Succs = append(b.Succs, Edge{c, j})
    	c.Preds = append(c.Preds, Edge{b, i})
    	b.Func.invalidateCFG()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		lim := test.NewValue2(bb.Pos, OpLoad, pt, limaddr, mem0)
    		cmp := test.NewValue2(bb.Pos, cmpOp, cfgtypes.Bool, sp, lim)
    		test.SetControl(cmp)
    
    		// if true, goto sched
    		test.AddEdgeTo(sched)
    
    		// if false, rewrite edge to header.
    		// do NOT remove+add, because that will perturb all the other phi functions
    		// as well as messing up other edges to the header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/func_test.go

    				if !ok {
    					b.Fatalf("arg %s missing for value %s in block %s",
    						arg, valu.name, bloc.name)
    				}
    				v.AddArg(a)
    			}
    		}
    		// Connect to successors.
    		for _, succ := range c.succs {
    			b.AddEdgeTo(blocks[succ])
    		}
    	}
    	return fun{f, blocks, values}
    }
    
    // Bloc defines a block for Fun. The bloc name should be unique
    // across the containing Fun. entries should consist of calls to valu,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    org.codehaus.plexus.util.dag; public synchronized class Vertex implements Cloneable, java.io.Serializable { private String label; java.util.List children; java.util.List parents; public void Vertex(String); public String getLabel(); public void addEdgeTo(Vertex); public void removeEdgeTo(Vertex); public void addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar

    org.codehaus.plexus.util.dag; public synchronized class Vertex implements Cloneable, java.io.Serializable { private String label; java.util.List children; java.util.List parents; public void Vertex(String); public String getLabel(); public void addEdgeTo(Vertex); public void removeEdgeTo(Vertex); public void addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 160K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    org.codehaus.plexus.util.dag; public synchronized class Vertex implements Cloneable, java.io.Serializable { private String label; java.util.List children; java.util.List parents; public void Vertex(String); public String getLabel(); public void addEdgeTo(Vertex); public void removeEdgeTo(Vertex); public void addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    org.codehaus.plexus.util.dag; public synchronized class Vertex implements Cloneable, java.io.Serializable { private String label; java.util.List children; java.util.List parents; public void Vertex(String); public String getLabel(); public void addEdgeTo(Vertex); public void removeEdgeTo(Vertex); public void addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 164.6K bytes
    - Viewed (0)
  10. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    org.codehaus.plexus.util.dag; public synchronized class Vertex implements Cloneable, java.io.Serializable { private String label; java.util.List children; java.util.List parents; public void Vertex(String); public String getLabel(); public void addEdgeTo(Vertex); public void removeEdgeTo(Vertex); public void addEdgeFrom(Vertex); public void removeEdgeFrom(Vertex); public java.util.List getChildren(); public java.util.List getChildLabels(); public java.util.List getParents(); public java.util.List...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 23 23:48:02 UTC 2009
    - 164.6K bytes
    - Viewed (0)
Back to top