Lines Matching defs:Load
1 //===- LoopLoadElimination.cpp - Loop Load Elimination Pass ---------------===//
47 "Load Elimination"));
56 LoadInst *Load;
59 StoreToLoadForwardingCandidate(LoadInst *Load, StoreInst *Store)
60 : Load(Load), Store(Store) {}
65 Value *LoadPtr = Load->getPointerOperand();
75 auto &DL = Load->getParent()->getModule()->getDataLayout();
89 Value *getLoadPtr() const { return Load->getPointerOperand(); }
95 OS.indent(2) << *Cand.Load << "\n";
162 auto *Load = dyn_cast<LoadInst>(Destination);
163 if (!Load)
165 Candidates.emplace_front(Load, Store);
170 return LoadsWithUnknownDepedence.count(C.Load);
215 LoadToSingleCand.insert(std::make_pair(Cand.Load, &Cand));
237 if (LoadToSingleCand[Cand.Load] != &Cand) {
290 return getInstrIndex(A.Load) < getInstrIndex(B.Load);
292 ->Load;
374 Value *Ptr = Cand.Load->getPointerOperand();
386 Cand.Load->replaceAllUsesWith(PHI);
553 static const char LLE_name[] = "Loop Load Elimination";