Lines Matching refs:POP
47 : Load(L), POP(P), InsertOrder(O) {} in LoadPOPPair()
49 PointerOffsetPair POP; member
90 PointerOffsetPair POP; in getPointerOffsetPair() local
91 POP.Pointer = LI.getPointerOperand(); in getPointerOffsetPair()
92 POP.Offset = 0; in getPointerOffsetPair()
93 while (isa<BitCastInst>(POP.Pointer) || isa<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair()
94 if (auto *GEP = dyn_cast<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair()
99 POP.Offset += Offset.getZExtValue(); in getPointerOffsetPair()
102 return POP; in getPointerOffsetPair()
103 POP.Pointer = GEP->getPointerOperand(); in getPointerOffsetPair()
104 } else if (auto *BC = dyn_cast<BitCastInst>(POP.Pointer)) in getPointerOffsetPair()
105 POP.Pointer = BC->getOperand(0); in getPointerOffsetPair()
107 return POP; in getPointerOffsetPair()
118 return A.POP.Offset < B.POP.Offset; in combineLoads()
140 PrevOffset = L.POP.Offset; in aggregateLoads()
148 if (L.POP.Offset > PrevOffset + PrevSize) { in aggregateLoads()
156 if (L.POP.Offset != PrevOffset + PrevSize) in aggregateLoads()
160 PrevOffset = L.POP.Offset; in aggregateLoads()
184 dbgs() << L.POP.Offset << ": " << *L.Load << "\n"; in combineLoads()
196 FirstLP.POP.Pointer->getType()->getPointerAddressSpace(); in combineLoads()
200 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
202 Loads[0].POP.Offset); in combineLoads()
215 L.POP.Offset - Loads[0].POP.Offset, "combine.extract"); in combineLoads()
252 auto POP = getPointerOffsetPair(*LI); in runOnBasicBlock() local
253 if (!POP.Pointer) in runOnBasicBlock()
255 LoadMap[POP.Pointer].push_back(LoadPOPPair(LI, POP, Index++)); in runOnBasicBlock()