Lines Matching defs:entry
126 // Inform the entry its position
158 // Search for entry in the pc table
159 StrideEntry *entry = pcTable->findEntry(pc, is_secure);
161 if (entry != nullptr) {
163 int new_stride = pf_addr - entry->lastAddr;
164 bool stride_match = (new_stride == entry->stride);
166 // Adjust confidence for stride entry
168 if (entry->confidence < maxConf)
169 entry->confidence++;
171 if (entry->confidence > minConf)
172 entry->confidence--;
174 if (entry->confidence < threshConf)
175 entry->stride = new_stride;
181 entry->confidence);
183 entry->lastAddr = pf_addr;
186 if (entry->confidence < threshConf)
205 StrideEntry* entry = pcTable->findVictim(pc);
208 entry->invalidate();
209 replacementPolicy->invalidate(entry->replacementData);
211 // Insert new entry's data
212 entry->instAddr = pc;
213 entry->lastAddr = pf_addr;
214 entry->isSecure = is_secure;
215 entry->confidence = startConf;
216 replacementPolicy->reset(entry->replacementData);
236 for (auto& entry : entries[set]) {
237 possible_entries.push_back(&entry);
254 for (auto& entry : entries[set]) {
256 if ((entry.instAddr == pc) && (entry.isSecure == is_secure)) {
257 DPRINTF(HWPrefetch, "Lookup hit table[%d][%d].\n", entry.getSet(),
258 entry.getWay());
259 replacementPolicy->touch(entry.replacementData);
260 return &entry;