mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
switch the load table to use a recycling bump pointer allocator,
speeding earlycse up by 6%. llvm-svn: 122733
This commit is contained in:
parent
d19ae32f2f
commit
e44a99ac89
@ -221,7 +221,10 @@ public:
|
||||
/// the current generation count. The current generation count is
|
||||
/// incremented after every possibly writing memory operation, which ensures
|
||||
/// that we only CSE loads with other loads that have no intervening store.
|
||||
typedef ScopedHashTable<Value*, std::pair<Value*, unsigned> > LoadHTType;
|
||||
typedef RecyclingAllocator<BumpPtrAllocator,
|
||||
ScopedHashTableVal<Value*, std::pair<Value*, unsigned> > > LoadMapAllocator;
|
||||
typedef ScopedHashTable<Value*, std::pair<Value*, unsigned>,
|
||||
DenseMapInfo<Value*>, LoadMapAllocator> LoadHTType;
|
||||
LoadHTType *AvailableLoads;
|
||||
|
||||
/// AvailableCalls - This scoped hash table contains the current values
|
||||
|
Loading…
Reference in New Issue
Block a user