clang 18.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...
 

Namespaces

namespace  clang
 

Enumerations

enum class  clang::SyncScope {
  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 }
 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.