Lines Matching defs:idx
97 unsigned idx = ordinal - 1;
98 return localHistories[idx][getEntry(pc, idx)];
105 unsigned idx = ordinal - 1;
107 unsigned entry = getEntry(branch_pc, idx);
108 int64_t hist = (localHistories[idx][entry] << 1) + taken;
114 localHistories[idx][entry] = hist;
122 unsigned getEntry(Addr pc, unsigned idx)
124 return (pc ^ (pc >> shifts[idx])) & (localHistories[idx].size()-1);