Home
last modified time | relevance | path

Searched refs:NodeId (Results 1 – 25 of 65) sorted by relevance

123

/external/llvm/include/llvm/CodeGen/PBQP/
DGraph.h31 typedef unsigned NodeId; typedef
35 static NodeId invalidNodeId() { in invalidNodeId()
36 return std::numeric_limits<NodeId>::max(); in invalidNodeId()
83 void removeAdjEdgeId(Graph &G, NodeId ThisNId, AdjEdgeIdx Idx) { in removeAdjEdgeId()
105 EdgeEntry(NodeId N1Id, NodeId N2Id, MatrixPtr Costs) in EdgeEntry()
127 void connectTo(Graph &G, EdgeId ThisEdgeId, NodeId NId) { in connectTo()
141 void setAdjEdgeIdx(NodeId NId, typename NodeEntry::AdjEdgeIdx NewIdx) { in setAdjEdgeIdx()
158 void disconnectFrom(Graph &G, NodeId NId) { in disconnectFrom()
167 NodeId getN1Id() const { return NIds[0]; } in getN1Id()
168 NodeId getN2Id() const { return NIds[1]; } in getN2Id()
[all …]
DReductionRules.h29 void applyR1(GraphT &G, typename GraphT::NodeId NId) { in applyR1()
30 typedef typename GraphT::NodeId NodeId; in applyR1() typedef
40 NodeId MId = G.getEdgeOtherNodeId(EId, NId); in applyR1()
73 void applyR2(GraphT &G, typename GraphT::NodeId NId) { in applyR2()
74 typedef typename GraphT::NodeId NodeId; in applyR2() typedef
89 NodeId YNId = G.getEdgeOtherNodeId(YXEId, NId), in applyR2()
180 typedef GraphBase::NodeId NodeId; in backpropagate() typedef
187 NodeId NId = stack.back(); in backpropagate()
204 NodeId mId = G.getEdgeNode2Id(EId); in backpropagate()
207 NodeId mId = G.getEdgeNode1Id(EId); in backpropagate()
DSolution.h30 typedef std::map<GraphBase::NodeId, unsigned> SelectionsMap;
76 void setSelection(GraphBase::NodeId nodeId, unsigned selection) { in setSelection()
83 unsigned getSelection(GraphBase::NodeId nodeId) const { in getSelection()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DAbstractInjectorGrapher.java109 Map<NodeId, NodeId> aliases = resolveAliases(aliasCreator.createAliases(bindings)); in graph()
136 private void createNodes(Iterable<Node> nodes, Map<NodeId, NodeId> aliases) throws IOException { in createNodes() argument
138 NodeId originalId = node.getId(); in createNodes()
139 NodeId resolvedId = resolveAlias(aliases, originalId); in createNodes()
155 private void createEdges(Iterable<Edge> edges, Map<NodeId, NodeId> aliases) throws IOException { in createEdges() argument
169 private NodeId resolveAlias(Map<NodeId, NodeId> aliases, NodeId nodeId) { in resolveAlias() argument
177 private Map<NodeId, NodeId> resolveAliases(Iterable<Alias> aliases) { in resolveAliases()
178 Map<NodeId, NodeId> resolved = Maps.newHashMap(); in resolveAliases()
179 Map<NodeId, Set<NodeId>> inverse = Maps.newHashMap(); in resolveAliases()
182 NodeId from = alias.getFromId(); in resolveAliases()
[all …]
DDefaultEdgeCreator.java66 NodeId nodeId, T binding) { in newDependencyEdges()
69 NodeId to = NodeId.newTypeId(dependency.getKey()); in newDependencyEdges()
80 return newDependencyEdges(NodeId.newTypeId(binding.getKey()), binding); in visit()
89 return ImmutableList.<Edge>of(new BindingEdge(NodeId.newTypeId(binding.getKey()), in visit()
90 NodeId.newTypeId(binding.getSourceKey()), in visit()
102 .add(new BindingEdge(NodeId.newTypeId(binding.getKey()), in visit()
103 NodeId.newInstanceId(binding.getKey()), in visit()
105 .addAll(newDependencyEdges(NodeId.newInstanceId(binding.getKey()), binding)) in visit()
115 return ImmutableList.<Edge>of(new BindingEdge(NodeId.newTypeId(binding.getKey()), in visit()
116 NodeId.newTypeId(binding.getLinkedKey()), in visit()
[all …]
DNodeId.java32 public final class NodeId { class
50 private NodeId(Key<?> key, NodeType nodeType) { in NodeId() method in NodeId
55 public static NodeId newTypeId(Key<?> key) { in newTypeId()
56 return new NodeId(key, NodeType.TYPE); in newTypeId()
59 public static NodeId newInstanceId(Key<?> key) { in newInstanceId()
60 return new NodeId(key, NodeType.INSTANCE); in newInstanceId()
72 if (!(obj.getClass().equals(NodeId.class))) { in equals()
75 NodeId other = (NodeId) obj; in equals()
DEdge.java28 private final NodeId fromId;
29 private final NodeId toId;
31 protected Edge(NodeId fromId, NodeId toId) { in Edge()
36 public NodeId getFromId() { in getFromId()
40 public NodeId getToId() { in getToId()
63 public abstract Edge copy(NodeId fromId, NodeId toId); in copy()
DAlias.java27 private final NodeId fromId;
28 private final NodeId toId;
30 public Alias(NodeId fromId, NodeId toId) { in Alias()
35 public NodeId getFromId() { in getFromId()
39 public NodeId getToId() { in getToId()
DNode.java34 private final NodeId id;
37 protected Node(NodeId id, Object source) { in Node()
42 public NodeId getId() { in getId()
69 public abstract Node copy(NodeId id); in copy()
DBindingEdge.java42 public BindingEdge(NodeId fromId, NodeId toId, Type type) { in BindingEdge()
67 @Override public Edge copy(NodeId fromId, NodeId toId) { in copy()
DDependencyEdge.java36 public DependencyEdge(NodeId fromId, NodeId toId, InjectionPoint injectionPoint) { in DependencyEdge()
62 @Override public Edge copy(NodeId fromId, NodeId toId) { in copy()
DInterfaceNode.java27 public InterfaceNode(NodeId id, Object source) { in InterfaceNode()
31 @Override public Node copy(NodeId id) { in copy()
DProviderAliasCreator.java37 aliases.add(new Alias(NodeId.newTypeId(binding.getKey()), in createAliases()
38 NodeId.newTypeId(((ProviderBinding<?>) binding).getProvidedKey()))); in createAliases()
DDefaultNodeCreator.java57 return new InterfaceNode(NodeId.newTypeId(binding.getKey()), binding.getSource()); in newInterfaceNode()
69 return new ImplementationNode(NodeId.newTypeId(binding.getKey()), binding.getSource(), in newImplementationNode()
90 return new InstanceNode(NodeId.newInstanceId(binding.getKey()), binding.getSource(), instance, in newInstanceNode()
/external/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h154 void setNodeIdForVReg(unsigned VReg, GraphBase::NodeId NId) { in setNodeIdForVReg()
158 GraphBase::NodeId getNodeIdForVReg(unsigned VReg) const { in getNodeIdForVReg()
174 DenseMap<unsigned, GraphBase::NodeId> VRegToNodeId;
338 typedef GraphBase::NodeId NodeId; typedef
358 void handleAddNode(NodeId NId) { in handleAddNode()
363 void handleRemoveNode(NodeId NId) {} in handleRemoveNode()
364 void handleSetNodeCosts(NodeId NId, const Vector& newCosts) {} in handleSetNodeCosts()
376 void handleDisconnectEdge(EdgeId EId, NodeId NId) { in handleDisconnectEdge()
383 void handleReconnectEdge(EdgeId EId, NodeId NId) { in handleReconnectEdge()
390 NodeId N1Id = G.getEdgeNode1Id(EId); in handleUpdateCosts()
[all …]
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizEdge.java20 import com.google.inject.grapher.NodeId;
31 private final NodeId headNodeId;
36 private final NodeId tailNodeId;
43 public GraphvizEdge(NodeId tailNodeId, NodeId headNodeId) { in GraphvizEdge()
49 public NodeId getHeadNodeId() { in getHeadNodeId()
78 public NodeId getTailNodeId() { in getTailNodeId()
DGraphvizNode.java22 import com.google.inject.grapher.NodeId;
34 private final NodeId nodeId;
51 public GraphvizNode(NodeId nodeId) { in GraphvizNode()
56 public NodeId getNodeId() { in getNodeId()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DYamlComposeTest.java24 import org.yaml.snakeyaml.nodes.NodeId;
54 assertEquals(NodeId.mapping, node.getNodeId()); in testComposeAllFromReader()
56 assertEquals(NodeId.scalar, node.getNodeId()); in testComposeAllFromReader()
65 assertEquals(NodeId.scalar, node.getNodeId()); in testComposeAllOneDocument()
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp185 typedef std::pair<PBQP::GraphBase::NodeId, PBQP::GraphBase::NodeId> IEdgeKey;
188 bool haveDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in haveDisjointAllowedRegs()
189 PBQPRAGraph::NodeId MId, in haveDisjointAllowedRegs()
203 void setDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in setDisjointAllowedRegs()
204 PBQPRAGraph::NodeId MId, in setDisjointAllowedRegs()
221 typedef std::tuple<LiveInterval*, size_t, PBQP::GraphBase::NodeId>
232 static PBQP::GraphBase::NodeId getNodeId(const IntervalInfo &I) { in getNodeId()
329 PBQP::GraphBase::NodeId NId = getNodeId(Cur); in apply()
331 PBQP::GraphBase::NodeId MId = getNodeId(A); in apply()
363 PBQPRAGraph::NodeId NId, PBQPRAGraph::NodeId MId, in createInterferenceEdge()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DRepresenter.java32 import org.yaml.snakeyaml.nodes.NodeId;
129 NodeId nodeId = nodeValue.getNodeId(); in representJavaBeanProperty()
131 if (nodeId == NodeId.scalar) { in representJavaBeanProperty()
136 if (nodeId == NodeId.mapping) { in representJavaBeanProperty()
173 if (node.getNodeId() == NodeId.sequence) { in checkGlobalTag()
190 if (childNode.getNodeId() == NodeId.mapping) { in checkGlobalTag()
205 if (keyNode.getNodeId() == NodeId.mapping) { in checkGlobalTag()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DAbstractInjectorGrapherTest.java112 aNode = new ImplementationNode(NodeId.newTypeId(Key.get(A.class)), null, in setUp()
114 a2Node = new ImplementationNode(NodeId.newTypeId(Key.get(A2.class)), null, in setUp()
116 iaNode = new InterfaceNode(NodeId.newTypeId(Key.get(IA.class)), null); in setUp()
117 iaAnnNode = new InterfaceNode(NodeId.newTypeId(Key.get(IA.class, Ann.class)), null); in setUp()
118 stringNode = new InterfaceNode(NodeId.newTypeId(Key.get(String.class)), null); in setUp()
119 stringInstanceNode = new InstanceNode(NodeId.newInstanceId(Key.get(String.class)), null, in setUp()
155 Node a2ProviderNode = new InstanceNode(NodeId.newInstanceId(Key.get(IA.class)), null, in testProviderBindings()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/serializer/
DSerializer.java44 import org.yaml.snakeyaml.nodes.NodeId;
119 if (node.getNodeId() == NodeId.anchor) { in anchorNode()
153 if (node.getNodeId() == NodeId.anchor) { in serializeNode()
164 Tag detectedTag = this.resolver.resolve(NodeId.scalar, scalarNode.getValue(), true); in serializeNode()
165 Tag defaultTag = this.resolver.resolve(NodeId.scalar, scalarNode.getValue(), false); in serializeNode()
174 boolean implicitS = node.getTag().equals(this.resolver.resolve(NodeId.sequence, in serializeNode()
185 Tag implicitTag = this.resolver.resolve(NodeId.mapping, null, true); in serializeNode()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/nodes/
DAnchorNode.java28 public NodeId getNodeId() { in getNodeId()
29 return NodeId.anchor; in getNodeId()
/external/v8/src/compiler/
Descape-analysis.h90 typedef NodeId Alias;
125 VirtualObject* GetVirtualObject(Node* at, NodeId id);
130 Node* replacement(NodeId id);
133 Node* GetReplacement(NodeId id);
/external/snakeyaml/src/test/java/examples/jodatime/
DJodaTimeExampleTest.java30 import org.yaml.snakeyaml.nodes.NodeId;
66 yamlClassConstructors.put(NodeId.scalar, new TimeStampConstruct()); in JodaPropertyConstructor()
99 yamlClassConstructors.put(NodeId.scalar, new TimeStampConstruct()); in JodaTimeConstructor()

123