Lines Matching refs:Cand

102                                  const StoreToLoadForwardingCandidate &Cand) {  in operator <<()  argument
103 OS << *Cand.Store << " -->\n"; in operator <<()
104 OS.indent(2) << *Cand.Load << "\n"; in operator <<()
230 for (const auto &Cand : Candidates) { in removeDependencesFromMultipleStores() local
235 LoadToSingleCand.insert(std::make_pair(Cand.Load, &Cand)); in removeDependencesFromMultipleStores()
245 if (Cand.Store->getParent() == OtherCand->Store->getParent() && in removeDependencesFromMultipleStores()
246 Cand.isDependenceDistanceOfOne(PSE, L) && in removeDependencesFromMultipleStores()
249 if (getInstrIndex(OtherCand->Store) < getInstrIndex(Cand.Store)) in removeDependencesFromMultipleStores()
250 OtherCand = &Cand; in removeDependencesFromMultipleStores()
256 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &Cand) { in removeDependencesFromMultipleStores() argument
257 if (LoadToSingleCand[Cand.Load] != &Cand) { in removeDependencesFromMultipleStores()
258 DEBUG(dbgs() << "Removing from candidates: \n" << Cand in removeDependencesFromMultipleStores()
376 propagateStoredValueToLoadUsers(const StoreToLoadForwardingCandidate &Cand, in propagateStoredValueToLoadUsers() argument
394 Value *Ptr = Cand.Load->getPointerOperand(); in propagateStoredValueToLoadUsers()
404 PHI->addIncoming(Cand.Store->getOperand(0), L->getLoopLatch()); in propagateStoredValueToLoadUsers()
406 Cand.Load->replaceAllUsesWith(PHI); in propagateStoredValueToLoadUsers()
450 for (const StoreToLoadForwardingCandidate Cand : StoreToLoadDependences) { in processLoop() local
451 DEBUG(dbgs() << "Candidate " << Cand); in processLoop()
455 if (!doesStoreDominatesAllLatches(Cand.Store->getParent(), L, DT)) in processLoop()
461 if (isLoadConditional(Cand.Load, L)) in processLoop()
466 if (!Cand.isDependenceDistanceOfOne(PSE, L)) in processLoop()
473 Candidates.push_back(Cand); in processLoop()
515 for (const auto &Cand : Candidates) in processLoop() local
516 propagateStoredValueToLoadUsers(Cand, SEE); in processLoop()