clang 19.0.0git
Classes | Namespaces | Enumerations | Functions
SyncScope.h File Reference

Provides definitions for the atomic synchronization scopes. More...

#include "clang/Basic/LangOptions.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include <memory>

Go to the source code of this file.

Classes

class  clang::AtomicScopeModel
 Defines the interface for synch scope model. More...
 
class  clang::AtomicScopeOpenCLModel
 Defines the synch scope model for OpenCL. More...
 
class  clang::AtomicScopeHIPModel
 Defines the synch scope model for HIP. More...
 
class  clang::AtomicScopeGenericModel
 Defines the generic atomic scope model. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Enumerations

enum class  clang::SyncScope {
  clang::SystemScope , clang::DeviceScope , clang::WorkgroupScope , clang::WavefrontScope ,
  clang::SingleScope , clang::HIPSingleThread , clang::HIPWavefront , clang::HIPWorkgroup ,
  clang::HIPAgent , clang::HIPSystem , clang::OpenCLWorkGroup , clang::OpenCLDevice ,
  clang::OpenCLAllSVMDevices , clang::OpenCLSubGroup , clang::Last = OpenCLSubGroup
}
 Defines synch scope values used internally by clang. More...
 
enum class  clang::AtomicScopeModelKind { clang::None , clang::OpenCL , clang::HIP , clang::Generic }
 Defines the kind of atomic scope models. More...
 

Functions

llvm::StringRef clang::getAsString (SyncScope S)
 

Detailed Description

Provides definitions for the atomic synchronization scopes.

Definition in file SyncScope.h.