Lines Matching refs:GV
38 bool isRSAllocation(const GlobalVariable &GV) { in isRSAllocation() argument
39 auto *PT = cast<PointerType>(GV.getType()); in isRSAllocation()
55 for (auto &GV : M.globals()) { in getRSAllocationInfo() local
56 if (GV.isDeclaration() || !isRSAllocation(GV)) in getRSAllocationInfo()
59 Allocs.push_back({'%' + GV.getName().str(), None, &GV, -1}); in getRSAllocationInfo()
78 auto *GV = A.GlobalVar; in getRSAllocAccesses() local
79 std::vector<User *> WorkList(GV->user_begin(), GV->user_end()); in getRSAllocAccesses()
89 if (It->second == GV) { in getRSAllocAccesses()
94 GV->print(errs()); in getRSAllocAccesses()
105 Mapping[U] = GV; in getRSAllocAccesses()
108 DEBUG(dbgs() << " -> " << GV->getName() << '\n'); in getRSAllocAccesses()