Home
last modified time | relevance | path

Searched refs:DependencyEdge (Results 1 – 20 of 20) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/validation/
DDiagnosticMessageGenerator.java52 import dagger.model.BindingGraph.DependencyEdge;
98 private final Table<MaybeBinding, DependencyEdge, ImmutableList<Node>> shortestPaths =
135 ImmutableSet<DependencyEdge> entryPoints = graph.entryPointEdgesDependingOnBinding(binding); in getMessage()
136 ImmutableSet<DependencyEdge> requests = requests(binding); in getMessage()
137 ImmutableList<DependencyEdge> dependencyTrace = dependencyTrace(binding, entryPoints); in getMessage()
142 public String getMessage(DependencyEdge dependencyEdge) { in getMessage()
143 ImmutableSet<DependencyEdge> requests = ImmutableSet.of(dependencyEdge); in getMessage()
145 ImmutableSet<DependencyEdge> entryPoints; in getMessage()
146 ImmutableList<DependencyEdge> dependencyTrace; in getMessage()
155 ImmutableList.<DependencyEdge>builder() in getMessage()
[all …]
DDiagnosticReporterFactory.java29 import dagger.model.BindingGraph.DependencyEdge;
125 Diagnostic.Kind diagnosticKind, DependencyEdge dependencyEdge, String message) { in reportDependency()
135 DependencyEdge dependencyEdge, in reportDependency()
DCompositeBindingGraphPlugin.java32 import dagger.model.BindingGraph.DependencyEdge;
195 Diagnostic.Kind diagnosticKind, DependencyEdge dependencyEdge, String message) { in reportDependency()
204 DependencyEdge dependencyEdge, in reportDependency()
/external/dagger2/java/dagger/model/
DBindingGraph.java179 public ImmutableSet<DependencyEdge> dependencyEdges() { in dependencyEdges()
190 public ImmutableSetMultimap<DependencyRequest, DependencyEdge> dependencyEdges( in dependencyEdges()
193 .collect(toImmutableSetMultimap(DependencyEdge::dependencyRequest, edge -> edge)); in dependencyEdges()
197 public ImmutableSet<DependencyEdge> dependencyEdges(DependencyRequest dependencyRequest) { in dependencyEdges()
207 public ImmutableSet<DependencyEdge> entryPointEdges(ComponentPath component) { in entryPointEdges()
211 private Stream<DependencyEdge> dependencyEdgeStream(Node node) { in dependencyEdgeStream()
212 return network().outEdges(node).stream().flatMap(instancesOf(DependencyEdge.class)); in dependencyEdgeStream()
219 public ImmutableSet<DependencyEdge> entryPointEdges() { in entryPointEdges()
234 public ImmutableSet<DependencyEdge> entryPointEdgesDependingOnBinding( in entryPointEdgesDependingOnBinding()
236 ImmutableNetwork<Node, DependencyEdge> dependencyGraph = dependencyGraph(); in entryPointEdgesDependingOnBinding()
[all …]
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DDependencyEdge.java29 public class DependencyEdge extends Edge { class
36 public DependencyEdge(NodeId fromId, NodeId toId, InjectionPoint injectionPoint) { in DependencyEdge() method in DependencyEdge
47 if (!(obj instanceof DependencyEdge)) { in equals()
50 DependencyEdge other = (DependencyEdge) obj; in equals()
72 return new DependencyEdge(fromId, toId, injectionPoint); in copy()
DAbstractInjectorGrapher.java131 protected abstract void newDependencyEdge(DependencyEdge edge) throws IOException; in newDependencyEdge()
166 newDependencyEdge((DependencyEdge) edge); in createEdges()
DDefaultEdgeCreator.java70 builder.add(new DependencyEdge(nodeId, to, dependency.getInjectionPoint())); in newDependencyEdges()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DProvisionDependencyOnProducerBindingValidator.java26 import dagger.model.BindingGraph.DependencyEdge;
61 private Stream<DependencyEdge> provisionDependenciesOnProductionBindings( in provisionDependenciesOnProductionBindings()
71 private Stream<DependencyEdge> incomingDependencies( in incomingDependencies()
74 .flatMap(instancesOf(DependencyEdge.class)); in incomingDependencies()
78 private boolean dependencyCanUseProduction(DependencyEdge edge, BindingGraph bindingGraph) { in dependencyCanUseProduction()
92 DependencyEdge dependency, BindingGraph bindingGraph) { in bindingRequestingDependency()
103 private String entryPointErrorMessage(DependencyEdge entryPoint) { in entryPointErrorMessage()
110 DependencyEdge dependencyOnProduction, BindingGraph bindingGraph) { in dependencyErrorMessage()
DDependencyCycleValidator.java46 import dagger.model.BindingGraph.DependencyEdge;
78 ImmutableNetwork<Node, DependencyEdge> dependencyGraph = in visitGraph()
95 ImmutableNetwork<Node, DependencyEdge> dependencyGraph, in cycleContainingEndpointPair()
143 DependencyEdge dependencyToReport = in reportCycle()
181 .map(DependencyEdge::dependencyRequest) in errorMessage()
192 private DependencyEdge nonCycleBreakingEdge(EndpointPair<Node> endpointPair, BindingGraph graph) { in nonCycleBreakingEdge()
194 .flatMap(instancesOf(DependencyEdge.class)) in nonCycleBreakingEdge()
200 private boolean breaksCycle(DependencyEdge edge, BindingGraph graph) { in breaksCycle()
240 private DependencyEdge chooseDependencyEdgeConnecting( in chooseDependencyEdgeConnecting()
243 .flatMap(instancesOf(DependencyEdge.class)) in chooseDependencyEdgeConnecting()
[all …]
DNullableBindingValidator.java28 import dagger.model.BindingGraph.DependencyEdge;
49 for (DependencyEdge dependencyEdge : nonNullableDependencies(bindingGraph, binding)) { in visitGraph()
71 private ImmutableSet<DependencyEdge> nonNullableDependencies( in nonNullableDependencies()
74 .flatMap(instancesOf(DependencyEdge.class)) in nonNullableDependencies()
DMissingBindingValidator.java30 import dagger.model.BindingGraph.DependencyEdge;
108 .flatMap(instancesOf(DependencyEdge.class)) in allIncomingDependenciesCanUseProduction()
114 private boolean dependencyCanBeProduction(DependencyEdge edge, BindingGraph graph) { in dependencyCanBeProduction()
/external/llvm-project/llvm/tools/llvm-mca/Views/
DBottleneckAnalysis.cpp147 const DependencyEdge &DepEdge, in dumpDependencyEdge()
153 const DependencyEdge::Dependency &DE = DepEdge.Dep; in dumpDependencyEdge()
154 assert(DE.Type != DependencyEdge::DT_INVALID && "Unexpected invalid edge!"); in dumpDependencyEdge()
157 if (DE.Type == DependencyEdge::DT_REGISTER) { in dumpDependencyEdge()
160 } else if (DE.Type == DependencyEdge::DT_MEMORY) { in dumpDependencyEdge()
163 assert(DE.Type == DependencyEdge::DT_RESOURCE && in dumpDependencyEdge()
177 DependencyEdge &Edge = N.OutgoingEdges[I]; in pruneEdges()
240 for (const DependencyEdge &DepEdge : N.OutgoingEdges) { in propagateThroughEdges()
264 SmallVectorImpl<const DependencyEdge *> &Seq) const { in getCriticalSequence()
303 SmallVector<const DependencyEdge *, 16> Seq; in printCriticalSequence()
[all …]
DBottleneckAnalysis.h180 struct DependencyEdge { struct
229 DependencyEdge CriticalPredecessor;
230 SmallVector<DependencyEdge, 8> OutgoingEdges;
238 DependencyEdge::Dependency &&DE);
245 void dumpDependencyEdge(raw_ostream &OS, const DependencyEdge &DE,
254 addDependency(From, To, {DependencyEdge::DT_REGISTER, RegID, Cost}); in addRegisterDep()
258 addDependency(From, To, {DependencyEdge::DT_MEMORY, /* unused */ 0, Cost}); in addMemoryDep()
263 addDependency(From, To, {DependencyEdge::DT_RESOURCE, Mask, Cost}); in addResourceDep()
278 void getCriticalSequence(SmallVectorImpl<const DependencyEdge *> &Seq) const;
/external/dagger2/java/dagger/spi/
DDiagnosticReporter.java23 import dagger.model.BindingGraph.DependencyEdge;
75 Diagnostic.Kind diagnosticKind, DependencyEdge dependencyEdge, String message); in reportDependency()
84 DependencyEdge dependencyEdge, in reportDependency()
/external/dagger2/java/dagger/internal/codegen/binding/
DDependencyEdgeImpl.java20 import dagger.model.BindingGraph.DependencyEdge;
24 final class DependencyEdgeImpl implements DependencyEdge {
DBindingGraphConverter.java39 import dagger.model.BindingGraph.DependencyEdge;
317 if (edge instanceof DependencyEdge) { in hasDependencyEdge()
318 if (((DependencyEdge) edge).dependencyRequest().equals(dependencyRequest)) { in hasDependencyEdge()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DAbstractInjectorGrapherTest.java74 protected void newDependencyEdge(DependencyEdge edge) { in newDependencyEdge()
164 new DependencyEdge( in testLinkedAndInstanceBindings()
199 new DependencyEdge( in testProviderBindings()
203 new DependencyEdge(a2ProviderNode.getId(), a2Node.getId(), null)); in testProviderBindings()
/external/dagger2/java/dagger/internal/codegen/kythe/
DDaggerKythePlugin.java46 import dagger.model.BindingGraph.DependencyEdge;
89 for (DependencyEdge dependencyEdge : graph.dependencyEdges()) { in addDependencyEdges()
115 if (outEdge instanceof DependencyEdge) { in addEdgesForDependencyRequest()
/external/dagger2/java/dagger/example/spi/
DBindingGraphVisualizer.java34 import dagger.model.BindingGraph.DependencyEdge;
262 if (edge instanceof DependencyEdge) { in dotEdge()
263 if (((DependencyEdge) edge).isEntryPoint()) { in dotEdge()
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizGrapher.java27 import com.google.inject.grapher.DependencyEdge;
298 protected void newDependencyEdge(DependencyEdge edge) { in newDependencyEdge()