Skip to content

Commit b68824a

Browse files
committed
C#: Sync identical files.
1 parent 7948911 commit b68824a

File tree

4 files changed

+0
-35
lines changed

4 files changed

+0
-35
lines changed

csharp/ql/src/experimental/ir/implementation/raw/Instruction.qll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,13 +2125,6 @@ class ChiInstruction extends Instruction {
21252125
*/
21262126
final Instruction getPartial() { result = this.getPartialOperand().getDef() }
21272127

2128-
/**
2129-
* Gets the bit range `[startBit, endBit)` updated by the partial operand of this `ChiInstruction`, relative to the start address of the total operand.
2130-
*/
2131-
final predicate getUpdatedInterval(int startBit, int endBit) {
2132-
Construction::getIntervalUpdatedByChi(this, startBit, endBit)
2133-
}
2134-
21352128
/**
21362129
* Holds if the `ChiPartialOperand` totally, but not exactly, overlaps with the `ChiTotalOperand`.
21372130
* This means that the `ChiPartialOperand` will not override the entire memory associated with the

csharp/ql/src/experimental/ir/implementation/raw/internal/IRConstruction.qll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,6 @@ private module Cached {
216216
result = getMemoryOperandDefinition(instr, _, _)
217217
}
218218

219-
/**
220-
* Holds if the partial operand of this `ChiInstruction` updates the bit range
221-
* `[startBitOffset, endBitOffset)` of the total operand.
222-
*/
223-
cached
224-
predicate getIntervalUpdatedByChi(ChiInstruction chi, int startBit, int endBit) { none() }
225-
226219
/**
227220
* Holds if the operand totally overlaps with its definition and consumes the
228221
* bit range `[startBitOffset, endBitOffset)`.

csharp/ql/src/experimental/ir/implementation/unaliased_ssa/Instruction.qll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,13 +2125,6 @@ class ChiInstruction extends Instruction {
21252125
*/
21262126
final Instruction getPartial() { result = this.getPartialOperand().getDef() }
21272127

2128-
/**
2129-
* Gets the bit range `[startBit, endBit)` updated by the partial operand of this `ChiInstruction`, relative to the start address of the total operand.
2130-
*/
2131-
final predicate getUpdatedInterval(int startBit, int endBit) {
2132-
Construction::getIntervalUpdatedByChi(this, startBit, endBit)
2133-
}
2134-
21352128
/**
21362129
* Holds if the `ChiPartialOperand` totally, but not exactly, overlaps with the `ChiTotalOperand`.
21372130
* This means that the `ChiPartialOperand` will not override the entire memory associated with the

csharp/ql/src/experimental/ir/implementation/unaliased_ssa/internal/SSAConstruction.qll

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -233,20 +233,6 @@ private module Cached {
233233
)
234234
}
235235

236-
/**
237-
* Holds if the partial operand of this `ChiInstruction` updates the bit range
238-
* `[startBitOffset, endBitOffset)` of the total operand.
239-
*/
240-
cached
241-
predicate getIntervalUpdatedByChi(ChiInstruction chi, int startBitOffset, int endBitOffset) {
242-
exists(Alias::MemoryLocation location, OldInstruction oldInstruction |
243-
oldInstruction = getOldInstruction(chi.getPartial()) and
244-
location = Alias::getResultMemoryLocation(oldInstruction) and
245-
startBitOffset = Alias::getStartBitOffset(location) and
246-
endBitOffset = Alias::getEndBitOffset(location)
247-
)
248-
}
249-
250236
/**
251237
* Holds if `operand` totally overlaps with its definition and consumes the bit range
252238
* `[startBitOffset, endBitOffset)`.

0 commit comments

Comments
 (0)