Lines Matching refs:Kernels
186 KernelSet &Kernels) in OMPInformationCache()
188 Kernels(Kernels) { in OMPInformationCache()
518 KernelSet &Kernels; member
877 if (!OMPInfoCache.Kernels.count(F)) in printKernels()
1420 if (OMPInfoCache.Kernels.empty()) in eliminateBarriers()
1442 for (Function *Kernel : OMPInfoCache.Kernels) { in eliminateBarriers()
2007 bool isKernel(Function &F) { return OMPInfoCache.Kernels.count(&F); } in isKernel()
3385 assert(OMPInfoCache.Kernels.count(Kernel) && "Expected kernel function!"); in changeToSPMDMode()
4943 KernelSet Kernels = getDeviceKernels(M); in run() local
4949 if (Kernels.contains(&F)) in run()
4972 if (!F.isDeclaration() && !Kernels.contains(&F) && IsCalled(F) && in run()
5003 OMPInformationCache InfoCache(M, AG, Allocator, /*CGSCC*/ Functions, Kernels); in run()
5023 if (!F.isDeclaration() && !Kernels.contains(&F) && in run()
5060 KernelSet Kernels = getDeviceKernels(M); in run() local
5077 /*CGSCC*/ Functions, Kernels); in run()
5137 KernelSet Kernels = getDeviceKernels(M); in runOnSCC() local
5156 /*CGSCC*/ Functions, Kernels); in runOnSCC()
5188 KernelSet Kernels; in getDeviceKernels() local
5191 return Kernels; in getDeviceKernels()
5207 Kernels.insert(KernelFn); in getDeviceKernels()
5210 return Kernels; in getDeviceKernels()