Instruction.get_operands()
Returns all of the instruction operands
get_operands() β List[Value]
The instruction consists of operands, which are typed as Value or Value-derived objects, such as Var, Call, etc.
Note that the function returns first-level operands; if the instruction has complex expressions, which on their own have operands, the function will not return those. Although the function can be used to get their operands as well when called on the value.
Query Example
Output
Last updated