Lines Matching defs:PointerToBase
1299 // post condition: PointerToBase contains one (derived, base) pair for every
1303 PointerToBaseTy &PointerToBase, DominatorTree *DT,
1309 PointerToBase[ptr] = base;
1322 PointerToBaseTy &PointerToBase,
1335 PointerToBase[V] = V;
1337 findBasePointers(PotentiallyDerivedPointers, PointerToBase, &DT, DVCache,
1346 PointerToBaseTy &PointerToBase,
1352 PointerToBaseTy &PointerToBase, GCStrategy *GC) {
1359 recomputeLiveInValues(RevisedLivenessData, toUpdate[i], info, PointerToBase,
1647 const PointerToBaseTy &PointerToBase,
1748 assert(PointerToBase.count(Derived));
1749 Base = PointerToBase.find(Derived)->second;
1938 const PointerToBaseTy &PointerToBase, GCStrategy *GC) {
1947 assert(PointerToBase.count(L));
1948 Value *Base = PointerToBase.find(L)->second;
1955 PointerToBase, GC);
2352 findRematerializationCandidates(PointerToBaseTy PointerToBase,
2357 for (auto P2B : PointerToBase) {
2376 if (RootOfChain != PointerToBase[Derived]) {
2378 PHINode *AlternateRootPhi = dyn_cast<PHINode>(PointerToBase[Derived]);
2416 PointerToBaseTy &PointerToBase) {
2497 Record.ChainToBase, UserI, Record.RootOfChain, PointerToBase[Cand]);
2499 PointerToBase[RematChain] = PointerToBase[Cand];
2511 R.LiveSet.contains(PointerToBase[Cand]));
2535 PointerToBaseTy &PointerToBase,
2571 Record.RootOfChain, PointerToBase[LiveValue]);
2583 Record.RootOfChain, PointerToBase[LiveValue]);
2586 Record.RootOfChain, PointerToBase[LiveValue]);
2704 PointerToBaseTy PointerToBase;
2709 findBasePointers(DT, DVCache, ToUpdate[i], info, PointerToBase, KnownBases);
2713 for (auto &Pair : PointerToBase) {
2742 assert(PointerToBase.count(Derived) && "Missed base for derived pointer");
2743 Bases.push_back(PointerToBase[Derived]);
2752 recomputeLiveInValues(F, DT, ToUpdate, Records, PointerToBase, GC.get());
2756 for (auto Pair : PointerToBase) {
2775 assert(PointerToBase.count(LiveV) && "Missed base for derived pointer");
2776 return isa<Constant>(PointerToBase[LiveV]);
2787 findRematerializationCandidates(PointerToBase, RematerizationCandidates, TTI);
2794 PointerToBase);
2796 rematerializeLiveValues(ToUpdate[i], Records[i], PointerToBase,
2812 PointerToBase, GC.get());
2832 PointerToBase.clear();
3364 PointerToBaseTy &PointerToBase,
3370 // to update the PointerToBase structure to reflect this.
3372 PointerToBase.insert({ V, V });