LLVM OpenMP 22.0.0git
kmp_atomic_cas.c File Reference
#include <stdio.h>
#include <stdbool.h>
#include <omp.h>
#include "../../src/kmp_platform.h"

Go to the source code of this file.

Typedefs

typedef voidident_t

Functions

bool __kmpc_atomic_bool_1_cas (ident_t *loc, int gtid, char *x, char e, char d)
bool __kmpc_atomic_bool_2_cas (ident_t *loc, int gtid, short *x, short e, short d)
bool __kmpc_atomic_bool_4_cas (ident_t *loc, int gtid, int *x, int e, int d)
bool __kmpc_atomic_bool_8_cas (ident_t *loc, int gtid, long long *x, long long e, long long d)
char __kmpc_atomic_val_1_cas (ident_t *loc, int gtid, char *x, char e, char d)
short __kmpc_atomic_val_2_cas (ident_t *loc, int gtid, short *x, short e, short d)
int __kmpc_atomic_val_4_cas (ident_t *loc, int gtid, int *x, int e, int d)
long long __kmpc_atomic_val_8_cas (ident_t *loc, int gtid, long long *x, long long e, long long d)
int main ()

Typedef Documentation

◆ ident_t

typedef void* ident_t

Definition at line 13 of file kmp_atomic_cas.c.

Function Documentation

◆ __kmpc_atomic_bool_1_cas()

bool __kmpc_atomic_bool_1_cas ( ident_t * loc,
int gtid,
char * x,
char e,
char d )
extern

References d, and loc.

Referenced by main().

◆ __kmpc_atomic_bool_2_cas()

bool __kmpc_atomic_bool_2_cas ( ident_t * loc,
int gtid,
short * x,
short e,
short d )
extern

References d, and loc.

Referenced by main().

◆ __kmpc_atomic_bool_4_cas()

bool __kmpc_atomic_bool_4_cas ( ident_t * loc,
int gtid,
int * x,
int e,
int d )
extern

References d, and loc.

Referenced by main().

◆ __kmpc_atomic_bool_8_cas()

bool __kmpc_atomic_bool_8_cas ( ident_t * loc,
int gtid,
long long * x,
long long e,
long long d )
extern

References d, and loc.

Referenced by main().

◆ __kmpc_atomic_val_1_cas()

char __kmpc_atomic_val_1_cas ( ident_t * loc,
int gtid,
char * x,
char e,
char d )
extern

References d, and loc.

Referenced by main().

◆ __kmpc_atomic_val_2_cas()

short __kmpc_atomic_val_2_cas ( ident_t * loc,
int gtid,
short * x,
short e,
short d )
extern

References d, and loc.

Referenced by main().

◆ __kmpc_atomic_val_4_cas()

int __kmpc_atomic_val_4_cas ( ident_t * loc,
int gtid,
int * x,
int e,
int d )
extern

References d, and loc.

Referenced by main().

◆ __kmpc_atomic_val_8_cas()

long long __kmpc_atomic_val_8_cas ( ident_t * loc,
int gtid,
long long * x,
long long e,
long long d )
extern

References d, and loc.

Referenced by main().

◆ main()