code: public List<Variable> getUsedVariables() {
          ArrayList<Variable> vars = new ArrayList<Variable>();
  
          for (Operand o : getOperands()) {
              o.addUsedVariables(vars);
          }
  
          return vars;
      }
docs: List of all variables used by this instruction.