diff options
| author | 2022-10-25 12:57:25 +0800 | |
|---|---|---|
| committer | 2022-10-25 12:57:25 +0800 | |
| commit | 165bce3c2d265760190ea848a064f0d6538710bb (patch) | |
| tree | 56a7e2f101a87c95ea09aeaacc46b5ce2229cd73 /src/shader_recompiler/frontend/ir/value.h | |
| parent | Merge pull request #8873 from vonchenplus/fix_legacy_location_error (diff) | |
| download | yuzu-165bce3c2d265760190ea848a064f0d6538710bb.tar.gz yuzu-165bce3c2d265760190ea848a064f0d6538710bb.tar.xz yuzu-165bce3c2d265760190ea848a064f0d6538710bb.zip | |
Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/value.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shader_recompiler/frontend/ir/value.h b/src/shader_recompiler/frontend/ir/value.h index 1a2e4ccb6..6a673ca05 100644 --- a/src/shader_recompiler/frontend/ir/value.h +++ b/src/shader_recompiler/frontend/ir/value.h | |||
| @@ -178,13 +178,9 @@ public: | |||
| 178 | 178 | ||
| 179 | /// Get a pointer to the block of a phi argument. | 179 | /// Get a pointer to the block of a phi argument. |
| 180 | [[nodiscard]] Block* PhiBlock(size_t index) const; | 180 | [[nodiscard]] Block* PhiBlock(size_t index) const; |
| 181 | |||
| 182 | /// Add phi operand to a phi instruction. | 181 | /// Add phi operand to a phi instruction. |
| 183 | void AddPhiOperand(Block* predecessor, const Value& value); | 182 | void AddPhiOperand(Block* predecessor, const Value& value); |
| 184 | 183 | ||
| 185 | // Erase the phi operand at the given index. | ||
| 186 | void ErasePhiOperand(size_t index); | ||
| 187 | |||
| 188 | /// Orders the Phi arguments from farthest away to nearest. | 184 | /// Orders the Phi arguments from farthest away to nearest. |
| 189 | void OrderPhiArgs(); | 185 | void OrderPhiArgs(); |
| 190 | 186 | ||