| 142 | } |
| 143 | |
| 144 | void |
| 145 | VectorVariable::setVectorSize( |
| 146 | Variable *nElems, |
| 147 | Variable *inc, |
| 148 | Variable *off) |
| 149 | { |
| 150 | if (nElems == NULL) { |
| 151 | return; |
| 152 | } |
| 153 | nElems_ = nElems; |
| 154 | inc_ = inc; |
| 155 | off_ = off; |
| 156 | vectorPointer_ = name_; |
| 157 | if (off != NULL) { |
| 158 | vectorPointer_ += " + " + off_->name(); |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | std::string |
| 163 | Variable::flagsStr() const |