1/* 2 * Copyright (c) 2011 Google 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 33 unchanged lines hidden (view full) --- 42{ 43 class Decoder; 44} 45 46namespace DecodeCache 47{ 48 49/// Hash for decoded instructions. |
50template <typename EMI> 51using InstMap = std::unordered_map<EMI, StaticInstPtr>; |
52 53/// A sparse map from an Addr to a Value, stored in page chunks. 54template<class Value> 55class AddrMap 56{ 57 protected: 58 // A pages worth of cache entries. 59 struct CachePage { --- 72 unchanged lines hidden --- |