Lines Matching defs:tid
183 TAGEBase::btbUpdate(ThreadID tid, Addr branch_pc, BranchInfo* &bi)
186 ThreadHistory& tHist = threadHistory[tid];
225 TAGEBase::gindex(ThreadID tid, Addr pc, int bank) const
234 threadHistory[tid].computeIndices[bank].comp ^
235 F(threadHistory[tid].pathHist, hlen, bank);
243 TAGEBase::gtag(ThreadID tid, Addr pc, int bank) const
246 threadHistory[tid].computeTags[0][bank].comp ^
247 (threadHistory[tid].computeTags[1][bank].comp << 1);
335 TAGEBase::calculateIndicesAndTags(ThreadID tid, Addr branch_pc,
340 tableIndices[i] = gindex(tid, branch_pc, i);
342 tableTags[i] = gtag(tid, branch_pc, i);
355 TAGEBase::tagePredict(ThreadID tid, Addr branch_pc,
364 calculateIndicesAndTags(tid, pc, bi);
509 TAGEBase::condBranchUpdate(ThreadID tid, Addr branch_pc, bool taken,
583 TAGEBase::updateHistories(ThreadID tid, Addr branch_pc, bool taken,
590 ThreadHistory& tHist = threadHistory[tid];
619 assert(threadHistory[tid].gHist ==
620 &threadHistory[tid].globalHistory[threadHistory[tid].ptGhist]);
624 TAGEBase::squash(ThreadID tid, bool taken, TAGEBase::BranchInfo *bi,
632 ThreadHistory& tHist = threadHistory[tid];
704 TAGEBase::getGHR(ThreadID tid, BranchInfo *bi) const
710 assert(&(threadHistory[tid].globalHistory[gh_offset]) <
711 threadHistory[tid].globalHistory + histBufferSize);
712 val |= ((threadHistory[tid].globalHistory[gh_offset] & 0x1) << i);
795 TAGEBase::getPathHist(ThreadID tid) const
797 return threadHistory[tid].pathHist;