• Home
  • Raw
  • Download

Lines Matching refs:POP

43       : Load(L), POP(P), InsertOrder(O) {}  in LoadPOPPair()
46 PointerOffsetPair POP; member
93 PointerOffsetPair POP; in getPointerOffsetPair() local
94 POP.Pointer = LI.getPointerOperand(); in getPointerOffsetPair()
95 POP.Offset = 0; in getPointerOffsetPair()
96 while (isa<BitCastInst>(POP.Pointer) || isa<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair()
97 if (auto *GEP = dyn_cast<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair()
101 POP.Offset += Offset.getZExtValue(); in getPointerOffsetPair()
104 return POP; in getPointerOffsetPair()
105 POP.Pointer = GEP->getPointerOperand(); in getPointerOffsetPair()
106 } else if (auto *BC = dyn_cast<BitCastInst>(POP.Pointer)) in getPointerOffsetPair()
107 POP.Pointer = BC->getOperand(0); in getPointerOffsetPair()
109 return POP; in getPointerOffsetPair()
120 return A.POP.Offset < B.POP.Offset; in combineLoads()
142 PrevOffset = L.POP.Offset; in aggregateLoads()
149 if (L.POP.Offset > PrevOffset + PrevSize) { in aggregateLoads()
157 if (L.POP.Offset != PrevOffset + PrevSize) in aggregateLoads()
161 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()
214 L.POP.Offset - Loads[0].POP.Offset, "combine.extract"); in combineLoads()
247 auto POP = getPointerOffsetPair(*LI); in runOnBasicBlock() local
248 if (!POP.Pointer) in runOnBasicBlock()
250 LoadMap[POP.Pointer].push_back(LoadPOPPair(LI, POP, Index++)); in runOnBasicBlock()