Skip to content

Commit a4456eb

Browse files
committed
C++: IR: Drop the aliased SSA
It is expensive, and has little benefit.
1 parent bd0d69f commit a4456eb

50 files changed

Lines changed: 10 additions & 8891 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cpp/ql/lib/semmle/code/cpp/ir/IR.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,4 @@
4242
* be represented as the `IRType` `uint4`, a four-byte unsigned integer.
4343
*/
4444

45-
// Most queries should operate on the aliased SSA IR, so that's what we expose
46-
// publicly as the "IR".
47-
import implementation.aliased_ssa.IR
45+
import implementation.unaliased_ssa.IR

cpp/ql/lib/semmle/code/cpp/ir/IRConsistency.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
* @id cpp/ir-consistency-check
66
*/
77

8-
import implementation.aliased_ssa.IRConsistency
8+
import implementation.unaliased_ssa.IRConsistency

cpp/ql/lib/semmle/code/cpp/ir/PrintIR.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
* @kind graph
66
*/
77

8-
import implementation.aliased_ssa.PrintIR
8+
import implementation.unaliased_ssa.PrintIR

cpp/ql/lib/semmle/code/cpp/ir/PrintIR.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
* to dump.
99
*/
1010

11-
import implementation.aliased_ssa.PrintIR
11+
import implementation.unaliased_ssa.PrintIR
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import implementation.aliased_ssa.gvn.ValueNumbering
1+
import implementation.unaliased_ssa.gvn.ValueNumbering

cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/IR.qll

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)