Lines Matching defs:ValueEntry
95 ValueEntry::ValueEntry (const Variable* variable)
155 for (vector<ValueEntry*>::iterator i = m_entries.begin(); i != m_entries.end(); i++)
160 ValueEntry* ValueScope::allocate (const Variable* variable)
162 ValueEntry* entry = new ValueEntry(variable);
183 bool operator== (const ValueEntry* entry) const
192 bool operator== (const ValueEntry* entry, const CompareEntryVariable& cmp)
197 ValueEntry* ValueScope::findEntry (const Variable* variable) const
199 vector<ValueEntry*>::const_iterator pos = std::find(m_entries.begin(), m_entries.end(), CompareEntryVariable(variable));
205 ValueEntry* entry = findEntry(variable);
215 vector<ValueEntry*>::iterator pos = std::find(m_entries.begin(), m_entries.end(), CompareEntryVariable(variable));
218 ValueEntry* entry = *pos;
252 ValueEntry* valueEntry = valueScope.allocate(variable);
255 m_entryCache.push_back(valueEntry);
304 std::vector<const ValueEntry*>::iterator pos = std::find(m_entryCache.begin(), m_entryCache.end(), CompareEntryVariable(variable));
321 const ValueEntry* VariableManager::getValue (const Variable* variable) const
323 vector<const ValueEntry*>::const_iterator pos = std::find(m_entryCache.begin(), m_entryCache.end(), CompareEntryVariable(variable));
330 std::vector<const ValueEntry*>::iterator pos = std::find(m_entryCache.begin(), m_entryCache.end(), CompareEntryVariable(variable));
338 const ValueEntry* VariableManager::getParentValue (const Variable* variable) const
346 ValueEntry* entry = scope->findEntry(variable);
362 ValueEntry* newEntry = curScope.allocate(variable);
363 std::vector<const ValueEntry*>::iterator cachePos = std::find(m_entryCache.begin(), m_entryCache.end(), CompareEntryVariable(variable));
444 map<const Variable*, const ValueEntry*> oldValues;
445 const vector<ValueEntry*>& oldEntries = oldScope.getValues();
447 for (vector<ValueEntry*>::const_iterator valueIter = oldEntries.begin(); valueIter != oldEntries.end(); valueIter++)
456 const vector<ValueEntry*>& valueEntries = scope->getValues();
458 for (vector<ValueEntry*>::const_iterator valueIter = valueEntries.begin(); valueIter != valueEntries.end(); valueIter++)
460 const ValueEntry* entry = *valueIter;
470 const ValueEntry* oldEntry = oldValues[var];
493 for (vector<ValueEntry*>::const_iterator valueIter = oldEntries.begin(); valueIter != oldEntries.end(); valueIter++)
495 const ValueEntry* oldEntry = *valueIter;