Lines Matching refs:POP
49 : Load(L), POP(P), InsertOrder(O) {} in LoadPOPPair()
51 PointerOffsetPair POP; member
98 PointerOffsetPair POP; in getPointerOffsetPair() local
99 POP.Pointer = LI.getPointerOperand(); in getPointerOffsetPair()
101 POP.Offset = APInt(BitWidth, 0); in getPointerOffsetPair()
103 while (isa<BitCastInst>(POP.Pointer) || isa<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair()
104 if (auto *GEP = dyn_cast<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair()
105 APInt LastOffset = POP.Offset; in getPointerOffsetPair()
106 if (!GEP->accumulateConstantOffset(DL, POP.Offset)) { in getPointerOffsetPair()
108 POP.Offset = LastOffset; in getPointerOffsetPair()
109 return POP; in getPointerOffsetPair()
111 POP.Pointer = GEP->getPointerOperand(); in getPointerOffsetPair()
112 } else if (auto *BC = dyn_cast<BitCastInst>(POP.Pointer)) { in getPointerOffsetPair()
113 POP.Pointer = BC->getOperand(0); in getPointerOffsetPair()
116 return POP; in getPointerOffsetPair()
127 return A.POP.Offset.slt(B.POP.Offset); in combineLoads()
150 PrevOffset = L.POP.Offset; in aggregateLoads()
160 if (L.POP.Offset.sgt(PrevEnd)) { in aggregateLoads()
168 if (L.POP.Offset != PrevEnd) in aggregateLoads()
172 PrevOffset = L.POP.Offset; in aggregateLoads()
196 dbgs() << L.POP.Offset << ": " << *L.Load << "\n"; in combineLoads()
208 FirstLP.POP.Pointer->getType()->getPointerAddressSpace(); in combineLoads()
212 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
214 Loads[0].POP.Offset.getSExtValue()); in combineLoads()
227 (L.POP.Offset - Loads[0].POP.Offset).getZExtValue(), "combine.extract"); in combineLoads()
264 auto POP = getPointerOffsetPair(*LI); in runOnBasicBlock() local
265 if (!POP.Pointer) in runOnBasicBlock()
267 LoadMap[POP.Pointer].push_back(LoadPOPPair(LI, POP, Index++)); in runOnBasicBlock()