| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
| H A D | BottleneckAnalysis.cpp | 151 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 D | MacroFusion.cpp | 34 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 D | MachinePipeliner.cpp | 924 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 D | ScheduleDAGInstrs.cpp | 263 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 D | MachineTraceMetrics.cpp | 806 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 D | ScheduleDAG.cpp | 369 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 D | ImplicitNullChecks.cpp | 256 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 D | ScheduleDAG.h | 80 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 D | MachinePipeliner.h | 252 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 D | AArch64TargetParser.cpp | 171 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 D | MemoryDependenceAnalysis.cpp | 834 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 D | DAGDeltaAlgorithm.cpp | 186 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 D | LoopLoadElimination.cpp | 194 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 D | LoopDistribute.cpp | 632 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 D | OpenCLOptions.cpp | 129 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 D | AMDGPUSubtarget.cpp | 853 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 D | R600Packetizer.cpp | 190 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 D | HexagonSubtarget.cpp | 441 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 D | HexagonVLIWPacketizer.cpp | 936 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 D | Main.cpp | 90 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 D | DependencyScanningTool.cpp | 53 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 D | VectorUtils.h | 799 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 D | ScheduleDAGSDNodes.cpp | 510 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 D | XRayArgs.cpp | 228 for (const auto &Dep : ExtraDeps) { in addArgs() local 230 ExtraDepOpt += Dep; in addArgs()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateName.cpp | 116 TemplateName::TemplateName(DependentTemplateName *Dep) : Storage(Dep) {} in TemplateName() argument
|