Home
last modified time | relevance | path

Searched refs:SDep (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/lib/CodeGen/
H A DScheduleDAGInstrs.cpp227 SDep::Kind Kind = MO.isUse() ? SDep::Anti : SDep::Output; in BuildSchedGraph()
274 const SDep& dep = SDep(SU, SDep::Data, LDataLatency, Reg); in BuildSchedGraph()
287 const SDep& dep = SDep(SU, SDep::Data, DataLatency, *Alias); in BuildSchedGraph()
322 ExitSU.addPred(SDep(SU, SDep::Order, Latency, in BuildSchedGraph()
367 I->second->addPred(SDep(SU, SDep::Order, /*Latency=*/0)); in BuildSchedGraph()
378 BarrierChain->addPred(SDep(SU, SDep::Order, /*Latency=*/0)); in BuildSchedGraph()
385 AliasChain->addPred(SDep(SU, SDep::Order, /*Latency=*/0)); in BuildSchedGraph()
391 I->second->addPred(SDep(SU, SDep::Order, /*Latency=*/0)); in BuildSchedGraph()
440 AliasChain->addPred(SDep(SU, SDep::Order, /*Latency=*/0)); in BuildSchedGraph()
474 I->second->addPred(SDep(SU, SDep::Order, /*Latency=*/0)); in BuildSchedGraph()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
43 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
47 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
56 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
60 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
64 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
84 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
96 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
104 DAG.addEdge(&FirstSU, SDep(&SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/lib/CodeGen/
H A DMacroFusion.cpp36 static bool isHazard(const SDep &Dep) { in isHazard()
37 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
44 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
48 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
57 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
61 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
65 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
85 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
97 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
105 DAG.addEdge(&FirstSU, SDep(&SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) { in isHazard()
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output; in isHazard()
40 for (const SDep &SI : SU.Preds) in getPredClusterSU()
58 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
62 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
83 for (SDep &SI : FirstSU.Succs) in fuseInstructionPair()
87 for (SDep &SI : SecondSU.Preds) in fuseInstructionPair()
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial)); in fuseInstructionPair()
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial)); in fuseInstructionPair()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/CodeGen/
H A DMacroFusion.cpp35 static bool isHazard(const SDep &Dep) {
36 return Dep.getKind() == SDep::Anti || Dep.getKind() == SDep::Output;
40 for (const SDep &SI : SU.Preds)
58 for (SDep &SI : FirstSU.Succs)
62 for (SDep &SI : SecondSU.Preds)
71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster)))
83 for (SDep &SI : FirstSU.Succs)
87 for (SDep &SI : SecondSU.Preds)
107 DAG.addEdge(SU, SDep(&SecondSU, SDep::Artificial));
119 DAG.addEdge(&FirstSU, SDep(SU, SDep::Artificial));
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp71 for (const SDep &Pred : SUb->Preds) { in buildCluster()
74 DAG->addEdge(ChainHead, SDep(PredSU, SDep::Artificial)); in buildCluster()
78 DAG->addEdge(SUb, SDep(SUa, SDep::Barrier)); in buildCluster()
80 DAG->addEdge(SUb, SDep(SUa, SDep::Cluster)); in buildCluster()
85 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies()
87 for (const SDep &Pred : SU.Preds) { in removeExportDependencies()
99 ToAdd.push_back(SDep(ExportPredSU, SDep::Barrier)); in removeExportDependencies()
104 for (SDep Pred : ToRemove) in removeExportDependencies()
106 for (SDep Pred : ToAdd) in removeExportDependencies()
130 SmallVector<SDep, 4> Succs(SU.Succs); in apply()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp71 for (const SDep &Pred : SUb->Preds) { in buildCluster()
74 DAG->addEdge(ChainHead, SDep(PredSU, SDep::Artificial)); in buildCluster()
78 DAG->addEdge(SUb, SDep(SUa, SDep::Barrier)); in buildCluster()
80 DAG->addEdge(SUb, SDep(SUa, SDep::Cluster)); in buildCluster()
85 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies()
87 for (const SDep &Pred : SU.Preds) { in removeExportDependencies()
99 ToAdd.push_back(SDep(ExportPredSU, SDep::Barrier)); in removeExportDependencies()
104 for (SDep Pred : ToRemove) in removeExportDependencies()
106 for (SDep Pred : ToAdd) in removeExportDependencies()
130 SmallVector<SDep, 4> Succs(SU.Succs); in apply()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp69 for (const SDep &Pred : SUb->Preds) { in buildCluster()
72 DAG->addEdge(ChainHead, SDep(PredSU, SDep::Artificial)); in buildCluster()
76 DAG->addEdge(SUb, SDep(SUa, SDep::Barrier)); in buildCluster()
78 DAG->addEdge(SUb, SDep(SUa, SDep::Cluster)); in buildCluster()
83 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies()
85 for (const SDep &Pred : SU.Preds) { in removeExportDependencies()
97 ToAdd.push_back(SDep(ExportPredSU, SDep::Barrier)); in removeExportDependencies()
102 for (SDep Pred : ToRemove) in removeExportDependencies()
104 for (SDep Pred : ToAdd) in removeExportDependencies()
128 SmallVector<SDep, 4> Succs(SU.Succs); in apply()
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp69 for (const SDep &Pred : SUb->Preds) { in buildCluster()
72 DAG->addEdge(ChainHead, SDep(PredSU, SDep::Artificial)); in buildCluster()
76 DAG->addEdge(SUb, SDep(SUa, SDep::Barrier)); in buildCluster()
78 DAG->addEdge(SUb, SDep(SUa, SDep::Cluster)); in buildCluster()
83 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies()
85 for (const SDep &Pred : SU.Preds) { in removeExportDependencies()
97 ToAdd.push_back(SDep(ExportPredSU, SDep::Barrier)); in removeExportDependencies()
102 for (SDep Pred : ToRemove) in removeExportDependencies()
104 for (SDep Pred : ToAdd) in removeExportDependencies()
128 SmallVector<SDep, 4> Succs(SU.Succs); in apply()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp69 for (const SDep &Pred : SUb->Preds) { in buildCluster()
72 DAG->addEdge(ChainHead, SDep(PredSU, SDep::Artificial)); in buildCluster()
76 DAG->addEdge(SUb, SDep(SUa, SDep::Barrier)); in buildCluster()
78 DAG->addEdge(SUb, SDep(SUa, SDep::Cluster)); in buildCluster()
83 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies()
85 for (const SDep &Pred : SU.Preds) { in removeExportDependencies()
97 ToAdd.push_back(SDep(ExportPredSU, SDep::Barrier)); in removeExportDependencies()
102 for (SDep Pred : ToRemove) in removeExportDependencies()
104 for (SDep Pred : ToAdd) in removeExportDependencies()
128 SmallVector<SDep, 4> Succs(SU.Succs); in apply()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp71 for (const SDep &Pred : SUb->Preds) { in buildCluster()
74 DAG->addEdge(ChainHead, SDep(PredSU, SDep::Artificial)); in buildCluster()
78 DAG->addEdge(SUb, SDep(SUa, SDep::Barrier)); in buildCluster()
80 DAG->addEdge(SUb, SDep(SUa, SDep::Cluster)); in buildCluster()
85 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies()
87 for (const SDep &Pred : SU.Preds) { in removeExportDependencies()
99 ToAdd.push_back(SDep(ExportPredSU, SDep::Barrier)); in removeExportDependencies()
104 for (SDep Pred : ToRemove) in removeExportDependencies()
106 for (SDep Pred : ToAdd) in removeExportDependencies()
130 SmallVector<SDep, 4> Succs(SU.Succs); in apply()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp69 for (const SDep &Pred : SUb->Preds) { in buildCluster()
72 DAG->addEdge(ChainHead, SDep(PredSU, SDep::Artificial)); in buildCluster()
76 DAG->addEdge(SUb, SDep(SUa, SDep::Barrier)); in buildCluster()
78 DAG->addEdge(SUb, SDep(SUa, SDep::Cluster)); in buildCluster()
83 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies()
85 for (const SDep &Pred : SU.Preds) { in removeExportDependencies()
97 ToAdd.push_back(SDep(ExportPredSU, SDep::Barrier)); in removeExportDependencies()
102 for (SDep Pred : ToRemove) in removeExportDependencies()
104 for (SDep Pred : ToAdd) in removeExportDependencies()
128 SmallVector<SDep, 4> Succs(SU.Succs); in apply()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp69 for (const SDep &Pred : SUb->Preds) { in buildCluster()
72 DAG->addEdge(ChainHead, SDep(PredSU, SDep::Artificial)); in buildCluster()
76 DAG->addEdge(SUb, SDep(SUa, SDep::Barrier)); in buildCluster()
78 DAG->addEdge(SUb, SDep(SUa, SDep::Cluster)); in buildCluster()
83 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies()
85 for (const SDep &Pred : SU.Preds) { in removeExportDependencies()
97 ToAdd.push_back(SDep(ExportPredSU, SDep::Barrier)); in removeExportDependencies()
102 for (SDep Pred : ToRemove) in removeExportDependencies()
104 for (SDep Pred : ToAdd) in removeExportDependencies()
128 SmallVector<SDep, 4> Succs(SU.Succs); in apply()
[all …]

12345678910>>...23