Lines Matching refs:CG
107 void getUsesOfLDSByFunction(const CallGraph &CG, Module &M, in getUsesOfLDSByFunction() argument
131 LDSUsesInfoTy getTransitiveUsesOfLDS(const CallGraph &CG, Module &M) { in getTransitiveUsesOfLDS() argument
135 getUsesOfLDSByFunction(CG, M, DirectMapKernel, DirectMapFunction); in getTransitiveUsesOfLDS()
158 for (const CallGraphNode::CallRecord &R : *CG[F]) { in getTransitiveUsesOfLDS()
195 for (const CallGraphNode::CallRecord &R : *CG[F]) { in getTransitiveUsesOfLDS()
222 for (const CallGraphNode::CallRecord &R : *CG[&Func]) { in getTransitiveUsesOfLDS()
232 SmallVector<Function *> WorkList = {CG[&Func]->getFunction()}; in getTransitiveUsesOfLDS()
238 for (const CallGraphNode::CallRecord &CallRecord : *CG[F]) { in getTransitiveUsesOfLDS()
299 void removeFnAttrFromReachable(CallGraph &CG, Function *KernelRoot, in removeFnAttrFromReachable() argument
304 SmallVector<Function *> WorkList = {CG[KernelRoot]->getFunction()}; in removeFnAttrFromReachable()
311 for (auto &CallRecord : *CG[F]) { in removeFnAttrFromReachable()
323 for (auto &ExternalCallRecord : *CG.getExternalCallingNode()) { in removeFnAttrFromReachable()