@@ -291,12 +291,12 @@ class EarlyCSE {
291
291
// / after every possibly writing memory operation, which ensures that we only
292
292
// / CSE loads with other loads that have no intervening store.
293
293
struct LoadValue {
294
- Value *data ;
295
- unsigned generation ;
296
- int matchingId ;
297
- LoadValue () : data (nullptr ), generation (0 ), matchingId (-1 ) {}
298
- LoadValue (Value *data , unsigned generation , unsigned matchingId )
299
- : data(data ), generation(generation ), matchingId(matchingId ) {}
294
+ Value *Data ;
295
+ unsigned Generation ;
296
+ int MatchingId ;
297
+ LoadValue () : Data (nullptr ), Generation (0 ), MatchingId (-1 ) {}
298
+ LoadValue (Value *Data , unsigned Generation , unsigned MatchingId )
299
+ : Data(Data ), Generation(Generation ), MatchingId(MatchingId ) {}
300
300
};
301
301
typedef RecyclingAllocator<BumpPtrAllocator,
302
302
ScopedHashTableVal<Value *, LoadValue>>
@@ -568,12 +568,12 @@ bool EarlyCSE::processNode(DomTreeNode *Node) {
568
568
// If we have an available version of this load, and if it is the right
569
569
// generation, replace this instruction.
570
570
LoadValue InVal = AvailableLoads.lookup (MemInst.getPtr ());
571
- if (InVal.data != nullptr && InVal.generation == CurrentGeneration &&
572
- InVal.matchingId == MemInst.getMatchingId ()) {
573
- Value *Op = getOrCreateResult (InVal.data , Inst->getType ());
571
+ if (InVal.Data != nullptr && InVal.Generation == CurrentGeneration &&
572
+ InVal.MatchingId == MemInst.getMatchingId ()) {
573
+ Value *Op = getOrCreateResult (InVal.Data , Inst->getType ());
574
574
if (Op != nullptr ) {
575
575
DEBUG (dbgs () << " EarlyCSE CSE LOAD: " << *Inst
576
- << " to: " << *InVal.data << ' \n ' );
576
+ << " to: " << *InVal.Data << ' \n ' );
577
577
if (!Inst->use_empty ())
578
578
Inst->replaceAllUsesWith (Op);
579
579
Inst->eraseFromParent ();
0 commit comments