LLVM 20.0.0git
Classes | Namespaces | Typedefs | Functions
OpenMPOpt.h File Reference
#include "llvm/Analysis/CGSCCPassManager.h"
#include "llvm/Analysis/LazyCallGraph.h"
#include "llvm/IR/PassManager.h"

Go to the source code of this file.

Classes

class  llvm::OpenMPOptPass
 OpenMP optimizations pass. More...
 
class  llvm::OpenMPOptCGSCCPass
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::omp
 

Typedefs

using llvm::omp::Kernel = Function *
 Summary of a kernel (=entry point for target offloading).
 
using llvm::omp::KernelSet = SetVector< Kernel >
 Set of kernels in the module.
 

Functions

bool llvm::omp::containsOpenMP (Module &M)
 Helper to determine if M contains OpenMP.
 
bool llvm::omp::isOpenMPDevice (Module &M)
 Helper to determine if M is a OpenMP target offloading device module.
 
bool llvm::omp::isOpenMPKernel (Function &Fn)
 Return true iff Fn is an OpenMP GPU kernel; Fn has the "kernel" attribute.
 
KernelSet llvm::omp::getDeviceKernels (Module &M)
 Get OpenMP device kernels in M.