Home
last modified time | relevance | path

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

123

/freebsd/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()
360 const DependencyEdge::Dependency &Dep = DE->Dep; in printCriticalSequence() local
364 if (Dep.Type == DependencyEdge::DT_REGISTER) { in printCriticalSequence()
368 getInstPrinter().printRegName(FOS, Dep.ResourceOrRegID); in printCriticalSequence()
369 } else if (Dep.Type == DependencyEdge::DT_MEMORY) { in printCriticalSequence()
372 assert(Dep.Type == DependencyEdge::DT_RESOURCE && in printCriticalSequence()
377 FOS << Tracker.resolveResourceName(Dep.ResourceOrRegID); in printCriticalSequence()
405 if (DE.Dep.Type == DependencyEdge::DT_REGISTER) in dump()
411 if (DE.Dep.Type == DependencyEdge::DT_MEMORY) in dump()
[all …]
/freebsd/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.cpp884 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
885 Dep.setLatency(1); in addLoopCarriedDependences()
886 SU.addPred(Dep); in addLoopCarriedDependences()
894 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
895 Dep.setLatency(1); in addLoopCarriedDependences()
896 SU.addPred(Dep); in addLoopCarriedDependences()
902 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
903 Dep.setLatency(1); in addLoopCarriedDependences()
904 SU.addPred(Dep); in addLoopCarriedDependences()
909 SDep Dep(Load, SDep::Barrier); in addLoopCarriedDependences() local
[all …]
H A DScheduleDAGInstrs.cpp263 SDep Dep; in addPhysRegDataDeps() local
265 Dep = SDep(SU, SDep::Artificial); in addPhysRegDataDeps()
277 Dep = SDep(SU, SDep::Data, UseReg); in addPhysRegDataDeps()
280 Dep.setLatency(SchedModel.computeOperandLatency(SU->getInstr(), OperIdx, in addPhysRegDataDeps()
283 Dep.setLatency(0); in addPhysRegDataDeps()
285 ST.adjustSchedDependency(SU, OperIdx, UseSU, UseOpIdx, Dep, &SchedModel); in addPhysRegDataDeps()
286 UseSU->addPred(Dep); in addPhysRegDataDeps()
321 SDep Dep(SU, Kind, DefMO.getReg()); in addPhysRegDeps() local
323 Dep.setLatency( in addPhysRegDeps()
326 ST.adjustSchedDependency(SU, OperIdx, DefSU, I->OpIdx, Dep, in addPhysRegDeps()
[all …]
H A DMachineTraceMetrics.cpp806 for (const DataDep &Dep : Deps) { in updateDepth() local
808 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in updateDepth()
813 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in updateDepth()
815 if (!Dep.DefMI->isTransient()) in updateDepth()
817 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in updateDepth()
962 static bool pushDepHeight(const DataDep &Dep, const MachineInstr &UseMI, in pushDepHeight() argument
967 if (!Dep.DefMI->isTransient()) in pushDepHeight()
968 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
969 Dep.UseOp); in pushDepHeight()
974 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight)); in pushDepHeight()
[all …]
H A DScheduleDAG.cpp371 for (const SDep &Dep : SU.Preds) { in dumpNodeAll() local
373 dumpNodeName(*Dep.getSUnit()); in dumpNodeAll()
375 Dep.dump(TRI); in dumpNodeAll()
381 for (const SDep &Dep : SU.Succs) { in dumpNodeAll() local
383 dumpNodeName(*Dep.getSUnit()); in dumpNodeAll()
385 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/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()
403 SDep Dep(SU, SDep::Barrier); in addPredBarrier()
406 Dep.setLatency(TrueMemOrderLatency); in addPredBarrier()
407 return addPred(Dep); in addPredBarrier()
484 if (Dep != Other.Dep) in overlaps()
486 switch (Dep.getInt()) { in overlaps()
498 inline SUnit *SDep::getSUnit() const { return Dep.getPointer(); } in getSUnit()
[all …]
H A DMachinePipeliner.h257 bool isBackedge(SUnit *Source, const SDep &Dep) { in isBackedge() argument
258 if (Dep.getKind() != SDep::Anti) in isBackedge()
260 return Source->getInstr()->isPHI() || Dep.getSUnit()->getInstr()->isPHI(); in isBackedge()
263 bool isLoopCarriedDep(SUnit *Source, const SDep &Dep, bool isSucc = true);
267 unsigned getDistance(SUnit *U, SUnit *V, const SDep &Dep) { in getDistance() argument
270 if (V->getInstr()->isPHI() && Dep.getKind() == SDep::Anti) in getDistance()
596 int earliestCycleInChain(const SDep &Dep);
600 int latestCycleInChain(const SDep &Dep);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchTree.cpp
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DAArch64TargetParser.cpp226 for (auto Dep : ExtensionDependencies) in enable() local
227 if (E == Dep.Later) in enable()
228 enable(Dep.Earlier); in enable()
265 for (auto Dep : ExtensionDependencies) in disable() local
266 if (E == Dep.Earlier) in disable()
267 disable(Dep.Later); in disable()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp834 MemDepResult Dep; in getNonLocalCallDependency() local
837 Dep = getCallDependencyFrom(QueryCall, isReadonlyCall, ScanPos, DirtyBB); in getNonLocalCallDependency()
841 Dep = MemDepResult::getNonLocal(); in getNonLocalCallDependency()
843 Dep = MemDepResult::getNonFuncLocal(); in getNonLocalCallDependency()
849 ExistingResult->setResult(Dep); in getNonLocalCallDependency()
851 Cache.push_back(NonLocalDepEntry(DirtyBB, Dep)); in getNonLocalCallDependency()
855 if (!Dep.isNonLocal()) { in getNonLocalCallDependency()
858 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
987 MemDepResult Dep = getPointerDependencyFrom(Loc, isLoad, ScanPos, BB, in getNonLocalInfoForBlock() local
992 return Dep; in getNonLocalInfoForBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMIRFormatter.cpp106 int64_t Dep; in parseSDelayAluImmMnemonic() local
107 if (!Src.consumeInteger(10, Dep)) in parseSDelayAluImmMnemonic()
108 return Dep + Offset; in parseSDelayAluImmMnemonic()
H A DAMDGPUSplitModule.cpp375 for (const auto *Dep : Dependencies) { in FunctionWithDependencies() local
376 TotalCost += FnCosts.at(Dep); in FunctionWithDependencies()
381 (Dep->hasExternalLinkage() || !Dep->isDefinitionExact()); in FunctionWithDependencies()
709 for (const auto *Dep : FWD.Dependencies) in splitAMDGPUModule() local
710 SortedDepNames.push_back(getName(*Dep)); in splitAMDGPUModule()
H A DAMDGPUSubtarget.cpp868 SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx, SDep &Dep, in adjustSchedDependency() argument
870 if (Dep.getKind() != SDep::Kind::Data || !Dep.getReg() || in adjustSchedDependency()
879 auto Reg = Dep.getReg(); in adjustSchedDependency()
889 Dep.setLatency(Lat); in adjustSchedDependency()
892 auto Reg = Dep.getReg(); in adjustSchedDependency()
901 Dep.setLatency(Lat); in adjustSchedDependency()
902 } else if (Dep.getLatency() == 0 && Dep.getReg() == AMDGPU::VCC_LO) { in adjustSchedDependency()
907 Dep.setLatency(InstrInfo.getSchedModel().computeOperandLatency( in adjustSchedDependency()
H A DR600Packetizer.cpp189 for (const SDep &Dep : SUJ->Succs) { in isLegalToPacketizeTogether() local
190 if (Dep.getSUnit() != SUI) in isLegalToPacketizeTogether()
192 if (Dep.getKind() == SDep::Anti) in isLegalToPacketizeTogether()
194 if (Dep.getKind() == SDep::Output) in isLegalToPacketizeTogether()
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp197 for (const auto &Dep : *Deps) { in findStoreToLoadDependences()
198 Instruction *Source = Dep.getSource(DepChecker); in findStoreToLoadDependences()
199 Instruction *Destination = Dep.getDestination(DepChecker); in findStoreToLoadDependences()
201 if (Dep.Type == MemoryDepChecker::Dependence::Unknown || in findStoreToLoadDependences()
202 Dep.Type == MemoryDepChecker::Dependence::IndirectUnsafe) { in findStoreToLoadDependences()
210 if (Dep.isBackward()) in findStoreToLoadDependences()
216 assert(Dep.isForward() && "Needs to be a forward dependence"); in findStoreToLoadDependences()
H A DLoopDistribute.cpp631 for (const auto &Dep : Dependences) in MemoryInstructionDependences() local
632 if (Dep.isPossiblyBackward()) { in MemoryInstructionDependences()
636 ++Accesses[Dep.Source].NumUnsafeDependencesStartOrEnd; in MemoryInstructionDependences()
637 --Accesses[Dep.Destination].NumUnsafeDependencesStartOrEnd; in MemoryInstructionDependences()
639 LLVM_DEBUG(Dep.print(dbgs(), 2, Instructions)); in MemoryInstructionDependences()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.cpp437 SUnit *Src, int SrcOpIdx, SUnit *Dst, int DstOpIdx, SDep &Dep, in adjustSchedDependency() argument
451 Dep.setLatency(0); in adjustSchedDependency()
458 Dep.setLatency(0); in adjustSchedDependency()
496 Dep.setLatency(DLatency ? *DLatency : 0); in adjustSchedDependency()
504 Dep.setLatency(0); in adjustSchedDependency()
507 int Latency = Dep.getLatency(); in adjustSchedDependency()
508 bool IsArtificial = Dep.isArtificial(); in adjustSchedDependency()
510 Dep.setLatency(Latency); in adjustSchedDependency()
H A DHexagonVLIWPacketizer.cpp937 auto &Dep = PacketSU->Succs[i]; in restrictingDepExistInPacket() local
938 if (Dep.getSUnit() == PacketSUDep && Dep.getKind() == SDep::Anti && in restrictingDepExistInPacket()
939 Dep.getReg() == DepReg) in restrictingDepExistInPacket()
1001 auto Dep = PacketSU->Succs[i]; in arePredicatesComplements() local
1006 if (Dep.getSUnit() == SU && Dep.getKind() == SDep::Data && in arePredicatesComplements()
1007 Hexagon::PredRegsRegClass.contains(Dep.getReg())) { in arePredicatesComplements()
1013 if (restrictingDepExistInPacket(*I, Dep.getReg())) in arePredicatesComplements()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Subtarget.cpp483 SUnit *Def, int DefOpIdx, SUnit *Use, int UseOpIdx, SDep &Dep, in adjustSchedDependency() argument
485 if (!SchedModel || Dep.getKind() != SDep::Kind::Data || !Dep.getReg() || in adjustSchedDependency()
517 Dep.setLatency( in adjustSchedDependency()
/freebsd/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/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCore.cpp1198 for (auto &Dep : Deps) in dump() local
1199 OS << Dep << " "; in dump()
2939 for (auto Dep : Deps) { in propagateExtraEmitDeps() local
2940 if (UserEDUDepsForJD.insert(Dep).second) { in propagateExtraEmitDeps()
2941 HandleNewDep(*UserEDU, *DepJD, Dep); in propagateExtraEmitDeps()
2951 UserEDUNewDepsForJD->insert(Dep); in propagateExtraEmitDeps()
3052 for (auto &Dep : Deps) in simplifyDepGroups() local
3053 NewDepsForJD.insert(NonOwningSymbolStringPtr(Dep)); in simplifyDepGroups()
3057 for (auto &Dep : Deps) { in simplifyDepGroups() local
3058 NonOwningSymbolStringPtr NonOwningDep(Dep); in simplifyDepGroups()
[all …]

123