Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.cpp151 const DependencyEdge::Dependency &DE = DepEdge.Dep; in dumpDependencyEdge()
241 uint64_t Cost = N.Cost + DepEdge.Dep.Cost; in propagateThroughEdges()
359 const DependencyEdge::Dependency &Dep = DE->Dep; in printCriticalSequence() local
363 if (Dep.Type == DependencyEdge::DT_REGISTER) { in printCriticalSequence()
368 } else if (Dep.Type == DependencyEdge::DT_MEMORY) { in printCriticalSequence()
404 if (DE.Dep.Type == DependencyEdge::DT_REGISTER) in dump()
410 if (DE.Dep.Type == DependencyEdge::DT_MEMORY) in dump()
416 if (DE.Dep.Type == DependencyEdge::DT_RESOURCE) in dump()
428 return DE.ToIID == To && DE.Dep.ResourceOrRegID == Dep.ResourceOrRegID; in addDependency()
432 It->Dep.Cost += Dep.Cost; in addDependency()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMacroFusion.cpp34 static bool isHazard(const SDep &Dep) { in isHazard() argument
35 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
192 for (SDep &Dep : AnchorSU.Preds) { in scheduleAdjacentImpl()
194 if (Dep.isWeak() || isHazard(Dep)) in scheduleAdjacentImpl()
197 SUnit &DepSU = *Dep.getSUnit(); in scheduleAdjacentImpl()
H A DMachinePipeliner.cpp924 I.addPred(Dep); in updatePhiDependences()
1010 LastSU->addPred(Dep); in changeDependences()
1586 Dep.setLatency(Lat); in swapAntiDependences()
2667 if ((Dep.getKind() != SDep::Order && Dep.getKind() != SDep::Output) || in isLoopCarriedDep()
2668 Dep.isArtificial() || Dep.getSUnit()->isBoundaryNode()) in isLoopCarriedDep()
2804 Worklist.push_back(Dep); in earliestCycleInChain()
2827 Worklist.push_back(Dep); in latestCycleInChain()
2877 DAG->getDistance(Dep.getSUnit(), SU, Dep) * II; in computeStart()
2885 DAG->getDistance(SU, Dep.getSUnit(), Dep) * II; in computeStart()
2901 DAG->getDistance(SU, Dep.getSUnit(), Dep) * II; in computeStart()
[all …]
H A DScheduleDAGInstrs.cpp263 SDep Dep; in addPhysRegDataDeps() local
283 Dep.setLatency(0); in addPhysRegDataDeps()
286 UseSU->addPred(Dep); in addPhysRegDataDeps()
323 Dep.setLatency( in addPhysRegDeps()
327 DefSU->addPred(Dep); in addPhysRegDeps()
457 UseSU->addPred(Dep); in addVRegDefDeps()
497 Dep.setLatency( in addVRegDefDeps()
499 DefSU->addPred(Dep); in addVRegDefDeps()
559 Dep.setLatency(Latency); in addChainDependency()
560 SUb->addPred(Dep); in addChainDependency()
[all …]
H A DMachineTraceMetrics.cpp806 for (const DataDep &Dep : Deps) { in updateDepth() local
808 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in updateDepth()
815 if (!Dep.DefMI->isTransient()) in updateDepth()
817 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in updateDepth()
967 if (!Dep.DefMI->isTransient()) in pushDepHeight()
968 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
1122 for (const DataDep &Dep : Deps) in computeInstrHeights() local
1124 addLiveIns(Dep.DefMI, Dep.DefOp, Stack); in computeInstrHeights()
1191 DataDep &Dep = Deps.front(); in getPHIDepth() local
1194 if (!Dep.DefMI->isTransient()) in getPHIDepth()
[all …]
H A DScheduleDAG.cpp369 for (const SDep &Dep : SU.Preds) { in dumpNodeAll() local
371 dumpNodeName(*Dep.getSUnit()); in dumpNodeAll()
373 Dep.dump(TRI); in dumpNodeAll()
379 for (const SDep &Dep : SU.Succs) { in dumpNodeAll() local
381 dumpNodeName(*Dep.getSUnit()); in dumpNodeAll()
383 Dep.dump(TRI); in dumpNodeAll()
H A DImplicitNullChecks.cpp256 std::optional<ArrayRef<MachineInstr *>::iterator> Dep; in computeDependence() local
262 if (Dep == std::nullopt) { in computeDependence()
264 Dep = I; in computeDependence()
271 return {true, Dep}; in computeDependence()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A 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()
483 inline void SDep::setSUnit(SUnit *SU) { Dep.setPointer(SU); } in setSUnit()
[all …]
H A DMachinePipeliner.h252 bool isBackedge(SUnit *Source, const SDep &Dep) { in isBackedge() argument
253 if (Dep.getKind() != SDep::Anti) in isBackedge()
255 return Source->getInstr()->isPHI() || Dep.getSUnit()->getInstr()->isPHI(); in isBackedge()
258 bool isLoopCarriedDep(SUnit *Source, const SDep &Dep, bool isSucc = true);
262 unsigned getDistance(SUnit *U, SUnit *V, const SDep &Dep) { in getDistance() argument
265 if (V->getInstr()->isPHI() && Dep.getKind() == SDep::Anti) in getDistance()
591 int earliestCycleInChain(const SDep &Dep);
595 int latestCycleInChain(const SDep &Dep);
/freebsd-14.2/contrib/llvm-project/llvm/lib/TargetParser/
H A DAArch64TargetParser.cpp171 for (auto Dep : ExtensionDependencies) in enable() local
172 if (E == Dep.Later) in enable()
173 enable(Dep.Earlier); in enable()
221 for (auto Dep : ExtensionDependencies) in disable() local
222 if (E == Dep.Earlier) in disable()
223 disable(Dep.Later); in disable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp834 MemDepResult Dep; in getNonLocalCallDependency() local
841 Dep = MemDepResult::getNonLocal(); in getNonLocalCallDependency()
849 ExistingResult->setResult(Dep); in getNonLocalCallDependency()
855 if (!Dep.isNonLocal()) { in getNonLocalCallDependency()
992 return Dep; in getNonLocalInfoForBlock()
997 ExistingResult->setResult(Dep); in getNonLocalInfoForBlock()
1004 if (!Dep.isLocal()) in getNonLocalInfoForBlock()
1005 return Dep; in getNonLocalInfoForBlock()
1009 Instruction *Inst = Dep.getInst(); in getNonLocalInfoForBlock()
1013 return Dep; in getNonLocalInfoForBlock()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DDAGDeltaAlgorithm.cpp186 for (const edge_ty &Dep : Dependencies) { in DAGDeltaAlgorithmImpl() local
187 Predecessors[Dep.second].push_back(Dep.first); in DAGDeltaAlgorithmImpl()
188 Successors[Dep.first].push_back(Dep.second); in DAGDeltaAlgorithmImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp194 for (const auto &Dep : *Deps) { in findStoreToLoadDependences()
195 Instruction *Source = Dep.getSource(LAI); in findStoreToLoadDependences()
196 Instruction *Destination = Dep.getDestination(LAI); in findStoreToLoadDependences()
198 if (Dep.Type == MemoryDepChecker::Dependence::Unknown || in findStoreToLoadDependences()
199 Dep.Type == MemoryDepChecker::Dependence::IndirectUnsafe) { in findStoreToLoadDependences()
207 if (Dep.isBackward()) in findStoreToLoadDependences()
213 assert(Dep.isForward() && "Needs to be a forward dependence"); in findStoreToLoadDependences()
H A DLoopDistribute.cpp632 for (const auto &Dep : Dependences) in MemoryInstructionDependences() local
633 if (Dep.isPossiblyBackward()) { in MemoryInstructionDependences()
637 ++Accesses[Dep.Source].NumUnsafeDependencesStartOrEnd; in MemoryInstructionDependences()
638 --Accesses[Dep.Destination].NumUnsafeDependencesStartOrEnd; in MemoryInstructionDependences()
640 LLVM_DEBUG(Dep.print(dbgs(), 2, Instructions)); in MemoryInstructionDependences()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DOpenCLOptions.cpp129 auto Dep = FeaturePair.second; in diagnoseUnsupportedFeatureDependencies() local
131 !TI.hasFeatureEnabled(OpenCLFeaturesMap, Dep)) { in diagnoseUnsupportedFeatureDependencies()
133 Diags.Report(diag::err_opencl_feature_requires) << Feature << Dep; in diagnoseUnsupportedFeatureDependencies()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp853 int UseOpIdx, SDep &Dep) const { in adjustSchedDependency()
854 if (Dep.getKind() != SDep::Kind::Data || !Dep.getReg() || in adjustSchedDependency()
863 auto Reg = Dep.getReg(); in adjustSchedDependency()
873 Dep.setLatency(Lat); in adjustSchedDependency()
876 auto Reg = Dep.getReg(); in adjustSchedDependency()
885 Dep.setLatency(Lat); in adjustSchedDependency()
886 } else if (Dep.getLatency() == 0 && Dep.getReg() == AMDGPU::VCC_LO) { in adjustSchedDependency()
891 Dep.setLatency(InstrInfo.getSchedModel().computeOperandLatency( in adjustSchedDependency()
H A DR600Packetizer.cpp190 const SDep &Dep = SUJ->Succs[i]; in isLegalToPacketizeTogether() local
191 if (Dep.getSUnit() != SUI) in isLegalToPacketizeTogether()
193 if (Dep.getKind() == SDep::Anti) in isLegalToPacketizeTogether()
195 if (Dep.getKind() == SDep::Output) in isLegalToPacketizeTogether()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.cpp441 SDep &Dep) const { in adjustSchedDependency()
454 Dep.setLatency(0); in adjustSchedDependency()
461 Dep.setLatency(0); in adjustSchedDependency()
499 Dep.setLatency(DLatency ? *DLatency : 0); in adjustSchedDependency()
507 Dep.setLatency(0); in adjustSchedDependency()
510 int Latency = Dep.getLatency(); in adjustSchedDependency()
511 bool IsArtificial = Dep.isArtificial(); in adjustSchedDependency()
513 Dep.setLatency(Latency); in adjustSchedDependency()
H A DHexagonVLIWPacketizer.cpp936 auto &Dep = PacketSU->Succs[i]; in restrictingDepExistInPacket() local
937 if (Dep.getSUnit() == PacketSUDep && Dep.getKind() == SDep::Anti && in restrictingDepExistInPacket()
938 Dep.getReg() == DepReg) in restrictingDepExistInPacket()
1000 auto Dep = PacketSU->Succs[i]; in arePredicatesComplements() local
1005 if (Dep.getSUnit() == SU && Dep.getKind() == SDep::Data && in arePredicatesComplements()
1006 Hexagon::PredRegsRegClass.contains(Dep.getReg())) { in arePredicatesComplements()
1012 if (restrictingDepExistInPacket(*I, Dep.getReg())) in arePredicatesComplements()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DMain.cpp90 for (const auto &Dep : Parser.getDependencies()) { in createDependencyFile() local
91 DepOut.os() << ' ' << Dep; in createDependencyFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp53 for (const auto &Dep : Dependencies) in printDependencies() local
54 addDependency(Dep); in printDependencies()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h799 for (auto Dep : *Deps) in collectDependences()
800 Dependences[Dep.getSource(*LAI)].insert(Dep.getDestination(*LAI)); in collectDependences()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp510 SDep Dep = isChain ? SDep(OpSU, SDep::Barrier) in AddSchedEdges() local
512 Dep.setLatency(OpLatency); in AddSchedEdges()
514 computeOperandLatency(OpN, N, i, Dep); in AddSchedEdges()
515 ST.adjustSchedDependency(OpSU, DefIdx, &SU, i, Dep); in AddSchedEdges()
518 if (!SU.addPred(Dep) && !Dep.isCtrl() && OpSU->NumRegDefsLeft > 1) { in AddSchedEdges()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DXRayArgs.cpp228 for (const auto &Dep : ExtraDeps) { in addArgs() local
230 ExtraDepOpt += Dep; in addArgs()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp116 TemplateName::TemplateName(DependentTemplateName *Dep) : Storage(Dep) {} in TemplateName() argument

12