C++: Add 'asIndirectInstruction' as a public predicate.

This commit is contained in:
Mathias Vorreiter Pedersen
2026-03-23 13:28:33 +00:00
parent 09caeca7e9
commit 1363c54a9f

View File

@@ -321,6 +321,12 @@ module Public {
*/
Operand asIndirectOperand(int index) { hasOperandAndIndex(this, result, index) }
/**
* Gets the instruction that is indirectly tracked by this node behind
* `index` number of indirections.
*/
Instruction asIndirectInstruction(int index) { hasInstructionAndIndex(this, result, index) }
/**
* Holds if this node is at index `i` in basic block `block`.
*