Lines Matching refs:POP
46 : Load(L), POP(P), InsertOrder(O) {} in LoadPOPPair()
48 PointerOffsetPair POP; member
89 PointerOffsetPair POP; in getPointerOffsetPair() local
90 POP.Pointer = LI.getPointerOperand(); in getPointerOffsetPair()
91 POP.Offset = 0; in getPointerOffsetPair()
92 while (isa<BitCastInst>(POP.Pointer) || isa<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair()
93 if (auto *GEP = dyn_cast<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair()
98 POP.Offset += Offset.getZExtValue(); in getPointerOffsetPair()
101 return POP; in getPointerOffsetPair()
102 POP.Pointer = GEP->getPointerOperand(); in getPointerOffsetPair()
103 } else if (auto *BC = dyn_cast<BitCastInst>(POP.Pointer)) in getPointerOffsetPair()
104 POP.Pointer = BC->getOperand(0); in getPointerOffsetPair()
106 return POP; in getPointerOffsetPair()
117 return A.POP.Offset < B.POP.Offset; in combineLoads()
139 PrevOffset = L.POP.Offset; in aggregateLoads()
147 if (L.POP.Offset > PrevOffset + PrevSize) { in aggregateLoads()
155 if (L.POP.Offset != PrevOffset + PrevSize) in aggregateLoads()
159 PrevOffset = L.POP.Offset; in aggregateLoads()
183 dbgs() << L.POP.Offset << ": " << *L.Load << "\n"; in combineLoads()
195 FirstLP.POP.Pointer->getType()->getPointerAddressSpace(); in combineLoads()
199 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
201 Loads[0].POP.Offset); in combineLoads()
214 L.POP.Offset - Loads[0].POP.Offset, "combine.extract"); in combineLoads()
251 auto POP = getPointerOffsetPair(*LI); in runOnBasicBlock() local
252 if (!POP.Pointer) in runOnBasicBlock()
254 LoadMap[POP.Pointer].push_back(LoadPOPPair(LI, POP, Index++)); in runOnBasicBlock()