@@ -0,0 +1,1056 @@
+/*%0A * This file is released under terms of BSD license%0A * See LICENSE file for more information%0A */%0A%0Apackage cx2x.translator.transformation.claw.parallelize;%0A%0A/**%0A * Hold various information about the promotion of variable.%0A *%0A * @author clementval%0A */%0Apublic class PromotionInfo %7B%0A  private String _identifier;%0A  private int _baseDimension;%0A  private int _targetDimension;%0A%0A%0A  /**%0A   * Contructs a new PromotionInfo object with all its information.%0A   * @param id               Identifier of the promoted variable.%0A   * @param baseDimension    Number of dimensions before the promotion.%0A   * @param targetDimension  Number of dimensions after the promotion.%0A   */%0A  public PromotionInfo(String id, int baseDimension, int targetDimension)%7B%0A    _identifier = id;%0A    _baseDimension = baseDimension;%0A    _targetDimension = targetDimension;%0A  %7D%0A%0A  /**%0A   * Check whether the variable was a scalar before the promotion.%0A   * @return True if the variable was a scalar. False otherwise.%0A   */%0A  public boolean wasScalar()%7B%0A    return _baseDimension == 0;%0A  %7D%0A%0A%7D%0A

Add new class to hold promotion information