Home
last modified time | relevance | path

Searched refs:Dep (Results 1 – 25 of 116) sorted by relevance

12345

/external/dagger2/javatests/dagger/functional/assisted/
DAssistedFactoryWithArrayTypesTest.java38 Foo create(Dep[] depArray); in create()
41 static class Dep {} class in AssistedFactoryWithArrayTypesTest
44 private final Dep[] depArray;
47 Foo(@Assisted Dep[] depArray) { in Foo()
54 Dep[] depArray = {new Dep(), new Dep()}; in testFooFactory()
DAssistedFactoryBindsTest.java49 private final Dep dep;
53 FooImpl(Dep dep, @Assisted AssistedDep assistedDep) { in FooImpl()
71 static final class Dep { class in AssistedFactoryBindsTest
73 Dep() {} in Dep() method in AssistedFactoryBindsTest.Dep
/external/llvm-project/llvm/tools/llvm-mca/Views/
DBottleneckAnalysis.cpp153 const DependencyEdge::Dependency &DE = DepEdge.Dep; in dumpDependencyEdge()
243 uint64_t Cost = N.Cost + DepEdge.Dep.Cost; in propagateThroughEdges()
361 const DependencyEdge::Dependency &Dep = DE->Dep; in printCriticalSequence() local
365 if (Dep.Type == DependencyEdge::DT_REGISTER) { in printCriticalSequence()
369 getInstPrinter().printRegName(FOS, Dep.ResourceOrRegID); in printCriticalSequence()
370 } else if (Dep.Type == DependencyEdge::DT_MEMORY) { in printCriticalSequence()
373 assert(Dep.Type == DependencyEdge::DT_RESOURCE && in printCriticalSequence()
378 FOS << Tracker.resolveResourceName(Dep.ResourceOrRegID); in printCriticalSequence()
406 if (DE.Dep.Type == DependencyEdge::DT_REGISTER) in dump()
412 if (DE.Dep.Type == DependencyEdge::DT_MEMORY) in dump()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard() argument
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
178 for (SDep &Dep : AnchorSU.Preds) { in scheduleAdjacentImpl()
180 if (Dep.isWeak() || isHazard(Dep)) in scheduleAdjacentImpl()
183 SUnit &DepSU = *Dep.getSUnit(); in scheduleAdjacentImpl()
DMachinePipeliner.cpp785 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
786 Dep.setLatency(1); in addLoopCarriedDependences()
787 SU.addPred(Dep); in addLoopCarriedDependences()
795 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
796 Dep.setLatency(1); in addLoopCarriedDependences()
797 SU.addPred(Dep); in addLoopCarriedDependences()
803 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
804 Dep.setLatency(1); in addLoopCarriedDependences()
805 SU.addPred(Dep); in addLoopCarriedDependences()
810 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
[all …]
DScheduleDAGInstrs.cpp256 SDep Dep; in addPhysRegDataDeps() local
258 Dep = SDep(SU, SDep::Artificial); in addPhysRegDataDeps()
263 Dep = SDep(SU, SDep::Data, *Alias); in addPhysRegDataDeps()
272 Dep.setLatency(SchedModel.computeOperandLatency(SU->getInstr(), OperIdx, in addPhysRegDataDeps()
274 ST.adjustSchedDependency(SU, OperIdx, UseSU, UseOp, Dep); in addPhysRegDataDeps()
276 Dep.setLatency(0); in addPhysRegDataDeps()
280 ST.adjustSchedDependency(SU, OperIdx, UseSU, UseOp, Dep); in addPhysRegDataDeps()
283 UseSU->addPred(Dep); in addPhysRegDataDeps()
318 SDep Dep(SU, Kind, /*Reg=*/*Alias); in addPhysRegDeps() local
320 Dep.setLatency( in addPhysRegDeps()
[all …]
DMachineTraceMetrics.cpp793 for (const DataDep &Dep : Deps) { in updateDepth() local
795 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in updateDepth()
800 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in updateDepth()
802 if (!Dep.DefMI->isTransient()) in updateDepth()
804 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in updateDepth()
953 static bool pushDepHeight(const DataDep &Dep, const MachineInstr &UseMI, in pushDepHeight() argument
958 if (!Dep.DefMI->isTransient()) in pushDepHeight()
959 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
960 Dep.UseOp); in pushDepHeight()
965 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight)); in pushDepHeight()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard() argument
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
178 for (SDep &Dep : AnchorSU.Preds) { in scheduleAdjacentImpl()
180 if (Dep.isWeak() || isHazard(Dep)) in scheduleAdjacentImpl()
183 SUnit &DepSU = *Dep.getSUnit(); in scheduleAdjacentImpl()
DMachinePipeliner.cpp702 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
703 Dep.setLatency(1); in addLoopCarriedDependences()
704 SU.addPred(Dep); in addLoopCarriedDependences()
712 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
713 Dep.setLatency(1); in addLoopCarriedDependences()
714 SU.addPred(Dep); in addLoopCarriedDependences()
720 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
721 Dep.setLatency(1); in addLoopCarriedDependences()
722 SU.addPred(Dep); in addLoopCarriedDependences()
727 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
[all …]
DScheduleDAGInstrs.cpp254 SDep Dep; in addPhysRegDataDeps() local
256 Dep = SDep(SU, SDep::Artificial); in addPhysRegDataDeps()
261 Dep = SDep(SU, SDep::Data, *Alias); in addPhysRegDataDeps()
270 Dep.setLatency(SchedModel.computeOperandLatency(SU->getInstr(), OperIdx, in addPhysRegDataDeps()
272 ST.adjustSchedDependency(SU, UseSU, Dep); in addPhysRegDataDeps()
274 Dep.setLatency(0); in addPhysRegDataDeps()
278 ST.adjustSchedDependency(SU, UseSU, Dep); in addPhysRegDataDeps()
281 UseSU->addPred(Dep); in addPhysRegDataDeps()
317 SDep Dep(SU, Kind, /*Reg=*/*Alias); in addPhysRegDeps() local
318 Dep.setLatency( in addPhysRegDeps()
[all …]
DMachineTraceMetrics.cpp794 for (const DataDep &Dep : Deps) { in updateDepth() local
796 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in updateDepth()
801 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in updateDepth()
803 if (!Dep.DefMI->isTransient()) in updateDepth()
805 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in updateDepth()
953 static bool pushDepHeight(const DataDep &Dep, const MachineInstr &UseMI, in pushDepHeight() argument
958 if (!Dep.DefMI->isTransient()) in pushDepHeight()
959 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
960 Dep.UseOp); in pushDepHeight()
965 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight)); in pushDepHeight()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-loop-convert-extra.cpp242 dependent<int> Dep, Other; in refs_and_vals() local
243 for (dependent<int>::iterator It = Dep.begin(), E = Dep.end(); It != E; ++It) { in refs_and_vals()
261 for (int I = 0, E = Dep.size(); I != E; ++I) { in refs_and_vals()
983 dependent<int> Dep; in iterators() local
985 for (dependent<int>::iterator I = Dep.begin(), E = Dep.end(); I != E; ++I) in iterators()
991 for (dependent<int>::iterator I = Dep.begin(), E = Dep.end(); I != E; ++I) in iterators()
997 for (dependent<int>::const_iterator I = Dep.begin(), E = Dep.end(); in iterators()
1004 for (dependent<int>::const_iterator I = Dep.begin(), E = Dep.end(); in iterators()
1011 for (dependent<int>::const_iterator I = Dep.begin(), E = Dep.end(); in iterators()
1026 dependent<int> Dep; in captureByValue() local
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DScheduleDAG.h80 PointerIntPair<SUnit *, 2, Kind> Dep;
101 SDep() : Dep(nullptr, Data) {} in SDep()
105 : Dep(S, kind), Contents() { in SDep()
124 : Dep(S, Order), Contents(), Latency(0) { in SDep()
385 SDep Dep(SU, SDep::Barrier); in addPredBarrier()
388 Dep.setLatency(TrueMemOrderLatency); in addPredBarrier()
389 return addPred(Dep); in addPredBarrier()
466 if (Dep != Other.Dep) in overlaps()
468 switch (Dep.getInt()) { in overlaps()
480 inline SUnit *SDep::getSUnit() const { return Dep.getPointer(); } in getSUnit()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DScheduleDAG.h80 PointerIntPair<SUnit *, 2, Kind> Dep;
101 SDep() : Dep(nullptr, Data) {} in SDep()
105 : Dep(S, kind), Contents() { in SDep()
124 : Dep(S, Order), Contents(), Latency(0) { in SDep()
385 SDep Dep(SU, SDep::Barrier); in addPredBarrier()
388 Dep.setLatency(TrueMemOrderLatency); in addPredBarrier()
389 return addPred(Dep); in addPredBarrier()
466 if (Dep != Other.Dep) in overlaps()
468 switch (Dep.getInt()) { in overlaps()
480 inline SUnit *SDep::getSUnit() const { return Dep.getPointer(); } in getSUnit()
[all …]
/external/dagger2/javatests/dagger/functional/assisted/kotlin/
DKotlinAssistedInjectionClasses.kt24 class Dep @Inject constructor() class
29 class Foo @AssistedInject constructor(val dep: Dep, @Assisted val assistedDep: AssistedDep)
32 data class FooData @AssistedInject constructor(val dep: Dep, @Assisted val assistedDep: AssistedDep)
/external/llvm/include/llvm/CodeGen/
DScheduleDAG.h76 PointerIntPair<SUnit *, 2, Kind> Dep;
98 SDep() : Dep(nullptr, Data) {} in SDep()
102 : Dep(S, kind), Contents() { in SDep()
120 : Dep(S, Order), Contents(), Latency(0) { in SDep()
403 SDep Dep(SU, SDep::Barrier);
406 Dep.setLatency(TrueMemOrderLatency);
407 return addPred(Dep);
489 if (Dep != Other.Dep)
491 switch (Dep.getInt()) {
503 inline SUnit *SDep::getSUnit() const { return Dep.getPointer(); }
[all …]
/external/llvm-project/polly/lib/Transform/
DDeadCodeElimination.cpp121 isl::union_map Dep = in eliminateDeadCode() local
123 Dep = Dep.reverse(); in eliminateDeadCode()
133 isl::union_set Extra = Live.apply(Dep); in eliminateDeadCode()
/external/llvm-project/llvm/utils/TableGen/GlobalISel/
DGIMatchTree.cpp98 for (auto &Dep : enumerate(MatchDag.predicate_edges())) { in GIMatchTreeBuilderLeafInfo() local
99 PredicateDepIDs.insert(std::make_pair(Dep.value(), Dep.index())); in GIMatchTreeBuilderLeafInfo()
103 for (auto &Dep : enumerate(MatchDag.predicate_edges())) { in GIMatchTreeBuilderLeafInfo() local
104 unsigned ID = PredicateIDs.lookup(Dep.value()->getPredicate()); in GIMatchTreeBuilderLeafInfo()
105 UnsatisfiedPredDepsForPred[ID].set(Dep.index()); in GIMatchTreeBuilderLeafInfo()
138 for (auto &Dep : enumerate(MatchDag.predicate_edges())) { in declareInstr() local
139 if (Dep.value()->getRequiredMI() == Instr && in declareInstr()
140 Dep.value()->getRequiredMO() == nullptr) { in declareInstr()
142 DepsFor.value().reset(Dep.index()); in declareInstr()
172 for (auto &Dep : enumerate(MatchDag.predicate_edges())) { in declareOperand() local
[all …]
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp836 for (const DataDep &Dep : Deps) { in computeInstrDepths() local
838 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in computeInstrDepths()
843 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in computeInstrDepths()
845 if (!Dep.DefMI->isTransient()) in computeInstrDepths()
847 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in computeInstrDepths()
929 static bool pushDepHeight(const DataDep &Dep, const MachineInstr &UseMI, in pushDepHeight() argument
934 if (!Dep.DefMI->isTransient()) in pushDepHeight()
935 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
936 Dep.UseOp); in pushDepHeight()
941 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight)); in pushDepHeight()
[all …]
DMachinePipeliner.cpp292 bool isBackedge(SUnit *Source, const SDep &Dep) { in isBackedge() argument
293 if (Dep.getKind() != SDep::Anti) in isBackedge()
295 return Source->getInstr()->isPHI() || Dep.getSUnit()->getInstr()->isPHI(); in isBackedge()
299 static bool isOrder(SUnit *Source, const SDep &Dep) { in isOrder() argument
300 if (Dep.getKind() != SDep::Order) in isOrder()
303 !Dep.getSUnit()->getInstr()->isPHI()); in isOrder()
306 bool isLoopCarriedOrder(SUnit *Source, const SDep &Dep, bool isSucc = true);
309 unsigned getLatency(SUnit *Source, const SDep &Dep) { in getLatency() argument
312 if (Dep.getKind() == SDep::Anti) { in getLatency()
314 return Dep.getSUnit()->Latency; in getLatency()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp320 SDep &Dep) const { in adjustSchedDependency()
333 Dep.setLatency(0); in adjustSchedDependency()
342 Dep.setLatency(0); in adjustSchedDependency()
360 Dep.setLatency((unsigned)DLatency); in adjustSchedDependency()
368 Dep.setLatency(0); in adjustSchedDependency()
372 updateLatency(*SrcInst, *DstInst, Dep); in adjustSchedDependency()
402 MachineInstr &DstInst, SDep &Dep) const { in updateLatency()
403 if (Dep.isArtificial()) { in updateLatency()
404 Dep.setLatency(1); in updateLatency()
415 Dep.setLatency((Dep.getLatency() + 1) >> 1); in updateLatency()
/external/dagger2/javatests/dagger/functional/assisted/subpackage/
DDep.java22 public final class Dep { class
24 Dep() {} in Dep() method in Dep
DAccessibleFoo.java25 public final Dep dep;
29 AccessibleFoo(Dep dep, @Assisted AssistedDep assistedDep) { in AccessibleFoo()
DInaccessibleFoo.java25 private final Dep dep;
29 InaccessibleFoo(Dep dep, @Assisted AssistedDep assistedDep) { in InaccessibleFoo()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp838 MemDepResult Dep; in getNonLocalCallDependency() local
841 Dep = in getNonLocalCallDependency()
846 Dep = MemDepResult::getNonLocal(); in getNonLocalCallDependency()
848 Dep = MemDepResult::getNonFuncLocal(); in getNonLocalCallDependency()
854 ExistingResult->setResult(Dep); in getNonLocalCallDependency()
856 Cache.push_back(NonLocalDepEntry(DirtyBB, Dep)); in getNonLocalCallDependency()
860 if (!Dep.isNonLocal()) { in getNonLocalCallDependency()
863 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
970 MemDepResult Dep = in GetNonLocalInfoForBlock() local
976 ExistingResult->setResult(Dep); in GetNonLocalInfoForBlock()
[all …]

12345