LLVM 20.0.0git
Namespaces | Macros | Functions
OMP.cpp File Reference
#include "llvm/Frontend/OpenMP/OMP.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Demangle/Demangle.h"
#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"
#include "llvm/Support/ErrorHandling.h"
#include <algorithm>
#include <cstdio>
#include <iterator>
#include <string>
#include <type_traits>
#include "llvm/Frontend/OpenMP/OMP.inc"

Go to the source code of this file.

Namespaces

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

Macros

#define GEN_DIRECTIVES_IMPL
 

Functions

static iterator_range< ArrayRef< Directive >::iterator > getFirstCompositeRange (iterator_range< ArrayRef< Directive >::iterator > Leafs)
 
ArrayRef< Directivellvm::omp::getLeafConstructs (Directive D)
 
ArrayRef< Directivellvm::omp::getLeafConstructsOrSelf (Directive D)
 
ArrayRef< Directivellvm::omp::getLeafOrCompositeConstructs (Directive D, SmallVectorImpl< Directive > &Output)
 
Directive llvm::omp::getCompoundConstruct (ArrayRef< Directive > Parts)
 
bool llvm::omp::isLeafConstruct (Directive D)
 
bool llvm::omp::isCompositeConstruct (Directive D)
 
bool llvm::omp::isCombinedConstruct (Directive D)
 
ArrayRef< unsignedllvm::omp::getOpenMPVersions ()
 
std::string llvm::omp::prettifyFunctionName (StringRef FunctionName)
 Create a nicer version of a function name for humans to look at.
 
std::string llvm::omp::deconstructOpenMPKernelName (StringRef KernelName, unsigned &LineNo)
 Deconstruct an OpenMP kernel name into the parent function name and the line number.
 

Macro Definition Documentation

◆ GEN_DIRECTIVES_IMPL

#define GEN_DIRECTIVES_IMPL

Definition at line 27 of file OMP.cpp.

Function Documentation

◆ getFirstCompositeRange()

static iterator_range< ArrayRef< Directive >::iterator > getFirstCompositeRange ( iterator_range< ArrayRef< Directive >::iterator >  Leafs)
static

Definition at line 31 of file OMP.cpp.

References End, List, and llvm::make_range().

Referenced by llvm::omp::getLeafOrCompositeConstructs(), and llvm::omp::isCompositeConstruct().